Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.0009386/0.0009386, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001043/0.001043, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 0.9821/0.9821, allocations: 177.1 MB / 205.3 MB, free: 4.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.1239/0.1239, allocations: 29.43 MB / 291.2 MB, free: 2.688 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.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 316.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002792/0.0002809, allocations: 6.25 kB / 316.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.005353/0.005633, allocations: 6.436 MB / 323.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.009051, allocations: 2.34 MB / 325.6 MB, free: 212 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.00943, allocations: 35.69 kB / 325.7 MB, free: 176 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.0102, allocations: 321.9 kB / 326 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008197/0.01102, allocations: 0.5048 MB / 326.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.01194, allocations: 470.5 kB / 327 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01319, allocations: 1.348 MB / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.01384, allocations: 0.5701 MB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.01489, allocations: 0.8494 MB / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007111/0.01561, allocations: 0.5687 MB / 330.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.01573, allocations: 76 kB / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.0163, allocations: 287.4 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.0167, allocations: 0.5339 MB / 331.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.01733, allocations: 391.1 kB / 331.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.01831, allocations: 0.9889 MB / 332.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01831, allocations: 0 / 332.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01832, allocations: 0 / 332.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.01834, allocations: 3.938 kB / 332.6 MB, free: 9.262 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001543/0.01988, allocations: 1.218 MB / 333.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01991, allocations: 8.031 kB / 333.8 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/0.02066, allocations: 240.6 kB / 334 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.02132, allocations: 0.5671 MB / 334.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.02137, allocations: 62.38 kB / 334.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.02156, allocations: 104.8 kB / 334.7 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.02241, allocations: 0.8065 MB / 335.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.02244, allocations: 3.953 kB / 335.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.02249, allocations: 39.98 kB / 335.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.02263, allocations: 57.97 kB / 335.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.02314, allocations: 390 kB / 336 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.02662, allocations: 3.584 MB / 339.6 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.0271, allocations: 397.8 kB / 340 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.02729, allocations: 186 kB / 340.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.02733, allocations: 20.64 kB / 340.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.02766, allocations: 366.2 kB / 340.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.465e-06/0.02767, allocations: 0 / 340.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.1325/0.1602, allocations: 1.351 MB / 341.9 MB, free: 30.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1602, allocations: 167.4 kB / 342.1 MB, free: 30.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.1606, allocations: 0.4964 MB / 342.6 MB, free: 30.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.1606, allocations: 48.98 kB / 342.6 MB, free: 30.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1608, allocations: 416.3 kB / 343 MB, free: 30.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1609, allocations: 263.5 kB / 343.3 MB, free: 29.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1611, allocations: 164 kB / 343.4 MB, free: 29.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.1612, allocations: 393.2 kB / 343.8 MB, free: 29.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1614, allocations: 139.5 kB / 344 MB, free: 29.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.1616, allocations: 406 kB / 344.4 MB, free: 29.17 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1629, allocations: 1.162 MB / 345.5 MB, free: 28.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1629, allocations: 7 kB / 345.5 MB, free: 28.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008505/0.1638, allocations: 0.6823 MB / 346.2 MB, free: 28.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.1638, allocations: 35.39 kB / 346.2 MB, free: 28.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.1638, allocations: 9.812 kB / 346.3 MB, free: 28.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.1642, allocations: 172.2 kB / 346.4 MB, free: 28.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.1648, allocations: 224.5 kB / 346.6 MB, free: 28.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.1671, allocations: 4.582 MB / 351.2 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.1675, allocations: 35.66 kB / 351.3 MB, free: 24.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.1675, allocations: 31.81 kB / 351.3 MB, free: 24.61 MB / 314.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.1678, allocations: 219.2 kB / 351.5 MB, free: 24.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1679, allocations: 74.62 kB / 351.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.1687, allocations: 0.6012 MB / 352.2 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.1687, allocations: 8.922 kB / 352.2 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1688, allocations: 3.5 kB / 352.2 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1688, allocations: 5.109 kB / 352.2 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1703, allocations: 1.231 MB / 353.4 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1703, allocations: 6.094 kB / 353.4 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.1708, allocations: 157 kB / 353.6 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.1712, allocations: 182.8 kB / 353.8 MB, free: 23.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.1712, allocations: 30.09 kB / 353.8 MB, free: 23.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.1732, allocations: 4.571 MB / 358.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1732, allocations: 11.14 kB / 358.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.174, allocations: 0.8999 MB / 359.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.174, allocations: 68 kB / 359.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.1741, allocations: 21.67 kB / 359.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1743, allocations: 17.28 kB / 359.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1744, allocations: 56.45 kB / 359.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.1744, allocations: 17.34 kB / 359.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1746, allocations: 228.7 kB / 359.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1746, allocations: 0 / 359.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008055/0.1754, allocations: 274.8 kB / 359.9 MB, free: 19.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.1756, allocations: 120.4 kB / 360.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.1764, allocations: 0.981 MB / 361 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.1764, allocations: 8.25 kB / 361.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.1769, allocations: 0.7252 MB / 361.8 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.1774, allocations: 186.9 kB / 362 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1794, allocations: 1.718 MB / 363.7 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.1795, allocations: 261.3 kB / 363.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.1797, allocations: 101.6 kB / 364 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.18, allocations: 198.3 kB / 364.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.18, allocations: 4 kB / 364.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of Templates: time 0.01292/0.1929, allocations: 12.1 MB / 376.3 MB, free: 6.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.225081153679639]