Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") [: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.001319/0.001319, allocations: 189.9 kB / 7.843 MB, free: 2.492 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.421/1.421, allocations: 221.4 MB / 229.7 MB, free: 2.973 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.001014/0.001014, allocations: 97.58 kB / 280.5 MB, free: 1.195 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05009/0.05009, allocations: 8.093 MB / 339.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.114e-06, allocations: 0 / 397.9 MB, free: 67.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 52.52 MB / 450.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4656, allocations: 81.37 MB / 0.5193 GB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4659, allocations: 74.38 kB / 0.5194 GB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09779/0.5637, allocations: 38.06 MB / 0.5566 GB, free: 13.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.194e-05/0.5638, allocations: 24 kB / 0.5566 GB, free: 13.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.009411/0.5732, allocations: 2.261 MB / 0.5588 GB, free: 11.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.5733, allocations: 15.97 kB / 0.5588 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5744, allocations: 158.3 kB / 0.559 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.5766, allocations: 0.8231 MB / 0.5598 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.5768, allocations: 271.5 kB / 0.56 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.5772, allocations: 56 kB / 0.5601 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003215/0.5804, allocations: 1.64 MB / 0.5617 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.5836, allocations: 1.616 MB / 0.5633 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5837, allocations: 4 kB / 0.5633 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.5839, allocations: 11.98 kB / 0.5633 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.5839, allocations: 24 kB / 0.5633 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.596, allocations: 7.255 MB / 0.5704 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.5986, allocations: 1.681 MB / 0.572 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.6002, allocations: 1.103 MB / 0.5731 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.6005, allocations: 118.4 kB / 0.5732 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/0.6025, allocations: 1.206 MB / 0.5744 GB, free: 10.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 3.888e-06/0.6025, allocations: 0 / 0.5744 GB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.006431/0.609, allocations: 2.968 MB / 0.5773 GB, free: 7.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.6091, allocations: 120.1 kB / 0.5774 GB, free: 7.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.61, allocations: 0.5508 MB / 0.578 GB, free: 7.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.6102, allocations: 37.69 kB / 0.578 GB, free: 7.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.6105, allocations: 321 kB / 0.5783 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005029/0.6111, allocations: 0.5157 MB / 0.5788 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6112, allocations: 3.938 kB / 0.5788 GB, free: 6.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6113, allocations: 361.9 kB / 0.5792 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.6129, allocations: 0.9374 MB / 0.5801 GB, free: 4.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.6144, allocations: 1.058 MB / 0.5811 GB, free: 3.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.6172, allocations: 1.091 MB / 0.5822 GB, free: 2.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.6172, allocations: 0 / 0.5822 GB, free: 2.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008382/0.6256, allocations: 3.439 MB / 0.5855 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6256, allocations: 4 kB / 0.5855 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6257, allocations: 0 / 0.5855 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/0.6381, allocations: 3.046 MB / 0.5885 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6392, allocations: 179.7 kB / 0.5887 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.6471, allocations: 3.661 MB / 0.5922 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.6491, allocations: 118.8 kB / 0.5924 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003538/0.6495, allocations: 55.97 kB / 0.5924 GB, free: 8.246 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder2.load4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder2.load2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real feeder1.load2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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 {28 56} Notification: Performance of prepare postOptimizeDAE: time 0.0007246/0.6502, allocations: 157.4 kB / 0.5926 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/0.6508, allocations: 122.6 kB / 0.5927 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007067/0.6579, allocations: 3.271 MB / 0.5959 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.6579, allocations: 20 kB / 0.5959 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6579, allocations: 0 / 0.5959 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.6579, allocations: 7.969 kB / 0.5959 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.6611, allocations: 2.278 MB / 0.5981 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6611, allocations: 3.938 kB / 0.5981 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.6618, allocations: 143.8 kB / 0.5983 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/0.6742, allocations: 3.078 MB / 0.6013 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004309/0.6747, allocations: 11.98 kB / 0.6013 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00725/0.6819, allocations: 3.697 MB / 0.6049 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.682, allocations: 3.938 kB / 0.6049 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006314/0.6883, allocations: 3.07 MB / 0.6079 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.6888, allocations: 219.2 kB / 0.6081 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.6891, allocations: 4 kB / 0.6081 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.6907, allocations: 119.8 kB / 0.6082 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.691, allocations: 113.8 kB / 0.6083 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/0.6913, allocations: 63.97 kB / 0.6084 GB, free: 7.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007566/0.692, allocations: 423.2 kB / 0.6088 GB, free: 7.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/0.6934, allocations: 371.5 kB / 0.6092 GB, free: 6.969 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {28 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004176/0.6938, allocations: 140.7 kB / 0.6093 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00684/0.7007, allocations: 2.648 MB / 0.6119 GB, free: 4.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.7007, allocations: 5.938 kB / 0.6119 GB, free: 4.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004713/0.7054, allocations: 1.564 MB / 0.6134 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.7065, allocations: 97.77 kB / 0.6135 GB, free: 2.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.7116, allocations: 1.776 MB / 0.6152 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.7128, allocations: 1.221 MB / 0.6164 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7128, allocations: 0 / 0.6164 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Templates: time 0.04591/0.7587, allocations: 28.64 MB / 0.6444 GB, free: 2.902 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)