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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2959/0.2959, allocations: 29.41 MB / 291.2 MB, free: 2.348 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.269e-05/4.485e-05, allocations: 4.797 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005368/0.005413, allocations: 3.478 MB / 320.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.007243, allocations: 1.235 MB / 321.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.007387, allocations: 15.94 kB / 321.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.008003, allocations: 203.1 kB / 321.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.008531, allocations: 278.6 kB / 322 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.008791, allocations: 131.5 kB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.009117, allocations: 339.2 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.009349, allocations: 122.7 kB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.009674, allocations: 203.4 kB / 322.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.009885, allocations: 139.6 kB / 322.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.009914, allocations: 15.94 kB / 323 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.01028, allocations: 267.1 kB / 323.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.01039, allocations: 107.8 kB / 323.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.01047, allocations: 79.78 kB / 323.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.01083, allocations: 307 kB / 323.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.01084, allocations: 4 kB / 323.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01084, allocations: 0 / 323.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01084, allocations: 0 / 323.7 MB, free: 9.094 MB / 298.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.0005054/0.01135, allocations: 427.2 kB / 324.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.01139, allocations: 11.98 kB / 324.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005584/0.01194, allocations: 152.6 kB / 324.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.01221, allocations: 201.9 kB / 324.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01223, allocations: 16.31 kB / 324.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.01225, allocations: 20.38 kB / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.0125, allocations: 202.9 kB / 324.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01251, allocations: 7.938 kB / 324.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01253, allocations: 4 kB / 324.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.01256, allocations: 19.92 kB / 324.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.0127, allocations: 102.7 kB / 324.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.01363, allocations: 0.9695 MB / 325.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.01382, allocations: 131.8 kB / 325.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.01385, allocations: 21.78 kB / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.01387, allocations: 4 kB / 326 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.0139, allocations: 34.69 kB / 326 MB, free: 6.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.0139, allocations: 0 / 326 MB, free: 6.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001585/0.01406, allocations: 85.53 kB / 326.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.0141, allocations: 81.23 kB / 326.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01422, allocations: 182.3 kB / 326.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01423, allocations: 33.7 kB / 326.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.01431, allocations: 171.8 kB / 326.5 MB, free: 6.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.01433, allocations: 27.75 kB / 326.6 MB, free: 6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.01438, allocations: 45.64 kB / 326.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0145, allocations: 330.8 kB / 326.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.01452, allocations: 11.98 kB / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.0146, allocations: 115.5 kB / 327.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.01473, allocations: 159.5 kB / 327.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01473, allocations: 4 kB / 327.2 MB, free: 5.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001447/0.01488, allocations: 137.3 kB / 327.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.0149, allocations: 11.98 kB / 327.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.0149, allocations: 4.438 kB / 327.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01492, allocations: 11.94 kB / 327.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01503, allocations: 43.92 kB / 327.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01503, allocations: 7.938 kB / 327.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.01509, allocations: 23.84 kB / 327.5 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.0151, allocations: 4 kB / 327.5 MB, free: 4.996 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.01519, allocations: 132.5 kB / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.01521, allocations: 12 kB / 327.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.01534, allocations: 75.06 kB / 327.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.01535, allocations: 7.938 kB / 327.7 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01535, allocations: 0 / 327.7 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01535, allocations: 4 kB / 327.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.01575, allocations: 426.3 kB / 328.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01576, allocations: 4 kB / 328.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.01579, allocations: 16 kB / 328.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.0158, allocations: 4 kB / 328.1 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01581, allocations: 4.312 kB / 328.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.01581, allocations: 11.92 kB / 328.1 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01581, allocations: 4 kB / 328.1 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01598, allocations: 307 kB / 328.4 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01601, allocations: 23.88 kB / 328.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01602, allocations: 4 kB / 328.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.01608, allocations: 8 kB / 328.5 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.0161, allocations: 19.86 kB / 328.5 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01611, allocations: 4 kB / 328.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.01614, allocations: 49.39 kB / 328.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01614, allocations: 7.938 kB / 328.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01634, allocations: 59.84 kB / 328.6 MB, free: 3.695 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.01645, allocations: 81.66 kB / 328.7 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01657, allocations: 81.39 kB / 328.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.01657, allocations: 4 kB / 328.8 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.01661, allocations: 36.78 kB / 328.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01685, allocations: 45.97 kB / 328.9 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.01767, allocations: 464.4 kB / 329.3 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.038e-05/0.01773, allocations: 95.95 kB / 329.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.01779, allocations: 13.48 kB / 329.4 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.01786, allocations: 63.38 kB / 329.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01786, allocations: 4 kB / 329.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of Templates: time 0.003286/0.02115, allocations: 1.178 MB / 330.7 MB, free: 1.562 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.023439094889909]