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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001455/0.001455, allocations: 208.2 kB / 23.72 MB, free: 4.496 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1916/0.1916, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.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.002157/0.002157, allocations: 67.91 kB / 493 MB, free: 4.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 62.47 MB / 0.5424 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01058/0.3747, allocations: 7.161 MB / 0.5494 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.3797, allocations: 2.215 MB / 0.5516 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000617/0.3803, allocations: 37.12 kB / 0.5516 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.383, allocations: 0.8382 MB / 0.5524 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3846, allocations: 0.513 MB / 0.5529 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3861, allocations: 454.1 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.3882, allocations: 1.325 MB / 0.5547 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.3891, allocations: 0.5216 MB / 0.5552 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.3903, allocations: 0.595 MB / 0.5557 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.3915, allocations: 0.6981 MB / 0.5564 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.3917, allocations: 80 kB / 0.5565 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.3924, allocations: 279.6 kB / 0.5568 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.3929, allocations: 0.5181 MB / 0.5573 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.3935, allocations: 462 kB / 0.5577 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.3952, allocations: 1.35 MB / 0.559 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3952, allocations: 0 / 0.559 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3952, allocations: 0 / 0.559 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.3953, allocations: 0 / 0.559 GB, free: 3.188 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.002773/0.398, allocations: 1.301 MB / 0.5603 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3981, allocations: 11.98 kB / 0.5603 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3993, allocations: 208.1 kB / 0.5605 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.4009, allocations: 0.6751 MB / 0.5612 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.401, allocations: 62.38 kB / 0.5612 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.4012, allocations: 112 kB / 0.5613 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.4034, allocations: 1.242 MB / 0.5626 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.4034, allocations: 11.92 kB / 0.5626 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.4035, allocations: 32 kB / 0.5626 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/0.4038, allocations: 61.97 kB / 0.5627 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.4056, allocations: 1.036 MB / 0.5637 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/0.4126, allocations: 4.308 MB / 0.5679 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4139, allocations: 0.6452 MB / 0.5685 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.4146, allocations: 449.9 kB / 0.5689 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.4147, allocations: 12.59 kB / 0.5689 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/0.4156, allocations: 0.5385 MB / 0.5695 GB, free: 8.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.4156, allocations: 4 kB / 0.5695 GB, free: 8.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005625/0.4212, allocations: 2.806 MB / 0.5722 GB, free: 5.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.4214, allocations: 174.9 kB / 0.5724 GB, free: 5.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008431/0.4222, allocations: 0.5741 MB / 0.5729 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.51e-05/0.4223, allocations: 41.7 kB / 0.573 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.4229, allocations: 492.1 kB / 0.5735 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.4232, allocations: 265.8 kB / 0.5737 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.4235, allocations: 170.6 kB / 0.5739 GB, free: 3.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.4237, allocations: 394.7 kB / 0.5742 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.4244, allocations: 399.5 kB / 0.5746 GB, free: 2.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.4253, allocations: 0.6561 MB / 0.5753 GB, free: 1.895 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.007361/0.4326, allocations: 3.227 MB / 0.5784 GB, free: 14.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.4327, allocations: 4 kB / 0.5784 GB, free: 14.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002543/0.4352, allocations: 1.361 MB / 0.5798 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.4353, allocations: 38.47 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.4353, allocations: 8 kB / 0.5798 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.436, allocations: 246.4 kB / 0.58 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.4371, allocations: 263.6 kB / 0.5803 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.4435, allocations: 5.667 MB / 0.5858 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.4442, allocations: 39.88 kB / 0.5859 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/0.4443, allocations: 40 kB / 0.5859 GB, free: 6.543 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.0006801/0.445, allocations: 387.1 kB / 0.5863 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.4451, allocations: 79.47 kB / 0.5863 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.4473, allocations: 1.17 MB / 0.5875 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.4474, allocations: 15.92 kB / 0.5875 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4474, allocations: 7.938 kB / 0.5875 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4474, allocations: 7.984 kB / 0.5875 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.4512, allocations: 2.043 MB / 0.5895 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.4512, allocations: 7.938 kB / 0.5895 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/0.4522, allocations: 183.8 kB / 0.5897 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000737/0.4529, allocations: 250.8 kB / 0.5899 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.453, allocations: 23.98 kB / 0.5899 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.4592, allocations: 5.593 MB / 0.5954 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4592, allocations: 4.031 kB / 0.5954 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.4622, allocations: 1.706 MB / 0.5971 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.4624, allocations: 71.58 kB / 0.5972 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4626, allocations: 32 kB / 0.5972 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.463, allocations: 23.98 kB / 0.5972 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.4632, allocations: 60.48 kB / 0.5973 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.4632, allocations: 23.98 kB / 0.5973 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005483/0.4638, allocations: 395.1 kB / 0.5977 GB, free: 9.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4638, allocations: 0 / 0.5977 GB, free: 9.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4649, allocations: 275.9 kB / 0.5979 GB, free: 9.727 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.0002487/0.4652, allocations: 127.1 kB / 0.598 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.4676, allocations: 1.411 MB / 0.5994 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4676, allocations: 0 / 0.5994 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.4692, allocations: 0.9116 MB / 0.6003 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4702, allocations: 196.6 kB / 0.6005 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.4741, allocations: 2.241 MB / 0.6027 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.4748, allocations: 0.5165 MB / 0.6032 GB, free: 4.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000576/0.4753, allocations: 206.2 kB / 0.6034 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.4755, allocations: 59.42 kB / 0.6034 GB, free: 3.859 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4755, allocations: 0 / 0.6034 GB, free: 3.859 MB / 446.1 MB Notification: Performance of Templates: time 0.02403/0.4995, allocations: 12.54 MB / 0.6157 GB, free: 7.465 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.623580876737833] Failed to read output from testmodel.py, exit status != 0: 0.5098632480949163 0.526089806 0.127324766 Calling exit ...