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.001851/0.001851, 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.002306/0.002306, allocations: 209 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.585/1.585, allocations: 230.6 MB / 258.2 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.1856/0.1856, allocations: 38.55 MB / 353.2 MB, free: 12.29 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.002108/0.002108, allocations: 67.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 62.47 MB / 0.5432 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00547/0.3405, allocations: 3.439 MB / 0.5465 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.3429, allocations: 1.427 MB / 0.5479 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3431, allocations: 9.375 kB / 0.5479 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.3439, allocations: 248 kB / 0.5482 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006735/0.3446, allocations: 278.4 kB / 0.5484 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3449, allocations: 126.9 kB / 0.5485 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.3454, allocations: 343.2 kB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.3457, allocations: 126.9 kB / 0.549 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.346, allocations: 167.6 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.3463, allocations: 157.6 kB / 0.5493 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3463, allocations: 14.03 kB / 0.5493 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.3468, allocations: 277.2 kB / 0.5496 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.347, allocations: 102 kB / 0.5497 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3471, allocations: 85.44 kB / 0.5498 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.3476, allocations: 365.3 kB / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3476, allocations: 4 kB / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3476, allocations: 1.219 kB / 0.5501 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3476, allocations: 3.938 kB / 0.5501 GB, free: 11.21 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.000732/0.3484, allocations: 456.4 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3484, allocations: 13.36 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/0.3493, allocations: 97.89 kB / 0.5507 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.3498, allocations: 217.5 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3498, allocations: 10.97 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3498, allocations: 16.28 kB / 0.5509 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.3504, allocations: 323.3 kB / 0.5512 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3504, allocations: 1.156 kB / 0.5512 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.3504, allocations: 6.281 kB / 0.5512 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.3505, allocations: 21.3 kB / 0.5512 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.3509, allocations: 287.3 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3527, allocations: 1.144 MB / 0.5526 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.3532, allocations: 223.9 kB / 0.5528 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3534, allocations: 95.3 kB / 0.5529 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3534, allocations: 2.594 kB / 0.5529 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3534, allocations: 37 kB / 0.553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.3534, allocations: 0 / 0.553 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009103/0.3543, allocations: 442.8 kB / 0.5534 GB, free: 8.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3544, allocations: 87.45 kB / 0.5535 GB, free: 8.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3546, allocations: 202.3 kB / 0.5537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3546, allocations: 27.02 kB / 0.5537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3547, allocations: 159.3 kB / 0.5538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.3548, allocations: 67.48 kB / 0.5539 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.3549, allocations: 52.38 kB / 0.554 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.355, allocations: 323.4 kB / 0.5543 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3552, allocations: 91.94 kB / 0.5544 GB, free: 7.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.3554, allocations: 159 kB / 0.5545 GB, free: 7.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3558, allocations: 264.1 kB / 0.5548 GB, free: 7.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3558, allocations: 1.031 kB / 0.5548 GB, free: 7.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004573/0.3562, allocations: 293.9 kB / 0.555 GB, free: 7.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3562, allocations: 6.438 kB / 0.555 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3562, allocations: 2.219 kB / 0.555 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3563, allocations: 3.75 kB / 0.555 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3565, allocations: 64.17 kB / 0.5551 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3565, allocations: 3.125 kB / 0.5551 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3567, allocations: 11.14 kB / 0.5551 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3567, allocations: 20.11 kB / 0.5551 GB, free: 7.305 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.0001688/0.3569, allocations: 145.3 kB / 0.5553 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3569, allocations: 19.62 kB / 0.5553 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.3573, allocations: 238.4 kB / 0.5555 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3573, allocations: 10.19 kB / 0.5555 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3574, allocations: 1.062 kB / 0.5555 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3574, allocations: 0 / 0.5555 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3587, allocations: 0.8669 MB / 0.5564 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3587, allocations: 4 kB / 0.5564 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3589, allocations: 35.92 kB / 0.5564 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.3589, allocations: 4 kB / 0.5564 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3589, allocations: 8 kB / 0.5564 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3589, allocations: 7.984 kB / 0.5564 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.3589, allocations: 12.41 kB / 0.5565 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.3594, allocations: 411.8 kB / 0.5568 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.3594, allocations: 19.89 kB / 0.5569 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.3595, allocations: 12 kB / 0.5569 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.3596, allocations: 11.98 kB / 0.5569 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.3597, allocations: 23.86 kB / 0.5569 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3597, allocations: 12 kB / 0.5569 GB, free: 5.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3598, allocations: 147.1 kB / 0.5571 GB, free: 5.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3598, allocations: 0 / 0.5571 GB, free: 5.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.3602, allocations: 56 kB / 0.5571 GB, free: 5.402 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.0001221/0.3604, allocations: 99.19 kB / 0.5572 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3608, allocations: 215.5 kB / 0.5574 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3608, allocations: 0 / 0.5574 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3609, allocations: 101 kB / 0.5575 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3614, allocations: 42.05 kB / 0.5576 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3625, allocations: 0.6095 MB / 0.5581 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.3626, allocations: 152.6 kB / 0.5583 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.3627, allocations: 23.42 kB / 0.5583 GB, free: 4.062 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3627, allocations: 0 / 0.5583 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Templates: time 0.005301/0.368, allocations: 2.766 MB / 0.561 GB, free: 1.289 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: 7.8541847062297165] Failed to read output from testmodel.py, exit status != 0: 0.37730056000873446 0.392145517 0.041215739 Calling exit ...