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.001633/0.001637, allocations: 185 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001126/0.001125, allocations: 98.8 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2698/0.2698, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004605, allocations: 11.98 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005099/0.1171, allocations: 3.113 MB / 482.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1203, allocations: 1.463 MB / 483.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1206, allocations: 11.94 kB / 483.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1208, allocations: 35.77 kB / 483.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.1216, allocations: 175.4 kB / 483.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.1221, allocations: 99.69 kB / 483.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1224, allocations: 159.6 kB / 484.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.1233, allocations: 315 kB / 484.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.1236, allocations: 99.66 kB / 484.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1238, allocations: 79.69 kB / 484.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1238, allocations: 8 kB / 484.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.1244, allocations: 167.6 kB / 484.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1245, allocations: 79.8 kB / 484.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.1246, allocations: 65.58 kB / 484.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1251, allocations: 247.4 kB / 485.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1252, allocations: 0 / 485.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1252, allocations: 0 / 485.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1252, allocations: 4 kB / 485.1 MB, free: 11.9 MB / 330.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.0008326/0.126, allocations: 482.6 kB / 485.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1261, allocations: 8.031 kB / 485.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1275, allocations: 123.5 kB / 485.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.128, allocations: 247.2 kB / 486 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.128, allocations: 12 kB / 486 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1281, allocations: 20 kB / 486 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.1289, allocations: 330.2 kB / 486.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1289, allocations: 0 / 486.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.129, allocations: 4 kB / 486.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.1291, allocations: 15.98 kB / 486.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.1299, allocations: 307.6 kB / 486.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.1326, allocations: 1.301 MB / 487.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.1331, allocations: 206.3 kB / 488.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1331, allocations: 0 / 488.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1332, allocations: 30.56 kB / 488.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.1332, allocations: 4.25 kB / 488.2 MB, free: 8.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004538/0.1336, allocations: 137.3 kB / 488.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.1337, allocations: 81.11 kB / 488.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.134, allocations: 216.3 kB / 488.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1341, allocations: 25.7 kB / 488.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1343, allocations: 233.9 kB / 488.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1343, allocations: 31.56 kB / 488.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.1343, allocations: 7.938 kB / 488.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1345, allocations: 322.8 kB / 489.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1346, allocations: 39.97 kB / 489.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1348, allocations: 140.7 kB / 489.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.135, allocations: 55.92 kB / 489.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.135, allocations: 4 kB / 489.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004652/0.1355, allocations: 197.2 kB / 489.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1355, allocations: 4 kB / 489.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1356, allocations: 4 kB / 489.6 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1356, allocations: 8 kB / 489.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.1359, allocations: 51.91 kB / 489.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.136, allocations: 7.938 kB / 489.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1362, allocations: 28.16 kB / 489.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1362, allocations: 12 kB / 489.7 MB, free: 6.91 MB / 330.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.0001948/0.1364, allocations: 153.8 kB / 489.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.1365, allocations: 15.81 kB / 489.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1368, allocations: 118.9 kB / 490 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1368, allocations: 4.062 kB / 490 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.1369, allocations: 4 kB / 490 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1369, allocations: 3.984 kB / 490 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1381, allocations: 0.572 MB / 490.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1381, allocations: 320 / 490.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1383, allocations: 27.92 kB / 490.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1383, allocations: 4 kB / 490.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.1383, allocations: 8.188 kB / 490.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.1383, allocations: 7.953 kB / 490.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.1384, allocations: 11.88 kB / 490.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.1389, allocations: 397 kB / 491.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.139, allocations: 104.8 kB / 491.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.1391, allocations: 11.94 kB / 491.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1393, allocations: 4 kB / 491.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1393, allocations: 15.94 kB / 491.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1393, allocations: 4 kB / 491.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.1396, allocations: 153.5 kB / 491.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1396, allocations: 0 / 491.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.1401, allocations: 51.84 kB / 491.4 MB, free: 5.039 MB / 330.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 0.0001547/0.1403, allocations: 103.2 kB / 491.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.1407, allocations: 107.8 kB / 491.6 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.1407, allocations: 4 kB / 491.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1408, allocations: 45.36 kB / 491.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1413, allocations: 32.03 kB / 491.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1425, allocations: 0.5473 MB / 492.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.1429, allocations: 0.7557 MB / 493 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.143, allocations: 27.42 kB / 493 MB, free: 3.324 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.143, allocations: 0 / 493 MB, free: 3.324 MB / 330.7 MB Notification: Performance of Templates: time 0.006091/0.1491, allocations: 2.148 MB / 495.2 MB, free: 1.172 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)