Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001343/0.001343, 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.00147/0.00147, allocations: 210 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.1849/0.1849, allocations: 38.55 MB / 353.2 MB, free: 12.28 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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [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.00219/0.00219, allocations: 63.91 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3525, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.00723/0.3597, allocations: 5.218 MB / 0.5482 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3622, allocations: 1.078 MB / 0.5493 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.3625, allocations: 27.41 kB / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3628, allocations: 82.3 kB / 0.5494 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008067/0.3636, allocations: 305.2 kB / 0.5497 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3639, allocations: 143.7 kB / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00079/0.3647, allocations: 0.6979 MB / 0.5505 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.365, allocations: 121.2 kB / 0.5506 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.3656, allocations: 325.6 kB / 0.5509 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.3661, allocations: 322.1 kB / 0.5512 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.3662, allocations: 33.66 kB / 0.5513 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.3663, allocations: 34.16 kB / 0.5513 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.3664, allocations: 166 kB / 0.5515 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.3667, allocations: 196.5 kB / 0.5517 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.3673, allocations: 0.4933 MB / 0.5521 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3673, allocations: 0 / 0.5521 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3673, allocations: 0 / 0.5521 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3673, allocations: 1.25 kB / 0.5521 GB, free: 9.715 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001401/0.3687, allocations: 0.7361 MB / 0.5529 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3688, allocations: 8.75 kB / 0.5529 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3689, allocations: 54.3 kB / 0.5529 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.3696, allocations: 394.1 kB / 0.5533 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.3697, allocations: 27.69 kB / 0.5533 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.3698, allocations: 40.08 kB / 0.5534 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.3705, allocations: 462.5 kB / 0.5538 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3705, allocations: 5.594 kB / 0.5538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.3705, allocations: 15.44 kB / 0.5538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3705, allocations: 8.844 kB / 0.5538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.371, allocations: 303.3 kB / 0.5541 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.3731, allocations: 1.585 MB / 0.5557 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3733, allocations: 144.9 kB / 0.5558 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.3734, allocations: 59.66 kB / 0.5559 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3735, allocations: 6.125 kB / 0.5559 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3735, allocations: 36.53 kB / 0.5559 GB, free: 6.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3735, allocations: 1.156 kB / 0.5559 GB, free: 6.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001035/0.3745, allocations: 0.538 MB / 0.5564 GB, free: 6.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.3746, allocations: 109.2 kB / 0.5565 GB, free: 6.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.375, allocations: 358.8 kB / 0.5569 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.375, allocations: 29.7 kB / 0.5569 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.3753, allocations: 296 kB / 0.5572 GB, free: 5.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.3753, allocations: 63.47 kB / 0.5572 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.3754, allocations: 57.66 kB / 0.5573 GB, free: 5.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3756, allocations: 350.8 kB / 0.5576 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.3757, allocations: 47.97 kB / 0.5577 GB, free: 4.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3759, allocations: 190.6 kB / 0.5579 GB, free: 4.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.3762, allocations: 274.5 kB / 0.5581 GB, free: 4.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3762, allocations: 0 / 0.5581 GB, free: 4.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004417/0.3767, allocations: 301.7 kB / 0.5584 GB, free: 4.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3767, allocations: 8 kB / 0.5584 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3767, allocations: 4 kB / 0.5584 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.3767, allocations: 8 kB / 0.5584 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.377, allocations: 67.91 kB / 0.5585 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.377, allocations: 7.938 kB / 0.5585 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3772, allocations: 12 kB / 0.5585 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.3772, allocations: 16 kB / 0.5585 GB, free: 3.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0002072/0.3774, allocations: 189.8 kB / 0.5587 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.3775, allocations: 35.77 kB / 0.5587 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.3778, allocations: 168.6 kB / 0.5589 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3778, allocations: 4 kB / 0.5589 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3778, allocations: 0 / 0.5589 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3778, allocations: 4 kB / 0.5589 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.3784, allocations: 438.8 kB / 0.5593 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3784, allocations: 4 kB / 0.5593 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3786, allocations: 31.98 kB / 0.5594 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3786, allocations: 0 / 0.5594 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3787, allocations: 12.56 kB / 0.5594 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3787, allocations: 3.938 kB / 0.5594 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3787, allocations: 7.938 kB / 0.5594 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.3791, allocations: 399.1 kB / 0.5598 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.3792, allocations: 35.7 kB / 0.5598 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3792, allocations: 8 kB / 0.5598 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3794, allocations: 0 / 0.5598 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3794, allocations: 23.95 kB / 0.5598 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3794, allocations: 4 kB / 0.5598 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3797, allocations: 239.1 kB / 0.5601 GB, free: 2.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3797, allocations: 0 / 0.5601 GB, free: 2.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3801, allocations: 76 kB / 0.5601 GB, free: 2.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001065/0.3802, allocations: 103.2 kB / 0.5602 GB, free: 2.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.3805, allocations: 140.8 kB / 0.5604 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3805, allocations: 0 / 0.5604 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3806, allocations: 56.05 kB / 0.5604 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.3813, allocations: 93.23 kB / 0.5605 GB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3829, allocations: 0.9284 MB / 0.5614 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3832, allocations: 231.8 kB / 0.5616 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.3833, allocations: 39.42 kB / 0.5617 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3833, allocations: 0 / 0.5617 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Templates: time 0.007784/0.3911, allocations: 4.82 MB / 0.5664 GB, free: 11.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.19984491309151] Failed to read output from testmodel.py, exit status != 0: 0.3997381809167564 0.41355361199999996 0.043121894 Calling exit ...