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.0009819/0.0009822, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.001433/0.001433, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.402/1.402, allocations: 205.4 MB / 223.4 MB, free: 5.812 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3838/0.3838, allocations: 38.06 MB / 309.7 MB, free: 8.957 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.0006893/0.0006894, allocations: 16 kB / 376.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.114, allocations: 56.33 MB / 432.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003488/0.1175, allocations: 3.179 MB / 436 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1195, allocations: 1.51 MB / 437.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1196, allocations: 11.94 kB / 437.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1198, allocations: 39.7 kB / 437.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1203, allocations: 219.1 kB / 437.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1206, allocations: 99.75 kB / 437.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.1211, allocations: 434.8 kB / 438.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005922/0.1217, allocations: 311.1 kB / 438.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.1219, allocations: 123.4 kB / 438.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1221, allocations: 151.5 kB / 438.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1221, allocations: 8 kB / 438.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.1225, allocations: 163.5 kB / 439.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.1226, allocations: 99.73 kB / 439.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1226, allocations: 65.58 kB / 439.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.1229, allocations: 251.4 kB / 439.5 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1229, allocations: 0 / 439.5 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1229, allocations: 0 / 439.5 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1229, allocations: 4 kB / 439.5 MB, free: 292 kB / 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.000528/0.1235, allocations: 486.5 kB / 440 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1235, allocations: 12.03 kB / 440 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008009/0.1243, allocations: 103.6 kB / 440.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1246, allocations: 255.2 kB / 440.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1247, allocations: 19.94 kB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1247, allocations: 19.94 kB / 440.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.1252, allocations: 322.3 kB / 440.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1252, allocations: 0 / 440.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1252, allocations: 11.94 kB / 440.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.1253, allocations: 19.94 kB / 440.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.1257, allocations: 303.7 kB / 441 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1272, allocations: 1.293 MB / 442.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1275, allocations: 198.3 kB / 442.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.1276, allocations: 45.77 kB / 442.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1276, allocations: 0 / 442.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1277, allocations: 38.67 kB / 442.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1277, allocations: 0 / 442.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002824/0.128, allocations: 141.3 kB / 442.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.128, allocations: 81.11 kB / 442.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1282, allocations: 207.8 kB / 443 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1282, allocations: 33.7 kB / 443 MB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1283, allocations: 171.6 kB / 443.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1284, allocations: 35.45 kB / 443.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1284, allocations: 4 kB / 443.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1285, allocations: 327 kB / 443.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1286, allocations: 47.91 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1287, allocations: 124.9 kB / 443.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.1288, allocations: 71.86 kB / 443.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1288, allocations: 0 / 443.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002807/0.1291, allocations: 201.1 kB / 444 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1291, allocations: 4 kB / 444 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1291, allocations: 4.438 kB / 444 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1292, allocations: 12 kB / 444 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1293, allocations: 43.92 kB / 444 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1293, allocations: 11.92 kB / 444.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1295, allocations: 23.78 kB / 444.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1295, allocations: 11.95 kB / 444.1 MB, free: 11.3 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.0001298/0.1296, allocations: 153.8 kB / 444.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1297, allocations: 16.28 kB / 444.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1299, allocations: 126.9 kB / 444.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1299, allocations: 8 kB / 444.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1299, allocations: 0 / 444.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1299, allocations: 0 / 444.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.1306, allocations: 0.5719 MB / 445 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.1306, allocations: 4 kB / 445 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.1307, allocations: 15.98 kB / 445 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1307, allocations: 7.953 kB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1308, allocations: 4 kB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1308, allocations: 4 kB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1308, allocations: 7.938 kB / 445 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.131, allocations: 284.1 kB / 445.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.1311, allocations: 92.92 kB / 445.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1311, allocations: 11.94 kB / 445.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1313, allocations: 12.06 kB / 445.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1313, allocations: 8 kB / 445.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1313, allocations: 15.98 kB / 445.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1314, allocations: 145.5 kB / 445.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1314, allocations: 0 / 445.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1318, allocations: 55.84 kB / 445.6 MB, free: 9.613 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 9.786e-05/0.1319, allocations: 99.12 kB / 445.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.1321, allocations: 120.4 kB / 445.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1321, allocations: 0 / 445.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.1322, allocations: 43.86 kB / 445.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1326, allocations: 39.84 kB / 445.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.1333, allocations: 0.5075 MB / 446.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1337, allocations: 0.7596 MB / 447.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1338, allocations: 41.55 kB / 447.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1339, allocations: 15.44 kB / 447.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1339, allocations: 0 / 447.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of Templates: time 0.003432/0.1373, allocations: 1.113 MB / 448.3 MB, free: 6.781 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: