Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00118/0.001181, allocations: 182.7 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.689/1.689, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.002076/0.002076, allocations: 118.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1735/0.1735, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.478e-05/6.482e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3891, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5462, allocations: 90.28 MB / 0.5284 GB, free: 3.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/0.5467, allocations: 83.95 kB / 0.5284 GB, free: 2.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3888/0.9356, allocations: 14.55 MB / 0.5426 GB, free: 84.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9356, allocations: 3.812 kB / 0.5426 GB, free: 84.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.9357, allocations: 2.25 kB / 0.5427 GB, free: 84.88 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006767/0.9363, allocations: 489.6 kB / 0.5431 GB, free: 84.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9364, allocations: 11.62 kB / 0.5431 GB, free: 84.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9374, allocations: 112.7 kB / 0.5432 GB, free: 84.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.9378, allocations: 273.8 kB / 0.5435 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.9378, allocations: 10.78 kB / 0.5435 GB, free: 84.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.9379, allocations: 23.94 kB / 0.5435 GB, free: 84.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.9383, allocations: 304.6 kB / 0.5438 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9384, allocations: 0 / 0.5438 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.9384, allocations: 11.88 kB / 0.5438 GB, free: 83.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.9384, allocations: 27.48 kB / 0.5439 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.9388, allocations: 282.9 kB / 0.5441 GB, free: 83.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.9403, allocations: 1.279 MB / 0.5454 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.9406, allocations: 192.3 kB / 0.5456 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.9407, allocations: 41.38 kB / 0.5456 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.9407, allocations: 8.031 kB / 0.5456 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.9407, allocations: 42.61 kB / 0.5456 GB, free: 82.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.9408, allocations: 0 / 0.5456 GB, free: 82.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000257/0.941, allocations: 112.3 kB / 0.5458 GB, free: 82.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.9411, allocations: 80.83 kB / 0.5458 GB, free: 82.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.9412, allocations: 187.2 kB / 0.546 GB, free: 82.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.9413, allocations: 29.7 kB / 0.546 GB, free: 82.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.9413, allocations: 170.8 kB / 0.5462 GB, free: 81.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9414, allocations: 39.2 kB / 0.5462 GB, free: 81.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.9414, allocations: 0 / 0.5462 GB, free: 81.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.9414, allocations: 334.6 kB / 0.5466 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.9415, allocations: 34.84 kB / 0.5466 GB, free: 81.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.9416, allocations: 137 kB / 0.5467 GB, free: 81.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.9417, allocations: 59.44 kB / 0.5468 GB, free: 81.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9417, allocations: 0 / 0.5468 GB, free: 81.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002515/0.942, allocations: 199.7 kB / 0.547 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.942, allocations: 10.7 kB / 0.547 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.942, allocations: 3.688 kB / 0.547 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.9421, allocations: 6.312 kB / 0.547 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.9422, allocations: 53.83 kB / 0.547 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9422, allocations: 6.406 kB / 0.547 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.9424, allocations: 27.05 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.9424, allocations: 13.72 kB / 0.5471 GB, free: 81.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.9425, allocations: 120.2 kB / 0.5472 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.9425, allocations: 13.56 kB / 0.5472 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.9427, allocations: 125 kB / 0.5473 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9427, allocations: 0 / 0.5473 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9427, allocations: 0 / 0.5473 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9427, allocations: 7.891 kB / 0.5473 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.9434, allocations: 0.5675 MB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9434, allocations: 4.219 kB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.9435, allocations: 23.64 kB / 0.5479 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9435, allocations: 7.859 kB / 0.5479 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.9435, allocations: 7.875 kB / 0.5479 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9435, allocations: 3.812 kB / 0.5479 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9435, allocations: 3.812 kB / 0.5479 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.9438, allocations: 402.2 kB / 0.5483 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.9439, allocations: 96.56 kB / 0.5484 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.9439, allocations: 11.91 kB / 0.5484 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.944, allocations: 3.656 kB / 0.5484 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.944, allocations: 15.84 kB / 0.5484 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.9441, allocations: 8.969 kB / 0.5485 GB, free: 79.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.9442, allocations: 149.5 kB / 0.5486 GB, free: 79.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9442, allocations: 0 / 0.5486 GB, free: 79.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.9445, allocations: 59.84 kB / 0.5487 GB, free: 79.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * 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.0001215/0.9447, allocations: 107.1 kB / 0.5488 GB, free: 79.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.9448, allocations: 111.8 kB / 0.5489 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9449, allocations: 0 / 0.5489 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.9449, allocations: 45.36 kB / 0.5489 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.9452, allocations: 37.34 kB / 0.5489 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.9457, allocations: 310.8 kB / 0.5492 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.9459, allocations: 0.7597 MB / 0.55 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.946, allocations: 37.52 kB / 0.55 GB, free: 78.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.9461, allocations: 15.44 kB / 0.55 GB, free: 78.12 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9461, allocations: 0 / 0.55 GB, free: 78.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003604/0.9497, allocations: 1.145 MB / 0.5512 GB, free: 76.99 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)