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.001075/0.001075, allocations: 173 kB / 15.77 MB, free: 6.324 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.34/1.34, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00085/0.0008499, allocations: 94.28 kB / 270.3 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.1994/0.1994, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 16 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 56.34 MB / 479.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004022/0.1169, allocations: 3.182 MB / 482.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1191, allocations: 1.506 MB / 483.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1192, allocations: 7.938 kB / 483.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1194, allocations: 43.75 kB / 483.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.12, allocations: 215.1 kB / 484 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1203, allocations: 99.69 kB / 484.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1208, allocations: 434.8 kB / 484.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.1214, allocations: 315.1 kB / 484.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1216, allocations: 127.3 kB / 485 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1219, allocations: 151.5 kB / 485.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.1219, allocations: 4 kB / 485.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.1223, allocations: 179.5 kB / 485.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1224, allocations: 87.75 kB / 485.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.1225, allocations: 61.64 kB / 485.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1228, allocations: 251.4 kB / 485.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1228, allocations: 0 / 485.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1228, allocations: 4 kB / 485.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1229, allocations: 0 / 485.7 MB, free: 11.34 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.000663/0.1235, allocations: 486.5 kB / 486.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1236, allocations: 8.031 kB / 486.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.1244, allocations: 111.5 kB / 486.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1248, allocations: 251.2 kB / 486.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1248, allocations: 16 kB / 486.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.1248, allocations: 19.98 kB / 486.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1253, allocations: 322.2 kB / 486.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1254, allocations: 0 / 486.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.1254, allocations: 8 kB / 486.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.1254, allocations: 16 kB / 486.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.1259, allocations: 311.6 kB / 487.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1277, allocations: 1.301 MB / 488.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1281, allocations: 198.3 kB / 488.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.1281, allocations: 41.77 kB / 488.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1282, allocations: 4 kB / 488.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1282, allocations: 34.56 kB / 488.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.314e-06/0.1282, allocations: 0 / 488.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003041/0.1285, allocations: 141.5 kB / 488.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1286, allocations: 77.11 kB / 489 MB, free: 7.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1288, allocations: 211.8 kB / 489.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1288, allocations: 25.7 kB / 489.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1289, allocations: 167.9 kB / 489.4 MB, free: 7.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.129, allocations: 39.67 kB / 489.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.129, allocations: 4 kB / 489.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1291, allocations: 330.8 kB / 489.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.1292, allocations: 39.91 kB / 489.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1293, allocations: 140.7 kB / 489.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.1294, allocations: 63.91 kB / 490 MB, free: 6.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.1295, allocations: 4 kB / 490 MB, free: 6.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002765/0.1297, allocations: 201.5 kB / 490.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1298, allocations: 4 kB / 490.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1298, allocations: 4 kB / 490.2 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1298, allocations: 4 kB / 490.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.13, allocations: 51.91 kB / 490.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.13, allocations: 8.062 kB / 490.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1301, allocations: 27.69 kB / 490.3 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1302, allocations: 12 kB / 490.3 MB, free: 6.355 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.0001375/0.1303, allocations: 153.7 kB / 490.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1304, allocations: 19.88 kB / 490.5 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1306, allocations: 123 kB / 490.6 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1306, allocations: 0 / 490.6 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1306, allocations: 4 kB / 490.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1306, allocations: 0 / 490.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.1313, allocations: 0.572 MB / 491.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1313, allocations: 0 / 491.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.1314, allocations: 23.92 kB / 491.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1314, allocations: 7.938 kB / 491.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1314, allocations: 12.27 kB / 491.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1315, allocations: 8 kB / 491.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1315, allocations: 4.188 kB / 491.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1317, allocations: 271.9 kB / 491.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.1318, allocations: 104.8 kB / 491.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1319, allocations: 4 kB / 491.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.132, allocations: 7.953 kB / 491.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.132, allocations: 19.92 kB / 491.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.132, allocations: 8 kB / 491.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1321, allocations: 145.5 kB / 491.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1321, allocations: 0 / 491.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.1325, allocations: 51.84 kB / 491.8 MB, free: 4.676 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.0001118/0.1326, allocations: 107.2 kB / 491.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1328, allocations: 115.7 kB / 492 MB, free: 4.449 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1328, allocations: 0 / 492 MB, free: 4.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.1329, allocations: 45.23 kB / 492.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1333, allocations: 35.92 kB / 492.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.1341, allocations: 0.5437 MB / 492.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1345, allocations: 0.7556 MB / 493.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.1346, allocations: 23.42 kB / 493.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1346, allocations: 0 / 493.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of Templates: time 0.003919/0.1385, allocations: 2.176 MB / 495.6 MB, free: 0.7773 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)