Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009694/0.0009695, allocations: 171.9 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 222.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007556/0.0007556, allocations: 87.91 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1684/0.1684, allocations: 38.08 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 16 kB / 423.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2161, allocations: 56.33 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003073/0.2192, allocations: 3.21 MB / 482.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2209, allocations: 1.503 MB / 484.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.221, allocations: 10.69 kB / 484.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2212, allocations: 37.05 kB / 484.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.2218, allocations: 268.2 kB / 484.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2221, allocations: 118.7 kB / 484.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.2226, allocations: 436.3 kB / 485.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.2231, allocations: 329 kB / 485.5 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.2234, allocations: 121.1 kB / 485.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2236, allocations: 140.4 kB / 485.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.2236, allocations: 7.844 kB / 485.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.2242, allocations: 398.7 kB / 486.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2244, allocations: 97.12 kB / 486.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2245, allocations: 115.7 kB / 486.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.2249, allocations: 256.5 kB / 486.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2249, allocations: 9.062 kB / 486.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2249, allocations: 0 / 486.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2249, allocations: 0 / 486.6 MB, free: 5.164 MB / 314.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.0005149/0.2254, allocations: 482.7 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2255, allocations: 9.75 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.2263, allocations: 105.1 kB / 487.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.2266, allocations: 271 kB / 487.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2266, allocations: 12.03 kB / 487.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2267, allocations: 22.16 kB / 487.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.2271, allocations: 321.6 kB / 487.8 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2271, allocations: 4.5 kB / 487.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2272, allocations: 6.375 kB / 487.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.2272, allocations: 18.09 kB / 487.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.2277, allocations: 300.3 kB / 488.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2291, allocations: 1.29 MB / 489.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2293, allocations: 204.7 kB / 489.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/0.2294, allocations: 50.3 kB / 489.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2294, allocations: 3.484 kB / 489.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.2295, allocations: 39.88 kB / 489.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2295, allocations: 1.375 kB / 489.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002592/0.2297, allocations: 134.8 kB / 489.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2298, allocations: 80.61 kB / 489.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2299, allocations: 216.6 kB / 490.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.2299, allocations: 27.08 kB / 490.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.23, allocations: 170 kB / 490.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.23, allocations: 36.02 kB / 490.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2301, allocations: 8.125 kB / 490.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2301, allocations: 329.7 kB / 490.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.2302, allocations: 33.58 kB / 490.7 MB, free: 2.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.2303, allocations: 136.4 kB / 490.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2304, allocations: 195.7 kB / 491.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2305, allocations: 5.375 kB / 491.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002599/0.2307, allocations: 199.5 kB / 491.3 MB, free: 1.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2308, allocations: 5.594 kB / 491.3 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2308, allocations: 9.25 kB / 491.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2308, allocations: 8.125 kB / 491.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.231, allocations: 51.12 kB / 491.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.231, allocations: 4.641 kB / 491.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2311, allocations: 24.88 kB / 491.4 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2311, allocations: 13.28 kB / 491.4 MB, free: 1.625 MB / 314.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 () * Number of clocked 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 0.0001111/0.2312, allocations: 154.3 kB / 491.5 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.2313, allocations: 17.25 kB / 491.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.2315, allocations: 118.4 kB / 491.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2315, allocations: 5.281 kB / 491.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2315, allocations: 2.125 kB / 491.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2315, allocations: 1.406 kB / 491.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.2321, allocations: 0.5764 MB / 492.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2321, allocations: 2.781 kB / 492.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.2322, allocations: 21.03 kB / 492.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2322, allocations: 8.516 kB / 492.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2322, allocations: 3.531 kB / 492.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2322, allocations: 5.531 kB / 492.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2322, allocations: 1.406 kB / 492.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2324, allocations: 290.9 kB / 492.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.2325, allocations: 94.23 kB / 492.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.2325, allocations: 13.27 kB / 492.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2326, allocations: 3.812 kB / 492.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.2327, allocations: 11.86 kB / 492.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2327, allocations: 13.69 kB / 492.7 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2328, allocations: 150.4 kB / 492.9 MB, free: 464 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2328, allocations: 0 / 492.9 MB, free: 464 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.2332, allocations: 52.34 kB / 492.9 MB, free: 452 kB / 314.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 () * Number of clocked 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 7.98e-05/0.2332, allocations: 103.4 kB / 493 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2334, allocations: 116.2 kB / 493.1 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2335, allocations: 1.594 kB / 493.1 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.2335, allocations: 45.59 kB / 493.2 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.234, allocations: 37.39 kB / 493.2 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.2346, allocations: 0.5466 MB / 493.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.235, allocations: 0.7556 MB / 494.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.235, allocations: 22 kB / 494.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.235, allocations: 0 / 494.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of Templates: time 0.004008/0.239, allocations: 2.164 MB / 496.7 MB, free: 14.99 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)