Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") [: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.001103/0.001103, allocations: 197.9 kB / 7.848 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.393/1.393, allocations: 221.4 MB / 229.7 MB, free: 3.023 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.001019/0.00102, allocations: 101.3 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04458/0.04459, allocations: 8.097 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.301e-06/6.442e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09185, allocations: 52.51 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/0.4326, allocations: 81 MB / 0.519 GB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4329, allocations: 67.91 kB / 0.519 GB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09066/0.5236, allocations: 35.27 MB / 0.5535 GB, free: 1.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.709e-05/0.5237, allocations: 24 kB / 0.5535 GB, free: 0.9961 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.007433/0.5312, allocations: 1.98 MB / 0.5554 GB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5312, allocations: 11.97 kB / 0.5554 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.5318, allocations: 134.5 kB / 0.5556 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.5333, allocations: 0.7489 MB / 0.5563 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.5333, allocations: 32 kB / 0.5563 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.5335, allocations: 51.94 kB / 0.5564 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002649/0.5362, allocations: 1.406 MB / 0.5578 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.5388, allocations: 1.374 MB / 0.5591 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5388, allocations: 0 / 0.5591 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.5389, allocations: 4 kB / 0.5591 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.539, allocations: 20 kB / 0.5591 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009971/0.549, allocations: 6.308 MB / 0.5653 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.5514, allocations: 1.572 MB / 0.5668 GB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.553, allocations: 1.02 MB / 0.5678 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.5534, allocations: 126.3 kB / 0.5679 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.5535, allocations: 56.11 kB / 0.568 GB, free: 1.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.648e-06/0.5535, allocations: 0 / 0.568 GB, free: 1.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.0121/0.5656, allocations: 3.656 MB / 0.5716 GB, free: 13.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.5657, allocations: 124.1 kB / 0.5717 GB, free: 13.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.5667, allocations: 0.5 MB / 0.5722 GB, free: 13.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.5669, allocations: 29.7 kB / 0.5722 GB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.5671, allocations: 241.7 kB / 0.5724 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/0.5677, allocations: 484.5 kB / 0.5729 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5679, allocations: 0 / 0.5729 GB, free: 12.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.568, allocations: 349.9 kB / 0.5732 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.5693, allocations: 0.7916 MB / 0.574 GB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.5707, allocations: 0.8772 MB / 0.5748 GB, free: 10.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.5734, allocations: 0.9706 MB / 0.5758 GB, free: 9.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5734, allocations: 0 / 0.5758 GB, free: 9.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01205/0.5855, allocations: 3.715 MB / 0.5794 GB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5855, allocations: 8 kB / 0.5794 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5856, allocations: 0 / 0.5794 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5966, allocations: 2.345 MB / 0.5817 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.5974, allocations: 151.8 kB / 0.5819 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.6208, allocations: 10.37 MB / 0.592 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6224, allocations: 71.02 kB / 0.5921 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/0.6227, allocations: 43.97 kB / 0.5921 GB, free: 8.637 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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 48} Notification: Performance of prepare postOptimizeDAE: time 0.0006391/0.6234, allocations: 134.9 kB / 0.5922 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.6239, allocations: 114.7 kB / 0.5923 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.6369, allocations: 4.016 MB / 0.5963 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.637, allocations: 16 kB / 0.5963 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.637, allocations: 0 / 0.5963 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.637, allocations: 7.969 kB / 0.5963 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6402, allocations: 1.935 MB / 0.5982 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.6403, allocations: 4 kB / 0.5982 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/0.641, allocations: 175.7 kB / 0.5983 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/0.6522, allocations: 2.345 MB / 0.6006 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003835/0.6526, allocations: 19.98 kB / 0.6007 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/0.6751, allocations: 10.36 MB / 0.6108 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.6751, allocations: 7.906 kB / 0.6108 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01219/0.6873, allocations: 3.882 MB / 0.6146 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.6879, allocations: 203.4 kB / 0.6148 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.6884, allocations: 7.938 kB / 0.6148 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.6898, allocations: 75.92 kB / 0.6148 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.6901, allocations: 93.77 kB / 0.6149 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.6903, allocations: 47.98 kB / 0.615 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006412/0.6909, allocations: 407.1 kB / 0.6154 GB, free: 0.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001776/0.6927, allocations: 451.6 kB / 0.6158 GB, free: 144 kB / 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 (104): * Single equations (assignments): 103 * 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 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003612/0.6931, allocations: 119.8 kB / 0.6159 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006704/0.6998, allocations: 2.63 MB / 0.6185 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.6998, allocations: 0.6562 kB / 0.6185 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004972/0.7048, allocations: 1.74 MB / 0.6202 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.7058, allocations: 92.27 kB / 0.6203 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.711, allocations: 1.652 MB / 0.6219 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.7121, allocations: 1.168 MB / 0.623 GB, free: 8.648 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7121, allocations: 0 / 0.623 GB, free: 8.648 MB / 442.7 MB Notification: Performance of Templates: time 0.2115/0.9236, allocations: 35.47 MB / 0.6577 GB, free: 189.2 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)