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.001508/0.001508, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00109/0.00109, allocations: 168.2 kB / 24.82 MB, free: 9.27 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2626/0.2626, allocations: 29.42 MB / 291.2 MB, free: 2.387 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 2.986e-06/2.986e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.922e-05, allocations: 6.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008674/0.008703, allocations: 6.358 MB / 376.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.0134, allocations: 2.294 MB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008306/0.01423, allocations: 35.69 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.01507, allocations: 310.1 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009789/0.01605, allocations: 0.5203 MB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.01709, allocations: 466.7 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.01844, allocations: 1.355 MB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.0191, allocations: 0.5136 MB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.02023, allocations: 0.8649 MB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.02117, allocations: 0.596 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.02126, allocations: 76 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.02173, allocations: 283.4 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.02207, allocations: 0.5338 MB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.02237, allocations: 387.1 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.02324, allocations: 0.9889 MB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.02324, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02324, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.02326, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.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.001364/0.02462, allocations: 1.358 MB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.02466, allocations: 11.98 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/0.02538, allocations: 284 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.0261, allocations: 0.6127 MB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.02614, allocations: 62.38 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.02629, allocations: 104.9 kB / 388.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.02705, allocations: 0.8423 MB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.02708, allocations: 7.938 kB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.02713, allocations: 35.98 kB / 388.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.02728, allocations: 65.97 kB / 389 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.02775, allocations: 403.1 kB / 389.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.03133, allocations: 4.757 MB / 394.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.03179, allocations: 390.5 kB / 394.5 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.03199, allocations: 219.6 kB / 394.7 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.03203, allocations: 12.66 kB / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.03239, allocations: 385.5 kB / 395.1 MB, free: 1.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.104e-06/0.03239, allocations: 0 / 395.1 MB, free: 1.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.001953/0.03435, allocations: 1.467 MB / 396.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.03441, allocations: 166.9 kB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.03505, allocations: 0.585 MB / 397.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.0351, allocations: 45.69 kB / 397.4 MB, free: 14.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.03534, allocations: 0.5378 MB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.0355, allocations: 281.6 kB / 398.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.03566, allocations: 180.1 kB / 398.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.03584, allocations: 0.578 MB / 399 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.03599, allocations: 135.6 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.03631, allocations: 0.5161 MB / 399.6 MB, free: 12.34 MB / 378.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.001246/0.03755, allocations: 1.333 MB / 400.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03756, allocations: 4 kB / 401 MB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009479/0.03851, allocations: 0.8389 MB / 401.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.03855, allocations: 33.7 kB / 401.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.03856, allocations: 8 kB / 401.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.03891, allocations: 166.9 kB / 402 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.03946, allocations: 203.7 kB / 402.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.04278, allocations: 6.228 MB / 408.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.04312, allocations: 28 kB / 408.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.04316, allocations: 32 kB / 408.5 MB, free: 2.922 MB / 378.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.0002895/0.04345, allocations: 261.1 kB / 408.7 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.04355, allocations: 111.4 kB / 408.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/0.0444, allocations: 0.7056 MB / 409.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.04441, allocations: 8 kB / 409.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.04441, allocations: 4 kB / 409.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.04442, allocations: 7.984 kB / 409.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.046, allocations: 1.476 MB / 411 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.046, allocations: 0 / 411 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.04639, allocations: 119.9 kB / 411.2 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007349/0.04712, allocations: 194.9 kB / 411.4 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.04716, allocations: 19.98 kB / 411.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.05, allocations: 6.197 MB / 417.6 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.05001, allocations: 3.938 kB / 417.6 MB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.05145, allocations: 1.067 MB / 418.6 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.05156, allocations: 63.53 kB / 418.7 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.05163, allocations: 31.88 kB / 418.7 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.05181, allocations: 16 kB / 418.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.05193, allocations: 64.48 kB / 418.8 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.05197, allocations: 19.98 kB / 418.8 MB, free: 8.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.05219, allocations: 350.9 kB / 419.2 MB, free: 7.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05219, allocations: 4 kB / 419.2 MB, free: 7.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007726/0.05296, allocations: 268 kB / 419.4 MB, free: 7.414 MB / 394.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.0001789/0.05314, allocations: 131.1 kB / 419.6 MB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.05421, allocations: 1.184 MB / 420.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.05421, allocations: 0 / 420.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.05487, allocations: 0.91 MB / 421.7 MB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.05541, allocations: 179 kB / 421.8 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.05774, allocations: 1.838 MB / 423.7 MB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.05794, allocations: 264 kB / 423.9 MB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.05817, allocations: 98.42 kB / 424 MB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.05845, allocations: 238 kB / 424.3 MB, free: 2.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.05845, allocations: 3.938 kB / 424.3 MB, free: 2.328 MB / 394.7 MB Notification: Performance of Templates: time 0.03017/0.08862, allocations: 12.07 MB / 436.3 MB, free: 6.414 MB / 410.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.482831935863942]