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.001331/0.001331, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001494/0.001494, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.1788/0.1788, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.91 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004764/0.3211, allocations: 3.577 MB / 0.5467 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3233, allocations: 1.569 MB / 0.5482 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3234, allocations: 9.719 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.3242, allocations: 271.4 kB / 0.5485 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006296/0.3248, allocations: 282.8 kB / 0.5488 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.3252, allocations: 135.5 kB / 0.5489 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.3256, allocations: 328.4 kB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.3259, allocations: 130.8 kB / 0.5493 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.3262, allocations: 154.3 kB / 0.5495 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3265, allocations: 168.8 kB / 0.5497 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3265, allocations: 13.59 kB / 0.5497 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.3271, allocations: 345.7 kB / 0.55 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3272, allocations: 102.5 kB / 0.5501 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3273, allocations: 108.8 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.3278, allocations: 345.8 kB / 0.5505 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3279, allocations: 0 / 0.5505 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3279, allocations: 0 / 0.5505 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3279, allocations: 3.938 kB / 0.5505 GB, free: 11.05 MB / 398.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.0007112/0.3286, allocations: 461.7 kB / 0.551 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3286, allocations: 17.86 kB / 0.551 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.3295, allocations: 103.5 kB / 0.5511 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3299, allocations: 202.9 kB / 0.5513 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3299, allocations: 15.55 kB / 0.5513 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.33, allocations: 23.66 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.3305, allocations: 327 kB / 0.5516 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3305, allocations: 1.656 kB / 0.5516 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3305, allocations: 9.516 kB / 0.5516 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.3306, allocations: 12.03 kB / 0.5517 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.331, allocations: 310.8 kB / 0.552 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3328, allocations: 1.244 MB / 0.5532 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3331, allocations: 128.9 kB / 0.5533 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.3331, allocations: 40.98 kB / 0.5533 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3332, allocations: 1.875 kB / 0.5533 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3332, allocations: 40.25 kB / 0.5534 GB, free: 8.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3332, allocations: 192 / 0.5534 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002942/0.3335, allocations: 137.7 kB / 0.5535 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3336, allocations: 78.14 kB / 0.5536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3338, allocations: 212.7 kB / 0.5538 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3338, allocations: 26.67 kB / 0.5538 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3339, allocations: 168.8 kB / 0.554 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3339, allocations: 44.75 kB / 0.554 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.334, allocations: 48.06 kB / 0.5541 GB, free: 8.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3342, allocations: 323.2 kB / 0.5544 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.3342, allocations: 40.94 kB / 0.5544 GB, free: 7.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3344, allocations: 136.1 kB / 0.5545 GB, free: 7.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3346, allocations: 191.4 kB / 0.5547 GB, free: 7.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3346, allocations: 9.047 kB / 0.5547 GB, free: 7.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003066/0.3349, allocations: 210.5 kB / 0.5549 GB, free: 7.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3349, allocations: 10.81 kB / 0.5549 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.335, allocations: 7.422 kB / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.335, allocations: 4.875 kB / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3351, allocations: 48.47 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3351, allocations: 4.594 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3353, allocations: 19.92 kB / 0.555 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3353, allocations: 8.188 kB / 0.555 GB, free: 7.309 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.3354, allocations: 161.2 kB / 0.5552 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3355, allocations: 22.95 kB / 0.5552 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.3357, allocations: 122.8 kB / 0.5553 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3357, allocations: 1.188 kB / 0.5553 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3357, allocations: 5.109 kB / 0.5553 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3357, allocations: 0 / 0.5553 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.3364, allocations: 0.5401 MB / 0.5558 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3365, allocations: 6.281 kB / 0.5559 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.3365, allocations: 20.67 kB / 0.5559 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3365, allocations: 3.281 kB / 0.5559 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3366, allocations: 7.281 kB / 0.5559 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.3366, allocations: 7.312 kB / 0.5559 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3366, allocations: 7.531 kB / 0.5559 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3368, allocations: 285.6 kB / 0.5562 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.3369, allocations: 21.16 kB / 0.5562 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.3369, allocations: 15.64 kB / 0.5562 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.337, allocations: 2.812 kB / 0.5562 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3371, allocations: 21.23 kB / 0.5562 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3371, allocations: 5.219 kB / 0.5562 GB, free: 6.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3372, allocations: 149.2 kB / 0.5564 GB, free: 6.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3372, allocations: 0 / 0.5564 GB, free: 6.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3376, allocations: 48.45 kB / 0.5564 GB, free: 6.125 MB / 398.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 (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.0001014/0.3377, allocations: 101.1 kB / 0.5565 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3379, allocations: 122.5 kB / 0.5566 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3379, allocations: 3.938 kB / 0.5566 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.338, allocations: 49.03 kB / 0.5567 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3384, allocations: 31.61 kB / 0.5567 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.3392, allocations: 488.5 kB / 0.5572 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3396, allocations: 0.7552 MB / 0.5579 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.3396, allocations: 23.42 kB / 0.5579 GB, free: 4.766 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3396, allocations: 3.938 kB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Templates: time 0.004315/0.3439, allocations: 2.241 MB / 0.5601 GB, free: 2.516 MB / 398.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.184689861955121] Failed to read output from testmodel.py, exit status != 0: 0.353362447116524 0.36746882999999997 0.036558150000000005 Calling exit ...