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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009811, allocations: 94.55 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3403/0.3403, allocations: 38.04 MB / 309.7 MB, free: 8.887 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005556, allocations: 18.19 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 56.34 MB / 432.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003664/0.1423, allocations: 3.099 MB / 435.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1441, allocations: 1.471 MB / 437.4 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1442, allocations: 7.938 kB / 437.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1444, allocations: 39.75 kB / 437.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1448, allocations: 167.4 kB / 437.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1451, allocations: 107.7 kB / 437.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1453, allocations: 155.6 kB / 437.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.1459, allocations: 311.1 kB / 438.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1461, allocations: 103.6 kB / 438.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1462, allocations: 79.67 kB / 438.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1463, allocations: 8 kB / 438.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1466, allocations: 163.7 kB / 438.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.1467, allocations: 91.77 kB / 438.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.1467, allocations: 57.64 kB / 438.7 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.147, allocations: 251.4 kB / 438.9 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.147, allocations: 3.938 kB / 438.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.147, allocations: 3.938 kB / 438.9 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.147, allocations: 0 / 438.9 MB, free: 0.5859 MB / 366.1 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.0005684/0.1476, allocations: 482.5 kB / 439.4 MB, free: 68 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1477, allocations: 16.03 kB / 439.4 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.1486, allocations: 115.6 kB / 439.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1489, allocations: 255.2 kB / 439.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1489, allocations: 8 kB / 439.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.149, allocations: 16 kB / 439.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.1494, allocations: 334.2 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1495, allocations: 0 / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1495, allocations: 8 kB / 440.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1495, allocations: 15.95 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.15, allocations: 307.6 kB / 440.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1516, allocations: 1.297 MB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1519, allocations: 198.3 kB / 441.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1519, allocations: 8.062 kB / 441.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1519, allocations: 30.56 kB / 442 MB, free: 13.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1519, allocations: 0 / 442 MB, free: 13.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000282/0.1522, allocations: 137.5 kB / 442.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1523, allocations: 81.11 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1525, allocations: 207.8 kB / 442.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1525, allocations: 29.7 kB / 442.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1526, allocations: 167.7 kB / 442.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1526, allocations: 43.44 kB / 442.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1527, allocations: 4 kB / 442.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1528, allocations: 326.8 kB / 442.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.1528, allocations: 39.97 kB / 443 MB, free: 12.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.153, allocations: 132.8 kB / 443.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.087e-05/0.1531, allocations: 68.28 kB / 443.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1531, allocations: 0 / 443.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002607/0.1533, allocations: 205.3 kB / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1534, allocations: 8 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1534, allocations: 4 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1534, allocations: 4 kB / 443.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1536, allocations: 47.91 kB / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1536, allocations: 4 kB / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1537, allocations: 23.78 kB / 443.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1537, allocations: 11.94 kB / 443.5 MB, free: 11.66 MB / 382.1 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.0001271/0.1539, allocations: 161.9 kB / 443.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.1539, allocations: 19.81 kB / 443.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1541, allocations: 127 kB / 443.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1541, allocations: 4.047 kB / 443.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1541, allocations: 3.984 kB / 443.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1541, allocations: 4 kB / 443.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.1548, allocations: 0.5641 MB / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1548, allocations: 4 kB / 444.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.1549, allocations: 23.92 kB / 444.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-06/0.1549, allocations: 8.266 kB / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1549, allocations: 8 kB / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1549, allocations: 4 kB / 444.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1549, allocations: 0 / 444.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1552, allocations: 401 kB / 444.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.1553, allocations: 96.91 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1554, allocations: 8 kB / 444.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1555, allocations: 7.938 kB / 444.9 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1555, allocations: 23.88 kB / 444.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1555, allocations: 8 kB / 444.9 MB, free: 9.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1556, allocations: 149.5 kB / 445.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 0 / 445.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.156, allocations: 51.84 kB / 445.1 MB, free: 9.777 MB / 382.1 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 0.0001023/0.1561, allocations: 103.3 kB / 445.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1563, allocations: 119.7 kB / 445.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1563, allocations: 0 / 445.3 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.1564, allocations: 49.09 kB / 445.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1567, allocations: 32.03 kB / 445.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.1574, allocations: 0.5031 MB / 445.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1577, allocations: 0.7634 MB / 446.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1578, allocations: 37.52 kB / 446.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.1578, allocations: 15.44 kB / 446.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1578, allocations: 0 / 446.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of Templates: time 0.003646/0.1615, allocations: 1.109 MB / 447.8 MB, free: 6.953 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: