Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.001419/0.001419, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001526/0.001526, allocations: 160.1 kB / 24.5 MB, free: 3.715 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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.176/0.176, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.1 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.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.91 kB / 431.2 MB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3501, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006915/0.357, allocations: 7.176 MB / 0.4891 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.3607, allocations: 2.214 MB / 0.4912 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.3611, allocations: 38.97 kB / 0.4913 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.3632, allocations: 0.8376 MB / 0.4921 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.3645, allocations: 0.516 MB / 0.4926 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3659, allocations: 455.6 kB / 0.493 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.3674, allocations: 1.278 MB / 0.4943 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.368, allocations: 0.5154 MB / 0.4948 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.3688, allocations: 0.5724 MB / 0.4953 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.3696, allocations: 0.6641 MB / 0.496 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3697, allocations: 78.5 kB / 0.4961 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.3702, allocations: 235.7 kB / 0.4963 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.3706, allocations: 0.4949 MB / 0.4968 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.371, allocations: 440.6 kB / 0.4972 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.372, allocations: 1.268 MB / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.372, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.372, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.372, allocations: 0 / 0.4984 GB, free: 28.3 MB / 446.1 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.001987/0.374, allocations: 1.266 MB / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3741, allocations: 13.45 kB / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.3751, allocations: 200.4 kB / 0.4999 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3762, allocations: 0.6618 MB / 0.5005 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.3762, allocations: 58.34 kB / 0.5006 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3764, allocations: 96.05 kB / 0.5007 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.3778, allocations: 1.2 MB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.3778, allocations: 11.3 kB / 0.5018 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.3779, allocations: 37.28 kB / 0.5019 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.378, allocations: 52.5 kB / 0.5019 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3791, allocations: 0.9576 MB / 0.5029 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.3833, allocations: 4.331 MB / 0.5071 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/0.3843, allocations: 0.6466 MB / 0.5077 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.3847, allocations: 382.5 kB / 0.5081 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.3847, allocations: 6.812 kB / 0.5081 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.3852, allocations: 482.5 kB / 0.5086 GB, free: 22.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 2.635e-06/0.3852, allocations: 0 / 0.5086 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.004636/0.3899, allocations: 2.385 MB / 0.5109 GB, free: 21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.3899, allocations: 164.6 kB / 0.511 GB, free: 20.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.3905, allocations: 0.5905 MB / 0.5116 GB, free: 20.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3905, allocations: 36.98 kB / 0.5117 GB, free: 20.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.3908, allocations: 0.4921 MB / 0.5121 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.391, allocations: 235.2 kB / 0.5124 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.3912, allocations: 161.6 kB / 0.5125 GB, free: 19.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.3913, allocations: 384.4 kB / 0.5129 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.3918, allocations: 309.9 kB / 0.5132 GB, free: 19.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.3923, allocations: 0.5823 MB / 0.5137 GB, free: 18.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3934, allocations: 0.9543 MB / 0.5147 GB, free: 18.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3934, allocations: 3.656 kB / 0.5147 GB, free: 18.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00185/0.3952, allocations: 1.246 MB / 0.5159 GB, free: 17.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.3953, allocations: 38.56 kB / 0.5159 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3953, allocations: 13.72 kB / 0.516 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.3962, allocations: 335.9 kB / 0.5163 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.3967, allocations: 144.8 kB / 0.5164 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.4016, allocations: 4.977 MB / 0.5213 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.4021, allocations: 34.52 kB / 0.5213 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.4022, allocations: 38.03 kB / 0.5213 GB, free: 14.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004894/0.4027, allocations: 359.4 kB / 0.5217 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4028, allocations: 75.56 kB / 0.5218 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4047, allocations: 1.066 MB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4047, allocations: 10.56 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.4047, allocations: 5.188 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4047, allocations: 5.453 kB / 0.5228 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.4079, allocations: 1.867 MB / 0.5246 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4079, allocations: 6.047 kB / 0.5246 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.4082, allocations: 83.19 kB / 0.5247 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008472/0.4091, allocations: 305.1 kB / 0.525 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.4091, allocations: 14.55 kB / 0.525 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.4141, allocations: 4.908 MB / 0.5298 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4141, allocations: 2.984 kB / 0.5298 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.4158, allocations: 1.146 MB / 0.5309 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.416, allocations: 73.66 kB / 0.531 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.4161, allocations: 14.53 kB / 0.531 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4164, allocations: 22.89 kB / 0.531 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.4166, allocations: 57.95 kB / 0.5311 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.4166, allocations: 19.12 kB / 0.5311 GB, free: 8.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004726/0.4171, allocations: 404.6 kB / 0.5315 GB, free: 7.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4171, allocations: 0 / 0.5315 GB, free: 7.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00102/0.4181, allocations: 268.8 kB / 0.5318 GB, free: 7.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.4183, allocations: 111.8 kB / 0.5319 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.42, allocations: 1.184 MB / 0.533 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.42, allocations: 0 / 0.533 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009703/0.421, allocations: 0.7727 MB / 0.5338 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.4218, allocations: 186.6 kB / 0.534 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4246, allocations: 1.809 MB / 0.5357 GB, free: 5.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.4252, allocations: 0.5018 MB / 0.5362 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.4257, allocations: 176.1 kB / 0.5364 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4258, allocations: 54.39 kB / 0.5364 GB, free: 5.465 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4258, allocations: 0 / 0.5364 GB, free: 5.465 MB / 446.1 MB Notification: Performance of Templates: time 0.02363/0.4494, allocations: 11.22 MB / 0.5474 GB, free: 1.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.372144212014973] Failed to read output from testmodel.py, exit status != 0: 0.45798993296921253 0.47233088399999995 0.09701413499999995 Calling exit ...