Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 192.6 kB / 7.842 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.4 MB / 229.7 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.000991, allocations: 88.84 kB / 280.5 MB, free: 1.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0528/0.0528, allocations: 8.099 MB / 339.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/1.025e-05, allocations: 4 kB / 397.9 MB, free: 68.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 52.51 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4676, allocations: 81.19 MB / 0.5192 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4679, allocations: 66.84 kB / 0.5192 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09001/0.5579, allocations: 32.58 MB / 0.551 GB, free: 3.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.152e-05/0.558, allocations: 20 kB / 0.551 GB, free: 3.578 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01094/0.569, allocations: 1.937 MB / 0.5529 GB, free: 1.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.569, allocations: 15.95 kB / 0.553 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.5697, allocations: 134.4 kB / 0.5531 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.5716, allocations: 0.6512 MB / 0.5537 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.5717, allocations: 31.98 kB / 0.5537 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.572, allocations: 47.98 kB / 0.5538 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003281/0.5753, allocations: 1.215 MB / 0.555 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.5785, allocations: 1.209 MB / 0.5562 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.5785, allocations: 0 / 0.5562 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.5787, allocations: 3.906 kB / 0.5562 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.5788, allocations: 20 kB / 0.5562 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.5912, allocations: 5.443 MB / 0.5615 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.5943, allocations: 1.435 MB / 0.5629 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.5964, allocations: 0.9147 MB / 0.5638 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.5968, allocations: 110.4 kB / 0.5639 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/0.5969, allocations: 56.11 kB / 0.564 GB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 5.551e-06/0.5969, allocations: 0 / 0.564 GB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.01393/0.6108, allocations: 3.375 MB / 0.5672 GB, free: 2.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.6109, allocations: 120.1 kB / 0.5674 GB, free: 2.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.6118, allocations: 487.9 kB / 0.5678 GB, free: 1.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.6121, allocations: 25.7 kB / 0.5679 GB, free: 1.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.6122, allocations: 225.7 kB / 0.5681 GB, free: 1.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006295/0.6129, allocations: 472.8 kB / 0.5685 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.613, allocations: 3.938 kB / 0.5685 GB, free: 1.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6132, allocations: 353.8 kB / 0.5689 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6144, allocations: 0.694 MB / 0.5695 GB, free: 15.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.6158, allocations: 0.7757 MB / 0.5703 GB, free: 15.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.6183, allocations: 0.8612 MB / 0.5711 GB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6183, allocations: 0 / 0.5711 GB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01149/0.6298, allocations: 3.414 MB / 0.5745 GB, free: 10.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.6299, allocations: 10.97 kB / 0.5745 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6299, allocations: 0 / 0.5745 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.6408, allocations: 2.197 MB / 0.5766 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.6418, allocations: 151.8 kB / 0.5768 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.6634, allocations: 8.988 MB / 0.5855 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6646, allocations: 67.11 kB / 0.5856 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.6649, allocations: 43.97 kB / 0.5857 GB, free: 15.32 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load5.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0005041/0.6655, allocations: 120.8 kB / 0.5858 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.6659, allocations: 114.7 kB / 0.5859 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.6778, allocations: 3.719 MB / 0.5895 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.6779, allocations: 16 kB / 0.5895 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6779, allocations: 4 kB / 0.5895 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.729e-05/0.678, allocations: 11.95 kB / 0.5895 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.6808, allocations: 1.587 MB / 0.5911 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6809, allocations: 0 / 0.5911 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.6816, allocations: 179.7 kB / 0.5913 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/0.6922, allocations: 2.197 MB / 0.5934 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002947/0.6926, allocations: 7.984 kB / 0.5934 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/0.7136, allocations: 8.968 MB / 0.6022 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.7137, allocations: 0 / 0.6022 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01162/0.7253, allocations: 3.574 MB / 0.6057 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.7258, allocations: 203.4 kB / 0.6059 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.7261, allocations: 0 / 0.6059 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.7274, allocations: 75.92 kB / 0.6059 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.7276, allocations: 89.8 kB / 0.606 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.7278, allocations: 51.97 kB / 0.6061 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006087/0.7284, allocations: 383.1 kB / 0.6064 GB, free: 9.801 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001809/0.7302, allocations: 435.7 kB / 0.6068 GB, free: 9.375 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003806/0.7306, allocations: 127.8 kB / 0.607 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006106/0.7367, allocations: 2.392 MB / 0.6093 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7368, allocations: 0.6562 kB / 0.6093 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/0.7411, allocations: 1.599 MB / 0.6109 GB, free: 5.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.7418, allocations: 86.89 kB / 0.6109 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.7459, allocations: 1.496 MB / 0.6124 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/0.7469, allocations: 1.168 MB / 0.6136 GB, free: 2.418 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.7469, allocations: 0 / 0.6136 GB, free: 2.418 MB / 426.7 MB Notification: Performance of Templates: time 0.04941/0.7963, allocations: 31.77 MB / 0.6446 GB, free: 2.75 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)