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.001373/0.001373, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001568/0.001568, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.1891/0.1891, allocations: 38.57 MB / 353.2 MB, free: 12.32 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.00246/0.00246, allocations: 71.89 kB / 493.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3569, allocations: 62.47 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005902/0.3628, allocations: 3.433 MB / 0.5465 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3653, allocations: 1.433 MB / 0.5479 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3654, allocations: 9.938 kB / 0.5479 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.3663, allocations: 252.1 kB / 0.5482 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006498/0.3669, allocations: 282.5 kB / 0.5484 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.3672, allocations: 132.4 kB / 0.5486 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.3677, allocations: 335.5 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.368, allocations: 123.3 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.3683, allocations: 158.2 kB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.3686, allocations: 160.6 kB / 0.5493 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3686, allocations: 13.41 kB / 0.5493 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.3691, allocations: 278.1 kB / 0.5496 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3692, allocations: 94.52 kB / 0.5497 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3694, allocations: 97.58 kB / 0.5498 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.3699, allocations: 355.1 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3699, allocations: 0 / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3699, allocations: 1 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3699, allocations: 0 / 0.5501 GB, free: 11.27 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.0007147/0.3706, allocations: 455 kB / 0.5505 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3707, allocations: 13.45 kB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.3716, allocations: 103.5 kB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.372, allocations: 221.2 kB / 0.5509 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.372, allocations: 12.53 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.372, allocations: 19.38 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.3726, allocations: 325.6 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3726, allocations: 0 / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3726, allocations: 5.344 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.3727, allocations: 20.39 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.3732, allocations: 301.6 kB / 0.5515 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.375, allocations: 1.157 MB / 0.5526 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3753, allocations: 117 kB / 0.5527 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.3754, allocations: 45.83 kB / 0.5528 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.3754, allocations: 1.188 kB / 0.5528 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3754, allocations: 36.77 kB / 0.5528 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3754, allocations: 5.125 kB / 0.5528 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003241/0.3757, allocations: 144.7 kB / 0.553 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.3758, allocations: 78.23 kB / 0.553 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.376, allocations: 197.9 kB / 0.5532 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.376, allocations: 31.17 kB / 0.5533 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3761, allocations: 169 kB / 0.5534 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3762, allocations: 39.98 kB / 0.5535 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.3762, allocations: 48.94 kB / 0.5535 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3764, allocations: 323.1 kB / 0.5538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.3765, allocations: 40.94 kB / 0.5539 GB, free: 8.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3766, allocations: 141.1 kB / 0.554 GB, free: 7.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3769, allocations: 190.1 kB / 0.5542 GB, free: 7.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3769, allocations: 1.094 kB / 0.5542 GB, free: 7.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003043/0.3772, allocations: 209.9 kB / 0.5544 GB, free: 7.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3772, allocations: 11.03 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.3772, allocations: 3.375 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3773, allocations: 4.875 kB / 0.5544 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3774, allocations: 48.25 kB / 0.5544 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3774, allocations: 4.812 kB / 0.5544 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3776, allocations: 30.66 kB / 0.5545 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3776, allocations: 9.438 kB / 0.5545 GB, free: 7.633 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.0001431/0.3777, allocations: 153.7 kB / 0.5546 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3778, allocations: 18.91 kB / 0.5546 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.378, allocations: 124.4 kB / 0.5548 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.378, allocations: 2.219 kB / 0.5548 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.378, allocations: 0 / 0.5548 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.378, allocations: 1.125 kB / 0.5548 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.3787, allocations: 0.4935 MB / 0.5552 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3787, allocations: 2.594 kB / 0.5553 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.3788, allocations: 20.25 kB / 0.5553 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3788, allocations: 11.56 kB / 0.5553 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3788, allocations: 7.391 kB / 0.5553 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.3788, allocations: 7.219 kB / 0.5553 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.3788, allocations: 7.25 kB / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.3791, allocations: 278.6 kB / 0.5556 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3791, allocations: 15.78 kB / 0.5556 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3792, allocations: 7.344 kB / 0.5556 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3793, allocations: 7.312 kB / 0.5556 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.3793, allocations: 18.61 kB / 0.5556 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3793, allocations: 9.531 kB / 0.5556 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3794, allocations: 138.6 kB / 0.5558 GB, free: 6.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3794, allocations: 0 / 0.5558 GB, free: 6.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.3798, allocations: 53.77 kB / 0.5558 GB, free: 6.52 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.0001175/0.3799, allocations: 99.48 kB / 0.5559 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.3801, allocations: 119.2 kB / 0.556 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3802, allocations: 1.125 kB / 0.556 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.3802, allocations: 43.88 kB / 0.5561 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3806, allocations: 39.83 kB / 0.5561 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.3814, allocations: 479.7 kB / 0.5566 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3816, allocations: 144.7 kB / 0.5567 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.3816, allocations: 19.44 kB / 0.5567 GB, free: 5.781 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3816, allocations: 0 / 0.5567 GB, free: 5.781 MB / 398.1 MB Notification: Performance of Templates: time 0.004318/0.386, allocations: 2.261 MB / 0.5589 GB, free: 3.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.701657646801323] Failed to read output from testmodel.py, exit status != 0: 0.3952196151949465 0.409276491 0.036220052 Calling exit ...