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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.1903/0.1903, allocations: 38.54 MB / 346.3 MB, free: 2.098 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002355/0.002355, allocations: 67.83 kB / 484.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3739, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007179/0.381, allocations: 7.767 MB / 0.5406 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.3852, allocations: 2.344 MB / 0.5429 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.3856, allocations: 37.03 kB / 0.5429 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.3881, allocations: 0.8869 MB / 0.5438 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.3895, allocations: 0.5077 MB / 0.5443 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3911, allocations: 458.8 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.393, allocations: 1.316 MB / 0.546 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.3939, allocations: 460.8 kB / 0.5464 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.3953, allocations: 0.5842 MB / 0.547 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3965, allocations: 0.7338 MB / 0.5477 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3967, allocations: 86.22 kB / 0.5478 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.3973, allocations: 294.9 kB / 0.5481 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.3979, allocations: 0.5145 MB / 0.5486 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.3986, allocations: 0.5455 MB / 0.5491 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.4004, allocations: 1.333 MB / 0.5504 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4005, allocations: 0 / 0.5504 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4005, allocations: 0 / 0.5504 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.4005, allocations: 1.156 kB / 0.5504 GB, free: 8.938 MB / 398.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.002904/0.4034, allocations: 1.291 MB / 0.5517 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4034, allocations: 9.469 kB / 0.5517 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4045, allocations: 170.9 kB / 0.5519 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.406, allocations: 0.6734 MB / 0.5525 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.4061, allocations: 65.78 kB / 0.5526 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.4064, allocations: 108.9 kB / 0.5527 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.4084, allocations: 1.22 MB / 0.5539 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.4084, allocations: 10.64 kB / 0.5539 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.4085, allocations: 37.19 kB / 0.5539 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/0.4088, allocations: 61.59 kB / 0.554 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.4105, allocations: 1.011 MB / 0.555 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006703/0.4172, allocations: 4.689 MB / 0.5596 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.4184, allocations: 0.6217 MB / 0.5602 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.419, allocations: 410.7 kB / 0.5606 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.4191, allocations: 8.656 kB / 0.5606 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008308/0.4199, allocations: 0.5211 MB / 0.5611 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.063e-06/0.4199, allocations: 0 / 0.5611 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005233/0.4251, allocations: 2.729 MB / 0.5637 GB, free: 12.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.4252, allocations: 170.9 kB / 0.5639 GB, free: 12.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.426, allocations: 0.5899 MB / 0.5645 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.4261, allocations: 45.69 kB / 0.5645 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.4265, allocations: 484.2 kB / 0.565 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.4268, allocations: 269.8 kB / 0.5652 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.4271, allocations: 170.6 kB / 0.5654 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.4273, allocations: 394.7 kB / 0.5658 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.4279, allocations: 373.8 kB / 0.5661 GB, free: 9.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.4288, allocations: 0.6349 MB / 0.5668 GB, free: 8.938 MB / 414.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.007547/0.4364, allocations: 3.209 MB / 0.5699 GB, free: 5.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.4364, allocations: 4 kB / 0.5699 GB, free: 5.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002496/0.4389, allocations: 1.344 MB / 0.5712 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.4389, allocations: 39.72 kB / 0.5712 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.439, allocations: 8 kB / 0.5712 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.4396, allocations: 254.6 kB / 0.5715 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4408, allocations: 255.6 kB / 0.5717 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.4471, allocations: 5.783 MB / 0.5774 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.4478, allocations: 31.98 kB / 0.5774 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.4479, allocations: 44.06 kB / 0.5775 GB, free: 13.48 MB / 430.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.0006186/0.4485, allocations: 375 kB / 0.5778 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.4486, allocations: 87.36 kB / 0.5779 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.4508, allocations: 1.137 MB / 0.579 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.4509, allocations: 11.98 kB / 0.579 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.4509, allocations: 4 kB / 0.579 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4509, allocations: 3.984 kB / 0.579 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.4549, allocations: 2.228 MB / 0.5812 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4549, allocations: 0 / 0.5812 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/0.4559, allocations: 187.9 kB / 0.5814 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007868/0.4567, allocations: 250.7 kB / 0.5816 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.4567, allocations: 27.92 kB / 0.5816 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/0.4629, allocations: 5.705 MB / 0.5872 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4629, allocations: 0 / 0.5872 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.4659, allocations: 1.648 MB / 0.5888 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4661, allocations: 75.53 kB / 0.5889 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4662, allocations: 23.98 kB / 0.5889 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.4667, allocations: 23.98 kB / 0.5889 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.4668, allocations: 60.48 kB / 0.589 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.4669, allocations: 27.98 kB / 0.589 GB, free: 1.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005427/0.4674, allocations: 415 kB / 0.5894 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4674, allocations: 3.938 kB / 0.5894 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4686, allocations: 268 kB / 0.5897 GB, free: 444 kB / 430.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.0002323/0.4688, allocations: 127.1 kB / 0.5898 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.4713, allocations: 1.353 MB / 0.5911 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4713, allocations: 0 / 0.5911 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.4728, allocations: 0.8747 MB / 0.592 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.4737, allocations: 186.3 kB / 0.5922 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.4776, allocations: 2.197 MB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/0.4785, allocations: 1.119 MB / 0.5954 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.4791, allocations: 214.5 kB / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.4793, allocations: 59.42 kB / 0.5957 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4793, allocations: 0 / 0.5957 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.02288/0.5022, allocations: 11.9 MB / 0.6073 GB, free: 14.29 MB / 462.1 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.625660269521177] Failed to read output from testmodel.py, exit status != 0: 0.51156912650913 0.526640887 0.122877915 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efe15d4d7b0>