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.001513/0.001513, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.00182/0.00182, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.613/1.613, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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.1736/0.1736, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.119e-05, allocations: 9.234 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005696/0.005727, allocations: 3.446 MB / 434.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.008556, allocations: 1.418 MB / 435.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.008807, allocations: 7.938 kB / 435.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.009889, allocations: 250.9 kB / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.01083, allocations: 290.6 kB / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.01131, allocations: 127.5 kB / 436.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.01186, allocations: 350.9 kB / 436.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.0122, allocations: 110.1 kB / 436.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.01261, allocations: 207.3 kB / 436.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.01288, allocations: 151.5 kB / 437 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.01291, allocations: 16 kB / 437 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.01342, allocations: 295 kB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.01354, allocations: 95.77 kB / 437.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.01366, allocations: 79.77 kB / 437.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.01425, allocations: 374.9 kB / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01425, allocations: 0 / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01425, allocations: 0 / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.01426, allocations: 0 / 437.9 MB, free: 10.73 MB / 366.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.0008386/0.0151, allocations: 457 kB / 438.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.01514, allocations: 11.98 kB / 438.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.01606, allocations: 96.64 kB / 438.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.01643, allocations: 209.2 kB / 438.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.01645, allocations: 12.38 kB / 438.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.0165, allocations: 20.36 kB / 438.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.01703, allocations: 314.7 kB / 439 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.01705, allocations: 192 / 439 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.01707, allocations: 12.36 kB / 439 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.01712, allocations: 23.92 kB / 439 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.0176, allocations: 291.7 kB / 439.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.01945, allocations: 1.139 MB / 440.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.01994, allocations: 221.1 kB / 440.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.02009, allocations: 105.6 kB / 440.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.02012, allocations: 3.984 kB / 440.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.02015, allocations: 38.56 kB / 440.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.02015, allocations: 0 / 440.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009415/0.0211, allocations: 444.9 kB / 441.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.02117, allocations: 77.11 kB / 441.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.0214, allocations: 195.2 kB / 441.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.02143, allocations: 33.64 kB / 441.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.02157, allocations: 164.2 kB / 441.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.02162, allocations: 55.53 kB / 441.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.02171, allocations: 53.66 kB / 441.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.02191, allocations: 334.8 kB / 442.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.02206, allocations: 92.02 kB / 442.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.02229, allocations: 157.9 kB / 442.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.02266, allocations: 256.4 kB / 442.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02267, allocations: 4 kB / 442.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004763/0.02314, allocations: 289.2 kB / 442.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.02317, allocations: 18.42 kB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.02318, allocations: 4 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.0232, allocations: 0 / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.02346, allocations: 47.97 kB / 443 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.02348, allocations: 8.219 kB / 443 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.02363, allocations: 23.92 kB / 443 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.02365, allocations: 8 kB / 443 MB, free: 5.293 MB / 366.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.0001646/0.02382, allocations: 161.7 kB / 443.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.02386, allocations: 15.91 kB / 443.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.02428, allocations: 227.3 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02428, allocations: 0 / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02428, allocations: 0 / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.02429, allocations: 7.984 kB / 443.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.02566, allocations: 0.8537 MB / 444.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.02566, allocations: 4 kB / 444.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.02582, allocations: 43.91 kB / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.02582, allocations: 4.5 kB / 444.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.02584, allocations: 12 kB / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.02585, allocations: 4 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.02585, allocations: 7.938 kB / 444.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.02643, allocations: 412.9 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.02647, allocations: 19.91 kB / 444.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.02651, allocations: 11.98 kB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.02667, allocations: 8 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.02672, allocations: 39.72 kB / 444.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.02674, allocations: 16 kB / 444.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.02687, allocations: 143.1 kB / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.02687, allocations: 0 / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.02725, allocations: 52 kB / 445 MB, free: 3.109 MB / 366.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.0001415/0.02739, allocations: 107.1 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.02776, allocations: 218.7 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.02776, allocations: 4.062 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.02791, allocations: 91.83 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.02841, allocations: 57.98 kB / 445.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.02936, allocations: 0.5331 MB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.02956, allocations: 156.1 kB / 446.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.0297, allocations: 57.58 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.02978, allocations: 20.5 kB / 446.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02978, allocations: 0 / 446.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Templates: time 0.1775/0.2073, allocations: 1.806 MB / 448.1 MB, free: 29.89 MB / 366.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: 4.881969261914492] Failed to read output from testmodel.py, exit status != 0: 0.2171102836728096 0.236259138 0.21763089800000002 Calling exit ...