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.00129/0.00129, allocations: 71.59 kB / 21.24 MB, free: 0.5469 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.001382/0.001382, allocations: 159.5 kB / 24.49 MB, free: 3.727 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.1759/0.1759, allocations: 29.42 MB / 290.7 MB, free: 3.266 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.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: 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.002178/0.002178, allocations: 63.91 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3577, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007513/0.3652, allocations: 7.165 MB / 0.4891 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.3694, allocations: 2.217 MB / 0.4912 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.3698, allocations: 37.91 kB / 0.4913 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.3718, allocations: 0.8405 MB / 0.4921 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.373, allocations: 0.5097 MB / 0.4926 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3742, allocations: 455.3 kB / 0.493 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3754, allocations: 1.322 MB / 0.4943 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.376, allocations: 0.5239 MB / 0.4948 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/0.3769, allocations: 0.604 MB / 0.4954 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.3777, allocations: 0.6933 MB / 0.4961 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3779, allocations: 81.03 kB / 0.4962 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.3784, allocations: 280.1 kB / 0.4964 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.3788, allocations: 0.5132 MB / 0.4969 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.3792, allocations: 463.1 kB / 0.4974 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3803, allocations: 1.349 MB / 0.4987 GB, free: 28.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3803, allocations: 0 / 0.4987 GB, free: 28.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3803, allocations: 0 / 0.4987 GB, free: 28.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3803, allocations: 0 / 0.4987 GB, free: 28.2 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.002113/0.3825, allocations: 1.299 MB / 0.4999 GB, free: 27.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3825, allocations: 13.33 kB / 0.5 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.3836, allocations: 210.9 kB / 0.5002 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3847, allocations: 0.6712 MB / 0.5008 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.3848, allocations: 66.06 kB / 0.5009 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.385, allocations: 115.1 kB / 0.501 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3864, allocations: 1.25 MB / 0.5022 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.3864, allocations: 7.094 kB / 0.5022 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.3865, allocations: 33.28 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.3868, allocations: 64.19 kB / 0.5023 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3881, allocations: 1.033 MB / 0.5033 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.3927, allocations: 4.303 MB / 0.5075 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.3936, allocations: 0.6474 MB / 0.5082 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.3941, allocations: 443 kB / 0.5086 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.3941, allocations: 21.58 kB / 0.5086 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.3947, allocations: 0.5435 MB / 0.5091 GB, free: 22.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.845e-06/0.3947, allocations: 0 / 0.5091 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=73): time 0.004144/0.3989, allocations: 2.813 MB / 0.5119 GB, free: 20.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.399, allocations: 171.7 kB / 0.512 GB, free: 20.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3996, allocations: 0.5784 MB / 0.5126 GB, free: 20.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.3996, allocations: 42.55 kB / 0.5126 GB, free: 20.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.3999, allocations: 489.2 kB / 0.5131 GB, free: 19.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.4001, allocations: 269.7 kB / 0.5134 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.4003, allocations: 171.1 kB / 0.5135 GB, free: 19.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4004, allocations: 390.2 kB / 0.5139 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.401, allocations: 401.3 kB / 0.5143 GB, free: 18.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.4017, allocations: 0.6562 MB / 0.5149 GB, free: 18.5 MB / 446.1 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.006616/0.4083, allocations: 3.225 MB / 0.5181 GB, free: 17.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4083, allocations: 2.312 kB / 0.5181 GB, free: 17.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002402/0.4107, allocations: 1.365 MB / 0.5194 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.4107, allocations: 35.06 kB / 0.5194 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4108, allocations: 9.5 kB / 0.5195 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000676/0.4114, allocations: 242.3 kB / 0.5197 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4127, allocations: 263.1 kB / 0.5199 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.4178, allocations: 5.671 MB / 0.5255 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.4185, allocations: 38.03 kB / 0.5255 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.4187, allocations: 40.22 kB / 0.5255 GB, free: 11.84 MB / 446.1 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.0006377/0.4193, allocations: 379.9 kB / 0.5259 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4195, allocations: 79.72 kB / 0.526 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4217, allocations: 1.178 MB / 0.5271 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.4217, allocations: 12.88 kB / 0.5272 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.4217, allocations: 7.594 kB / 0.5272 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4217, allocations: 4.031 kB / 0.5272 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.4263, allocations: 2.058 MB / 0.5292 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.4263, allocations: 1.125 kB / 0.5292 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.4274, allocations: 186.3 kB / 0.5293 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.4282, allocations: 246.3 kB / 0.5296 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.4283, allocations: 22.12 kB / 0.5296 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.4333, allocations: 5.585 MB / 0.5351 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.4333, allocations: 3.359 kB / 0.5351 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.4362, allocations: 1.717 MB / 0.5367 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.4366, allocations: 69.27 kB / 0.5368 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.4368, allocations: 26.19 kB / 0.5368 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.4373, allocations: 27.42 kB / 0.5369 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4374, allocations: 61.56 kB / 0.5369 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.4375, allocations: 22.02 kB / 0.5369 GB, free: 4.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.4382, allocations: 396.3 kB / 0.5373 GB, free: 4.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4382, allocations: 3.938 kB / 0.5373 GB, free: 4.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001578/0.4398, allocations: 271.9 kB / 0.5376 GB, free: 4.156 MB / 446.1 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.0002489/0.44, allocations: 134.2 kB / 0.5377 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.4427, allocations: 1.408 MB / 0.5391 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4427, allocations: 0 / 0.5391 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.4442, allocations: 0.9165 MB / 0.54 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4453, allocations: 182.3 kB / 0.5401 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.4497, allocations: 2.237 MB / 0.5423 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/0.4506, allocations: 0.5084 MB / 0.5428 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006662/0.4512, allocations: 213.6 kB / 0.543 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.4514, allocations: 56.91 kB / 0.5431 GB, free: 1.18 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4514, allocations: 0 / 0.5431 GB, free: 1.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02334/0.4748, allocations: 11.35 MB / 0.5542 GB, free: 10.3 MB / 462.1 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=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.526340981014073] Failed to read output from testmodel.py, exit status != 0: 0.48519417305942625 0.500659737 0.116973192 Calling exit ...