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.001138/0.001138, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002111/0.002111, allocations: 170.4 kB / 24.91 MB, free: 8.688 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.273/0.273, allocations: 29.42 MB / 291.2 MB, free: 2.418 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 3.266e-06/3.266e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.29e-05, allocations: 5.438 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.00599/0.006023, allocations: 6.387 MB / 323.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.00974, allocations: 2.341 MB / 325.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.01034, allocations: 43.62 kB / 325.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.01126, allocations: 302 kB / 325.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.01231, allocations: 0.5204 MB / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.01342, allocations: 470.6 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.01496, allocations: 1.355 MB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.01574, allocations: 0.5662 MB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.01708, allocations: 0.8611 MB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008792/0.01796, allocations: 0.5648 MB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.01811, allocations: 76 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.01869, allocations: 287.4 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.01914, allocations: 0.526 MB / 331.1 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.01957, allocations: 387.1 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.02084, allocations: 0.9928 MB / 332.5 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.02085, allocations: 8 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02085, allocations: 0 / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.02088, allocations: 0 / 332.5 MB, free: 292 kB / 298.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.001768/0.02265, allocations: 1.206 MB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.02269, allocations: 15.98 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007811/0.02347, allocations: 236.6 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.02428, allocations: 0.5671 MB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.02433, allocations: 70.38 kB / 334.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.02448, allocations: 104.8 kB / 334.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.02525, allocations: 0.7987 MB / 335.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.02528, allocations: 4 kB / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.02533, allocations: 35.98 kB / 335.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.02547, allocations: 65.97 kB / 335.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.02599, allocations: 382 kB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.02933, allocations: 3.595 MB / 339.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.0298, allocations: 411.1 kB / 339.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.02999, allocations: 190 kB / 340.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.03003, allocations: 12.66 kB / 340.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.03035, allocations: 362.2 kB / 340.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.176e-06/0.03036, allocations: 0 / 340.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.001888/0.03224, allocations: 1.352 MB / 341.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.03231, allocations: 166.9 kB / 342 MB, free: 6.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.03263, allocations: 0.4997 MB / 342.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.03267, allocations: 45.69 kB / 342.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.03285, allocations: 409.4 kB / 342.9 MB, free: 5.285 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.033, allocations: 265.7 kB / 343.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.03315, allocations: 166.5 kB / 343.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.03326, allocations: 390.6 kB / 343.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.03341, allocations: 138.5 kB / 343.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.03368, allocations: 411.6 kB / 344.3 MB, free: 3.797 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.001219/0.0349, allocations: 1.177 MB / 345.5 MB, free: 2.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.03491, allocations: 3.938 kB / 345.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007743/0.03568, allocations: 0.6867 MB / 346.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.03571, allocations: 33.7 kB / 346.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.03573, allocations: 8 kB / 346.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.03606, allocations: 167.2 kB / 346.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.03656, allocations: 211.7 kB / 346.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.03925, allocations: 4.569 MB / 351.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.03964, allocations: 24 kB / 351.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.03969, allocations: 35.98 kB / 351.2 MB, free: 12.43 MB / 330.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.000353/0.04004, allocations: 226.7 kB / 351.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.04013, allocations: 67.88 kB / 351.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.04084, allocations: 0.6002 MB / 352.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.04086, allocations: 11.98 kB / 352.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.04086, allocations: 4 kB / 352.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.04087, allocations: 0 / 352.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.04236, allocations: 1.235 MB / 353.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.04237, allocations: 0 / 353.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.04274, allocations: 128 kB / 353.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.04312, allocations: 187.1 kB / 353.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.04316, allocations: 23.98 kB / 353.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.04592, allocations: 4.584 MB / 358.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.04592, allocations: 0 / 358.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.04689, allocations: 0.9042 MB / 359.1 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.047, allocations: 71.5 kB / 359.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.04708, allocations: 27.92 kB / 359.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.04725, allocations: 16 kB / 359.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.04738, allocations: 64.47 kB / 359.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.04742, allocations: 15.98 kB / 359.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.0476, allocations: 228.6 kB / 359.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0476, allocations: 0 / 359.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008065/0.0484, allocations: 272 kB / 359.8 MB, free: 3.301 MB / 330.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.0002045/0.04861, allocations: 118.1 kB / 359.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.04962, allocations: 0.9764 MB / 360.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/0.04964, allocations: 8.5 kB / 360.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.05026, allocations: 0.7221 MB / 361.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.05083, allocations: 197 kB / 361.8 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.05341, allocations: 1.719 MB / 363.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.05364, allocations: 268 kB / 363.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.05391, allocations: 86.45 kB / 363.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.0542, allocations: 201.2 kB / 364.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.0542, allocations: 0 / 364.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Templates: time 0.01642/0.07062, allocations: 12.09 MB / 376.2 MB, free: 2.922 MB / 346.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.359626871999353]