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.001738/0.001738, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.001544/0.001544, allocations: 211.6 kB / 24.48 MB, free: 3.957 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.1859/0.1859, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.003441/0.003441, allocations: 67.91 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3684, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01014/0.3786, allocations: 7.157 MB / 0.5501 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.3835, allocations: 2.216 MB / 0.5523 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.3841, allocations: 37.56 kB / 0.5523 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.3866, allocations: 0.8337 MB / 0.5532 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.3883, allocations: 0.5087 MB / 0.5537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.3898, allocations: 469.7 kB / 0.5541 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.3917, allocations: 1.315 MB / 0.5554 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.3926, allocations: 0.526 MB / 0.5559 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3938, allocations: 0.5937 MB / 0.5565 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.395, allocations: 0.6954 MB / 0.5572 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3952, allocations: 84 kB / 0.5572 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.3959, allocations: 279.6 kB / 0.5575 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005875/0.3965, allocations: 0.5181 MB / 0.558 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.3971, allocations: 466 kB / 0.5585 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.3989, allocations: 1.346 MB / 0.5598 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3989, allocations: 0 / 0.5598 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3989, allocations: 0 / 0.5598 GB, free: 3.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.3989, allocations: 4 kB / 0.5598 GB, free: 3.168 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.002642/0.4015, allocations: 1.293 MB / 0.561 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4016, allocations: 19.98 kB / 0.5611 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.4028, allocations: 208 kB / 0.5613 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.4043, allocations: 0.6673 MB / 0.5619 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.4044, allocations: 66.38 kB / 0.562 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.4046, allocations: 112 kB / 0.5621 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4066, allocations: 1.245 MB / 0.5633 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.4067, allocations: 7.938 kB / 0.5633 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.4068, allocations: 39.98 kB / 0.5633 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/0.407, allocations: 61.97 kB / 0.5634 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4087, allocations: 1.036 MB / 0.5644 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006604/0.4153, allocations: 4.3 MB / 0.5686 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.4165, allocations: 0.651 MB / 0.5692 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.4172, allocations: 441.9 kB / 0.5697 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.4172, allocations: 12.59 kB / 0.5697 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008478/0.4181, allocations: 0.5385 MB / 0.5702 GB, free: 8.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 3.016e-06/0.4181, allocations: 0 / 0.5702 GB, free: 8.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005072/0.4232, allocations: 2.81 MB / 0.5729 GB, free: 5.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.4233, allocations: 166.9 kB / 0.5731 GB, free: 5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/0.4241, allocations: 0.5819 MB / 0.5737 GB, free: 4.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.4241, allocations: 41.7 kB / 0.5737 GB, free: 4.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.4246, allocations: 492.1 kB / 0.5742 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4248, allocations: 269.9 kB / 0.5744 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.4251, allocations: 174.6 kB / 0.5746 GB, free: 3.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.4253, allocations: 390.7 kB / 0.575 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.426, allocations: 403.5 kB / 0.5754 GB, free: 2.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000898/0.4269, allocations: 0.6561 MB / 0.576 GB, free: 1.871 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.00734/0.4342, allocations: 3.216 MB / 0.5791 GB, free: 14.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.4342, allocations: 8 kB / 0.5792 GB, free: 14.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002478/0.4367, allocations: 1.361 MB / 0.5805 GB, free: 13.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.4368, allocations: 41.84 kB / 0.5805 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.4368, allocations: 8 kB / 0.5805 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.4374, allocations: 250.3 kB / 0.5808 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4386, allocations: 263.5 kB / 0.581 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/0.4449, allocations: 5.667 MB / 0.5866 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.4456, allocations: 39.94 kB / 0.5866 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4457, allocations: 39.94 kB / 0.5866 GB, free: 6.52 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.0006962/0.4464, allocations: 387.1 kB / 0.587 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.4466, allocations: 75.53 kB / 0.5871 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.4488, allocations: 1.17 MB / 0.5882 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.4489, allocations: 15.94 kB / 0.5882 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.4489, allocations: 7.984 kB / 0.5882 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4489, allocations: 0 / 0.5882 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.4529, allocations: 2.055 MB / 0.5902 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4529, allocations: 0 / 0.5902 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/0.4538, allocations: 183.8 kB / 0.5904 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/0.4545, allocations: 250.8 kB / 0.5907 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/0.4546, allocations: 23.98 kB / 0.5907 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/0.4612, allocations: 5.601 MB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4612, allocations: 0 / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.4643, allocations: 1.702 MB / 0.5978 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.4645, allocations: 75.64 kB / 0.5979 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.4647, allocations: 23.95 kB / 0.5979 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.4652, allocations: 27.97 kB / 0.5979 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.4653, allocations: 64.42 kB / 0.598 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.4654, allocations: 23.98 kB / 0.598 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005977/0.466, allocations: 395.1 kB / 0.5984 GB, free: 9.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.466, allocations: 0 / 0.5984 GB, free: 9.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4672, allocations: 272 kB / 0.5987 GB, free: 9.711 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.0002668/0.4675, allocations: 135.2 kB / 0.5988 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.47, allocations: 1.407 MB / 0.6002 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.47, allocations: 0 / 0.6002 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.4715, allocations: 0.9155 MB / 0.6011 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.4726, allocations: 180.8 kB / 0.6012 GB, free: 6.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.477, allocations: 2.336 MB / 0.6035 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.4777, allocations: 0.5126 MB / 0.604 GB, free: 4.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.478, allocations: 63.42 kB / 0.6041 GB, free: 3.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.478, allocations: 0 / 0.6041 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Templates: time 0.0317/0.5097, allocations: 21.52 MB / 0.6251 GB, free: 14.45 MB / 478.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: 10.720842259004712] Failed to read output from testmodel.py, exit status != 0: 0.5214482918381691 0.5350075369999999 0.13274005999999994 Calling exit ...