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.00102/0.001021, allocations: 182.3 kB / 13.64 MB, free: 1.676 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.46/1.46, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001808/0.001808, allocations: 112.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1555/0.1555, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.722e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 53.22 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.8128, allocations: 96.3 MB / 0.5342 GB, free: 32.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.8132, allocations: 85.58 kB / 0.5343 GB, free: 32.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0468/0.86, allocations: 15.09 MB / 0.549 GB, free: 30.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.86, allocations: 0 / 0.549 GB, free: 30.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.8601, allocations: 7.812 kB / 0.5491 GB, free: 30.58 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001237/0.8613, allocations: 0.6712 MB / 0.5497 GB, free: 30.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.8614, allocations: 8.781 kB / 0.5497 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.862, allocations: 91.92 kB / 0.5498 GB, free: 30.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.8639, allocations: 0.862 MB / 0.5506 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.864, allocations: 20.23 kB / 0.5507 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.8641, allocations: 41.38 kB / 0.5507 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.865, allocations: 0.6637 MB / 0.5514 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.865, allocations: 0 / 0.5514 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.8651, allocations: 14.97 kB / 0.5514 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.8652, allocations: 63.77 kB / 0.5514 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.866, allocations: 0.6244 MB / 0.552 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.8688, allocations: 2.554 MB / 0.5545 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.8692, allocations: 321.2 kB / 0.5548 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.8694, allocations: 239.1 kB / 0.5551 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.8695, allocations: 6.25 kB / 0.5551 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.8695, allocations: 34 kB / 0.5551 GB, free: 28.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.8695, allocations: 7.906 kB / 0.5551 GB, free: 28.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001543/0.8711, allocations: 1.21 MB / 0.5563 GB, free: 27.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.8711, allocations: 84.98 kB / 0.5564 GB, free: 27.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.8713, allocations: 246.1 kB / 0.5566 GB, free: 27.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.8714, allocations: 29.64 kB / 0.5566 GB, free: 27.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.8715, allocations: 243.7 kB / 0.5569 GB, free: 27.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.8716, allocations: 157.5 kB / 0.557 GB, free: 27.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.8716, allocations: 3.812 kB / 0.557 GB, free: 27.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.8717, allocations: 344.1 kB / 0.5574 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.8719, allocations: 206.1 kB / 0.5576 GB, free: 26.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.8722, allocations: 317.5 kB / 0.5579 GB, free: 26.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.8725, allocations: 260.5 kB / 0.5581 GB, free: 26.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8725, allocations: 0 / 0.5581 GB, free: 26.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001066/0.8736, allocations: 0.6964 MB / 0.5588 GB, free: 26.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.8736, allocations: 7.891 kB / 0.5588 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007128/0.8743, allocations: 0.5211 MB / 0.5593 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.8747, allocations: 112.4 kB / 0.5594 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.875, allocations: 81.47 kB / 0.5595 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.877, allocations: 3.007 MB / 0.5624 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8773, allocations: 33.62 kB / 0.5625 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.8773, allocations: 15.44 kB / 0.5625 GB, free: 24.09 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 () * 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.0001033/0.8774, allocations: 120.1 kB / 0.5626 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.8775, allocations: 31.19 kB / 0.5626 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.8782, allocations: 0.5198 MB / 0.5631 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.8783, allocations: 19.52 kB / 0.5631 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.8783, allocations: 3.703 kB / 0.5631 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8783, allocations: 0 / 0.5631 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.8797, allocations: 1.089 MB / 0.5642 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8797, allocations: 0 / 0.5642 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.8801, allocations: 80.08 kB / 0.5643 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8801, allocations: 0 / 0.5643 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.8801, allocations: 7.594 kB / 0.5643 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.8801, allocations: 3.906 kB / 0.5643 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8801, allocations: 3.141 kB / 0.5643 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.8809, allocations: 0.8433 MB / 0.5651 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.8811, allocations: 148.3 kB / 0.5653 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.8812, allocations: 10.7 kB / 0.5653 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.8814, allocations: 29.33 kB / 0.5653 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.8814, allocations: 26.03 kB / 0.5653 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.8815, allocations: 11.47 kB / 0.5653 GB, free: 23.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.8816, allocations: 193.7 kB / 0.5655 GB, free: 23.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8816, allocations: 3.938 kB / 0.5655 GB, free: 23.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.8822, allocations: 131 kB / 0.5656 GB, free: 23.1 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 () * 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.0002212/0.8824, allocations: 147.8 kB / 0.5658 GB, free: 22.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.8833, allocations: 0.7435 MB / 0.5665 GB, free: 22.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8834, allocations: 0 / 0.5665 GB, free: 22.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.8836, allocations: 232.5 kB / 0.5667 GB, free: 22.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.884, allocations: 62.05 kB / 0.5668 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.8853, allocations: 0.9094 MB / 0.5677 GB, free: 22.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.8857, allocations: 0.8865 MB / 0.5685 GB, free: 21.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.886, allocations: 103.8 kB / 0.5686 GB, free: 21.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.8861, allocations: 27.06 kB / 0.5687 GB, free: 21.65 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8861, allocations: 0 / 0.5687 GB, free: 21.65 MB / 378.7 MB Notification: Performance of Templates: time 0.007684/0.8938, allocations: 4.147 MB / 0.5727 GB, free: 21.37 MB / 378.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)