Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001691/0.001691, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1981/0.1981, allocations: 38.56 MB / 352.5 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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [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.00222/0.00222, allocations: 71.89 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3574, allocations: 62.47 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.007385/0.3648, allocations: 3.451 MB / 0.5458 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3683, allocations: 1.416 MB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3685, allocations: 9.562 kB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.3696, allocations: 247.9 kB / 0.5474 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009919/0.3706, allocations: 287.2 kB / 0.5477 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.3712, allocations: 122.5 kB / 0.5478 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.3717, allocations: 351.2 kB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.3721, allocations: 114.6 kB / 0.5483 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.3726, allocations: 164.5 kB / 0.5484 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.3729, allocations: 161.8 kB / 0.5486 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.373, allocations: 14.03 kB / 0.5486 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.3737, allocations: 276.2 kB / 0.5488 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3739, allocations: 105.6 kB / 0.5489 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.374, allocations: 89.81 kB / 0.549 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.3748, allocations: 369.1 kB / 0.5494 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3748, allocations: 0 / 0.5494 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3748, allocations: 0 / 0.5494 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3748, allocations: 0 / 0.5494 GB, free: 11.25 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.0009898/0.3758, allocations: 452.7 kB / 0.5498 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3759, allocations: 12.89 kB / 0.5498 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3772, allocations: 97.45 kB / 0.5499 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3777, allocations: 217.4 kB / 0.5501 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3777, allocations: 11.56 kB / 0.5501 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3778, allocations: 23.45 kB / 0.5502 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.3786, allocations: 319.6 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3786, allocations: 5.344 kB / 0.5505 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.3786, allocations: 5.312 kB / 0.5505 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.3787, allocations: 26.3 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.3793, allocations: 286.4 kB / 0.5508 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.3817, allocations: 1.148 MB / 0.5519 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.3822, allocations: 219.5 kB / 0.5521 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3823, allocations: 98.33 kB / 0.5522 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3824, allocations: 6.156 kB / 0.5522 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3824, allocations: 32.75 kB / 0.5522 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.3824, allocations: 1.094 kB / 0.5522 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008741/0.3833, allocations: 444.3 kB / 0.5527 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.3833, allocations: 86.47 kB / 0.5527 GB, free: 8.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3835, allocations: 198.8 kB / 0.5529 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3836, allocations: 26.64 kB / 0.553 GB, free: 8.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3837, allocations: 159.8 kB / 0.5531 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.3838, allocations: 59.83 kB / 0.5532 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.3838, allocations: 52.03 kB / 0.5532 GB, free: 8.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.384, allocations: 331.6 kB / 0.5535 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3841, allocations: 87.34 kB / 0.5536 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.3843, allocations: 160 kB / 0.5538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.3847, allocations: 264.3 kB / 0.554 GB, free: 7.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3847, allocations: 0 / 0.554 GB, free: 7.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004464/0.3851, allocations: 298.6 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3852, allocations: 5.656 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3852, allocations: 2.594 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3852, allocations: 4.25 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3854, allocations: 54.97 kB / 0.5544 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3854, allocations: 8.453 kB / 0.5544 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3856, allocations: 14.64 kB / 0.5544 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3856, allocations: 11.88 kB / 0.5544 GB, free: 7.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001601/0.3858, allocations: 153.9 kB / 0.5545 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.3858, allocations: 19.39 kB / 0.5546 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.3862, allocations: 226.3 kB / 0.5548 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3862, allocations: 6.375 kB / 0.5548 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3862, allocations: 5.203 kB / 0.5548 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3862, allocations: 0 / 0.5548 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3877, allocations: 0.8652 MB / 0.5556 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3877, allocations: 4 kB / 0.5556 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3879, allocations: 35.92 kB / 0.5557 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.3879, allocations: 4 kB / 0.5557 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3879, allocations: 11.98 kB / 0.5557 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.3879, allocations: 8.438 kB / 0.5557 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.3879, allocations: 11.94 kB / 0.5557 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.3885, allocations: 423.8 kB / 0.5561 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.3886, allocations: 19.89 kB / 0.5561 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3886, allocations: 8 kB / 0.5561 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3888, allocations: 11.98 kB / 0.5562 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3889, allocations: 23.86 kB / 0.5562 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3889, allocations: 12 kB / 0.5562 GB, free: 5.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.389, allocations: 147.1 kB / 0.5563 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.389, allocations: 0 / 0.5563 GB, free: 5.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004171/0.3894, allocations: 56 kB / 0.5564 GB, free: 5.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (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.0001468/0.3896, allocations: 103.2 kB / 0.5565 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.39, allocations: 215.5 kB / 0.5567 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.39, allocations: 0 / 0.5567 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3902, allocations: 104.7 kB / 0.5568 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.3907, allocations: 31.98 kB / 0.5568 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3918, allocations: 0.5727 MB / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.392, allocations: 152.9 kB / 0.5575 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3922, allocations: 49.59 kB / 0.5576 GB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.3923, allocations: 27.44 kB / 0.5576 GB, free: 4.117 MB / 398.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3923, allocations: 0 / 0.5576 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Templates: time 0.006493/0.3988, allocations: 2.074 MB / 0.5596 GB, free: 2.066 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.278496265411377] Failed to read output from testmodel.py, exit status != 0: 0.40928726457059383 0.426580663 0.048195568 Calling exit ...