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.0008858/0.0008858, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.000966/0.000966, allocations: 170.8 kB / 24.92 MB, free: 8.773 MB / 18.57 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2365/0.2365, allocations: 29.42 MB / 291.2 MB, free: 2.492 MB / 266.7 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.673e-06/1.673e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.481e-05, allocations: 2.312 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004502/0.004527, allocations: 3.534 MB / 320.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.006251, allocations: 1.219 MB / 321.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.006398, allocations: 11.94 kB / 321.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.006954, allocations: 199 kB / 321.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.007525, allocations: 286.6 kB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.007808, allocations: 119.5 kB / 322.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.008165, allocations: 339.2 kB / 322.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.008395, allocations: 134.7 kB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.008698, allocations: 203.3 kB / 322.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.008917, allocations: 143.6 kB / 323 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.008941, allocations: 12 kB / 323 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.009327, allocations: 283.1 kB / 323.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.009434, allocations: 111.7 kB / 323.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.009513, allocations: 71.83 kB / 323.5 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.009908, allocations: 318.9 kB / 323.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.009911, allocations: 4 kB / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009912, allocations: 0 / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.009916, allocations: 0 / 323.8 MB, free: 9 MB / 298.7 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.0004874/0.0104, allocations: 427.2 kB / 324.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01044, allocations: 15.98 kB / 324.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.01119, allocations: 132.7 kB / 324.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.01144, allocations: 205.3 kB / 324.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.01146, allocations: 12.38 kB / 324.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.01149, allocations: 16.38 kB / 324.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.01174, allocations: 217.9 kB / 324.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01176, allocations: 192 / 324.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.01177, allocations: 4.375 kB / 324.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.01181, allocations: 23.92 kB / 324.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.01196, allocations: 98.69 kB / 324.9 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.01293, allocations: 0.8909 MB / 325.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.01317, allocations: 169.3 kB / 326 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.01322, allocations: 25.78 kB / 326 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.01324, allocations: 11.98 kB / 326 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.01326, allocations: 38.55 kB / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.01326, allocations: 0 / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003769/0.01364, allocations: 164 kB / 326.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.01368, allocations: 81.11 kB / 326.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.0138, allocations: 187.2 kB / 326.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.01382, allocations: 25.7 kB / 326.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.01388, allocations: 148.3 kB / 326.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.01392, allocations: 63.47 kB / 326.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.01399, allocations: 49.88 kB / 326.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.01409, allocations: 342.8 kB / 327.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.01413, allocations: 23.3 kB / 327.1 MB, free: 5.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.01421, allocations: 96.94 kB / 327.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.01437, allocations: 148.6 kB / 327.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01437, allocations: 0 / 327.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002035/0.01457, allocations: 148.3 kB / 327.5 MB, free: 5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01459, allocations: 4 kB / 327.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01459, allocations: 4 kB / 327.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01461, allocations: 4 kB / 327.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.01479, allocations: 52.19 kB / 327.6 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.0148, allocations: 7.938 kB / 327.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.01488, allocations: 8 kB / 327.6 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.01489, allocations: 11.98 kB / 327.6 MB, free: 4.91 MB / 298.7 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 9.333e-05/0.01499, allocations: 132.5 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.01503, allocations: 15.98 kB / 327.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.01521, allocations: 107.3 kB / 327.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01521, allocations: 4 kB / 327.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01521, allocations: 0 / 327.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01522, allocations: 0 / 327.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.01589, allocations: 0.6066 MB / 328.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01589, allocations: 4.5 kB / 328.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.01599, allocations: 39.92 kB / 328.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.01599, allocations: 8 kB / 328.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01601, allocations: 12 kB / 328.5 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.01602, allocations: 7.938 kB / 328.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.01602, allocations: 7.938 kB / 328.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.01628, allocations: 380.8 kB / 328.9 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.01631, allocations: 19.89 kB / 328.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01633, allocations: 12 kB / 329 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01644, allocations: 4 kB / 329 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.01648, allocations: 31.84 kB / 329 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.01649, allocations: 8 kB / 329 MB, free: 3.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.01654, allocations: 52.66 kB / 329 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01654, allocations: 4 kB / 329 MB, free: 3.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.01684, allocations: 48 kB / 329.1 MB, free: 3.23 MB / 298.7 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.0001004/0.01694, allocations: 88.3 kB / 329.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.01712, allocations: 116.6 kB / 329.3 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.01713, allocations: 0 / 329.3 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.0172, allocations: 48.72 kB / 329.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.01754, allocations: 52.83 kB / 329.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.01853, allocations: 0.5477 MB / 329.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.017e-05/0.01861, allocations: 99.95 kB / 330 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.01869, allocations: 25.62 kB / 330.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01881, allocations: 75.36 kB / 330.1 MB, free: 2.066 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01881, allocations: 0 / 330.1 MB, free: 2.066 MB / 298.7 MB Notification: Performance of Templates: time 0.004377/0.02319, allocations: 1.957 MB / 332.1 MB, free: 128 kB / 298.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.756951300892979]