Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 184.1 kB / 17.4 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.446/1.446, allocations: 194.5 MB / 212.6 MB, free: 2.855 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001439/0.001439, allocations: 125.5 kB / 257.9 MB, free: 4.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1904/0.1904, allocations: 38.01 MB / 341.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.000392, allocations: 12 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09768, allocations: 53.23 MB / 458.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/0.4125, allocations: 96.42 MB / 0.5417 GB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4128, allocations: 99.02 kB / 0.5418 GB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.4544, allocations: 15.09 MB / 0.5565 GB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4544, allocations: 0 / 0.5565 GB, free: 1.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.4545, allocations: 12 kB / 0.5565 GB, free: 1.547 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001604/0.4561, allocations: 0.7082 MB / 0.5572 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4561, allocations: 12.03 kB / 0.5572 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.4567, allocations: 96.2 kB / 0.5573 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4578, allocations: 0.5492 MB / 0.5579 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.4578, allocations: 35.36 kB / 0.5579 GB, free: 188 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.4579, allocations: 34.69 kB / 0.5579 GB, free: 164 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009884/0.4589, allocations: 0.6705 MB / 0.5586 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.459, allocations: 11.94 kB / 0.5586 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.459, allocations: 14.19 kB / 0.5586 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.4592, allocations: 59.7 kB / 0.5587 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.4601, allocations: 0.6368 MB / 0.5593 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.4639, allocations: 2.549 MB / 0.5618 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.4644, allocations: 328.8 kB / 0.5621 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.4647, allocations: 238.8 kB / 0.5623 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4648, allocations: 4 kB / 0.5623 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4648, allocations: 37.62 kB / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.4648, allocations: 0 / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002138/0.4669, allocations: 1.419 MB / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.467, allocations: 81.11 kB / 0.5638 GB, free: 11.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.4673, allocations: 275.2 kB / 0.5641 GB, free: 10.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.4674, allocations: 33.08 kB / 0.5641 GB, free: 10.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4675, allocations: 233.3 kB / 0.5643 GB, free: 10.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4676, allocations: 153.9 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.4676, allocations: 10.38 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4678, allocations: 340.9 kB / 0.5648 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.4681, allocations: 213.9 kB / 0.565 GB, free: 9.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4684, allocations: 321.8 kB / 0.5653 GB, free: 9.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.4691, allocations: 0.5872 MB / 0.5659 GB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4692, allocations: 0 / 0.5659 GB, free: 9.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001218/0.4704, allocations: 0.7059 MB / 0.5666 GB, free: 8.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4704, allocations: 4 kB / 0.5666 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008499/0.4713, allocations: 0.529 MB / 0.5671 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.4717, allocations: 111.5 kB / 0.5672 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.472, allocations: 79.62 kB / 0.5673 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.4747, allocations: 3.016 MB / 0.5702 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.475, allocations: 30.47 kB / 0.5703 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.4751, allocations: 15.44 kB / 0.5703 GB, free: 5.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.4754, allocations: 216.4 kB / 0.5705 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.4754, allocations: 31.62 kB / 0.5705 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.4762, allocations: 0.5075 MB / 0.571 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.4762, allocations: 12 kB / 0.571 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4763, allocations: 7.938 kB / 0.571 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4763, allocations: 3.984 kB / 0.571 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.4778, allocations: 1.085 MB / 0.5721 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4778, allocations: 4 kB / 0.5721 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.4782, allocations: 75.75 kB / 0.5722 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.4782, allocations: 7.938 kB / 0.5722 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.4783, allocations: 7.875 kB / 0.5722 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4783, allocations: 3.984 kB / 0.5722 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4783, allocations: 0 / 0.5722 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/0.4792, allocations: 0.8271 MB / 0.573 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4794, allocations: 144.4 kB / 0.5731 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.4794, allocations: 11.48 kB / 0.5731 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4797, allocations: 23.84 kB / 0.5732 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.4797, allocations: 16.22 kB / 0.5732 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.4797, allocations: 23.86 kB / 0.5732 GB, free: 2.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.4799, allocations: 192.1 kB / 0.5734 GB, free: 2.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4799, allocations: 0 / 0.5734 GB, free: 2.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.4805, allocations: 139.5 kB / 0.5735 GB, free: 2.258 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.4807, allocations: 142.9 kB / 0.5737 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.4817, allocations: 0.7621 MB / 0.5744 GB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4818, allocations: 0 / 0.5744 GB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.482, allocations: 245.2 kB / 0.5746 GB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.4826, allocations: 72.2 kB / 0.5747 GB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.4844, allocations: 1.365 MB / 0.576 GB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.4849, allocations: 0.8814 MB / 0.5769 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.4852, allocations: 99.19 kB / 0.577 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.4853, allocations: 31.44 kB / 0.577 GB, free: 14.95 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4853, allocations: 0 / 0.577 GB, free: 14.95 MB / 394.7 MB Notification: Performance of Templates: time 0.00831/0.4936, allocations: 4.173 MB / 0.5811 GB, free: 10.79 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)