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.001025/0.001025, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001047/0.001047, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.621 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.2388/0.2388, allocations: 29.42 MB / 290.9 MB, free: 2.48 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.837e-06/3.837e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.496e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008887/0.008922, allocations: 6.418 MB / 376 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.01376, allocations: 2.313 MB / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/0.0146, allocations: 39.69 kB / 378.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.01592, allocations: 318 kB / 378.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01722, allocations: 0.5087 MB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.0186, allocations: 474.6 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.02053, allocations: 1.351 MB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.02156, allocations: 0.5097 MB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.02335, allocations: 0.7596 MB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.02443, allocations: 0.6623 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.02461, allocations: 80 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.02525, allocations: 279.5 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.02572, allocations: 0.5455 MB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.02619, allocations: 387.1 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.02751, allocations: 1.012 MB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.02752, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02752, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.02756, allocations: 4 kB / 385.2 MB, free: 11.31 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.001946/0.0295, allocations: 1.385 MB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.02955, allocations: 19.98 kB / 386.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.03043, allocations: 296 kB / 386.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.03142, allocations: 0.6849 MB / 387.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.03146, allocations: 66.38 kB / 387.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.03164, allocations: 100.9 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.03268, allocations: 0.9089 MB / 388.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.03271, allocations: 7.938 kB / 388.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.03277, allocations: 32 kB / 388.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.03292, allocations: 61.97 kB / 388.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.03368, allocations: 493 kB / 389.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.03762, allocations: 4.82 MB / 394.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.03824, allocations: 434.5 kB / 394.5 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.03852, allocations: 255.5 kB / 394.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.03857, allocations: 12.66 kB / 394.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.03902, allocations: 409.7 kB / 395.2 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.03903, allocations: 0 / 395.2 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.002819/0.04185, allocations: 1.987 MB / 397.2 MB, free: 14.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.04192, allocations: 175.1 kB / 397.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.04236, allocations: 0.5892 MB / 397.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.0424, allocations: 45.69 kB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.04265, allocations: 0.5262 MB / 398.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.04281, allocations: 273.8 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.043, allocations: 176.2 kB / 398.9 MB, free: 13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.04317, allocations: 0.5742 MB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.04342, allocations: 175.6 kB / 399.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.04382, allocations: 0.5474 MB / 400.2 MB, free: 11.53 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.001795/0.04561, allocations: 1.516 MB / 401.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.04562, allocations: 4 kB / 401.8 MB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001182/0.0468, allocations: 0.9208 MB / 402.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.04684, allocations: 45.62 kB / 402.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.04685, allocations: 8 kB / 402.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.04728, allocations: 171 kB / 402.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.04792, allocations: 267.7 kB / 403.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.05148, allocations: 6.328 MB / 409.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.05187, allocations: 35.98 kB / 409.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.05192, allocations: 40 kB / 409.6 MB, free: 1.629 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.0003133/0.05223, allocations: 273.9 kB / 409.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.05234, allocations: 103.5 kB / 409.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.05365, allocations: 0.7681 MB / 410.7 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.05367, allocations: 8 kB / 410.7 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.05367, allocations: 8 kB / 410.7 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.05368, allocations: 11.92 kB / 410.7 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.05574, allocations: 1.69 MB / 412.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.05575, allocations: 0 / 412.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.05627, allocations: 191.7 kB / 412.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.05673, allocations: 195 kB / 412.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.05678, allocations: 24.05 kB / 412.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.06009, allocations: 6.304 MB / 419.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.06009, allocations: 8.094 kB / 419.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.0614, allocations: 1.157 MB / 420.3 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.06151, allocations: 67.52 kB / 420.3 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.06157, allocations: 23.95 kB / 420.4 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.06178, allocations: 31.97 kB / 420.4 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.0619, allocations: 60.48 kB / 420.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.06193, allocations: 27.92 kB / 420.5 MB, free: 6.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.06221, allocations: 370.9 kB / 420.8 MB, free: 5.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06221, allocations: 0 / 420.8 MB, free: 5.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008385/0.06305, allocations: 275.9 kB / 421.1 MB, free: 5.477 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.000196/0.06325, allocations: 131.1 kB / 421.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.06454, allocations: 1.25 MB / 422.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.06454, allocations: 0 / 422.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.06535, allocations: 0.9413 MB / 423.4 MB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.06595, allocations: 197.3 kB / 423.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.06889, allocations: 1.85 MB / 425.5 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.0691, allocations: 264.1 kB / 425.7 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003328/0.06943, allocations: 178.3 kB / 425.9 MB, free: 440 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.06955, allocations: 56.48 kB / 426 MB, free: 384 kB / 394.7 MB Notification: Performance of SimCode: time 1.582e-06/0.06955, allocations: 0 / 426 MB, free: 384 kB / 394.7 MB Notification: Performance of Templates: time 0.01519/0.08474, allocations: 11.42 MB / 437.4 MB, free: 5.109 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.590004452969879]