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.001292/0.001292, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004389/0.004389, allocations: 164.8 kB / 24.99 MB, free: 8.789 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2499/0.2499, allocations: 29.41 MB / 291.2 MB, free: 2.512 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.447e-06/3.447e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.576e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01082/0.01086, allocations: 7.57 MB / 377.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.01468, allocations: 2.317 MB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.0152, allocations: 35.69 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.01668, allocations: 0.8555 MB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.01783, allocations: 0.532 MB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.01895, allocations: 470.6 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.02035, allocations: 1.351 MB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007425/0.0211, allocations: 0.5136 MB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02213, allocations: 0.7866 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.0233, allocations: 0.6545 MB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.02343, allocations: 84 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.02399, allocations: 283.5 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.02439, allocations: 0.5339 MB / 385.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.02477, allocations: 403 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.02598, allocations: 1.001 MB / 387 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.02598, allocations: 0 / 387 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.02599, allocations: 0 / 387 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.02601, allocations: 0 / 387 MB, free: 9.91 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.001766/0.02778, allocations: 1.397 MB / 388.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.02782, allocations: 15.92 kB / 388.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009188/0.02874, allocations: 300 kB / 388.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.02972, allocations: 0.6733 MB / 389.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.02977, allocations: 62.38 kB / 389.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.02994, allocations: 112.8 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.03103, allocations: 0.9011 MB / 390.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.03105, allocations: 7.938 kB / 390.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.03112, allocations: 43.97 kB / 390.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/0.03127, allocations: 61.97 kB / 390.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/0.03209, allocations: 489.1 kB / 391 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.03677, allocations: 4.82 MB / 395.8 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.03752, allocations: 430.2 kB / 396.2 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.03784, allocations: 255.6 kB / 396.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.03789, allocations: 20.59 kB / 396.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.03834, allocations: 409.6 kB / 396.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 3.477e-06/0.03834, allocations: 0 / 396.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.003152/0.04149, allocations: 1.983 MB / 398.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.04156, allocations: 166.9 kB / 399.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.04203, allocations: 0.5969 MB / 399.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.04207, allocations: 45.7 kB / 399.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.04234, allocations: 0.5224 MB / 400.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.0425, allocations: 265.8 kB / 400.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.04267, allocations: 180.2 kB / 400.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.04284, allocations: 0.5742 MB / 401.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.04311, allocations: 179.6 kB / 401.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.04352, allocations: 0.5553 MB / 402 MB, free: 10.11 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.001806/0.04532, allocations: 1.512 MB / 403.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.04533, allocations: 0 / 403.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001154/0.04648, allocations: 0.9322 MB / 404.4 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.04652, allocations: 37.7 kB / 404.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.04653, allocations: 8 kB / 404.5 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.04697, allocations: 163.5 kB / 404.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.04761, allocations: 271.5 kB / 404.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.05145, allocations: 6.324 MB / 411.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.05186, allocations: 31.98 kB / 411.2 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.0519, allocations: 43.98 kB / 411.3 MB, free: 232 kB / 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.0003924/0.0523, allocations: 266 kB / 411.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.05241, allocations: 103.4 kB / 411.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.05349, allocations: 0.7876 MB / 412.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.05351, allocations: 8 kB / 412.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.05351, allocations: 4 kB / 412.4 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.05352, allocations: 7.922 kB / 412.4 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.05582, allocations: 1.69 MB / 414.1 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.05583, allocations: 8 kB / 414.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.05636, allocations: 187.9 kB / 414.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.05682, allocations: 194.8 kB / 414.5 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.05687, allocations: 19.98 kB / 414.5 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.06044, allocations: 6.308 MB / 420.8 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.06044, allocations: 0 / 420.8 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.06189, allocations: 1.165 MB / 422 MB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.06204, allocations: 71.41 kB / 422.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.06212, allocations: 31.94 kB / 422.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.06234, allocations: 19.98 kB / 422.1 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.0625, allocations: 60.48 kB / 422.2 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.06254, allocations: 23.98 kB / 422.2 MB, free: 4.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.0629, allocations: 375 kB / 422.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0629, allocations: 0 / 422.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001017/0.06392, allocations: 264 kB / 422.8 MB, free: 4.078 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.0002561/0.06417, allocations: 139.2 kB / 423 MB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.06579, allocations: 1.25 MB / 424.2 MB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.0658, allocations: 4 kB / 424.2 MB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004/0.0698, allocations: 0.9452 MB / 425.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.07061, allocations: 188.5 kB / 425.4 MB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.07733, allocations: 1.845 MB / 427.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.07759, allocations: 268 kB / 427.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.07805, allocations: 170.3 kB / 427.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.07819, allocations: 60.5 kB / 427.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.184e-06/0.07819, allocations: 0 / 427.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03419/0.1124, allocations: 11.42 MB / 439.1 MB, free: 3.711 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.5927681429311633]