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.00128/0.00128, allocations: 105.1 kB / 21.21 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.001619/0.001619, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.571/1.571, 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.1889/0.1889, allocations: 38.53 MB / 353.2 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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="cs",version="2.0",platforms={"static"}) [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.002021/0.002021, allocations: 64.19 kB / 493.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.388, allocations: 62.46 MB / 0.5427 GB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009393/0.3974, allocations: 7.153 MB / 0.5497 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.402, allocations: 2.211 MB / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.4026, allocations: 37.31 kB / 0.5519 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.4051, allocations: 0.8336 MB / 0.5527 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.4068, allocations: 0.5164 MB / 0.5532 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.4085, allocations: 466.1 kB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.4108, allocations: 1.317 MB / 0.5549 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.4117, allocations: 0.519 MB / 0.5554 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4129, allocations: 0.6023 MB / 0.556 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.4144, allocations: 0.7368 MB / 0.5567 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.4145, allocations: 82.28 kB / 0.5568 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.4154, allocations: 282.2 kB / 0.5571 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000629/0.416, allocations: 0.5143 MB / 0.5576 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.4166, allocations: 465.9 kB / 0.558 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.4182, allocations: 1.343 MB / 0.5593 GB, free: 3.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4182, allocations: 4 kB / 0.5593 GB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4182, allocations: 0 / 0.5593 GB, free: 3.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.4183, allocations: 7.938 kB / 0.5593 GB, free: 3.227 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.002786/0.421, allocations: 1.285 MB / 0.5606 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.4211, allocations: 19.92 kB / 0.5606 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.507e-05/0.4212, allocations: 30.19 kB / 0.5607 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.4213, allocations: 143.7 kB / 0.5608 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.4226, allocations: 204.1 kB / 0.561 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.424, allocations: 0.6674 MB / 0.5616 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.4241, allocations: 66.12 kB / 0.5617 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.4244, allocations: 111.9 kB / 0.5618 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.4265, allocations: 1.248 MB / 0.563 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.4265, allocations: 0 / 0.563 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.4266, allocations: 36 kB / 0.5631 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002725/0.4269, allocations: 61.95 kB / 0.5631 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4287, allocations: 1.048 MB / 0.5641 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.4352, allocations: 4.417 MB / 0.5685 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.4364, allocations: 0.6582 MB / 0.5691 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.4371, allocations: 445.9 kB / 0.5695 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.4372, allocations: 12.64 kB / 0.5695 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.438, allocations: 0.5385 MB / 0.5701 GB, free: 7.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.846e-06/0.438, allocations: 3.938 kB / 0.5701 GB, free: 7.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005272/0.4433, allocations: 2.81 MB / 0.5728 GB, free: 4.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4434, allocations: 174.8 kB / 0.573 GB, free: 4.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.4442, allocations: 0.5977 MB / 0.5736 GB, free: 4.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.4442, allocations: 37.77 kB / 0.5736 GB, free: 4.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.4447, allocations: 0.4884 MB / 0.5741 GB, free: 3.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.4449, allocations: 261.8 kB / 0.5743 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.4452, allocations: 170.6 kB / 0.5745 GB, free: 3.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4454, allocations: 394.7 kB / 0.5749 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.4461, allocations: 399.5 kB / 0.5752 GB, free: 2.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/0.447, allocations: 0.6561 MB / 0.5759 GB, free: 1.594 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.007457/0.4544, allocations: 3.224 MB / 0.579 GB, free: 14.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4544, allocations: 0 / 0.579 GB, free: 14.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002512/0.4569, allocations: 1.369 MB / 0.5804 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.457, allocations: 33.7 kB / 0.5804 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.457, allocations: 8 kB / 0.5804 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.4577, allocations: 242.3 kB / 0.5806 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4588, allocations: 271.7 kB / 0.5809 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.4651, allocations: 5.732 MB / 0.5865 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.4658, allocations: 35.98 kB / 0.5865 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.4659, allocations: 43.98 kB / 0.5866 GB, free: 6.145 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.0006428/0.4665, allocations: 375.1 kB / 0.5869 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.4667, allocations: 87.42 kB / 0.587 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.4688, allocations: 1.178 MB / 0.5882 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.4688, allocations: 8 kB / 0.5882 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4688, allocations: 4 kB / 0.5882 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4688, allocations: 3.984 kB / 0.5882 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.4726, allocations: 2.171 MB / 0.5903 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4726, allocations: 4 kB / 0.5903 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.4735, allocations: 191.9 kB / 0.5905 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/0.4743, allocations: 242.2 kB / 0.5907 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.4743, allocations: 35.95 kB / 0.5908 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/0.4803, allocations: 5.655 MB / 0.5963 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4803, allocations: 7.953 kB / 0.5963 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.4832, allocations: 1.714 MB / 0.598 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.4834, allocations: 75.53 kB / 0.598 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4835, allocations: 24 kB / 0.598 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.4839, allocations: 23.97 kB / 0.5981 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4841, allocations: 60.48 kB / 0.5981 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.4841, allocations: 20 kB / 0.5981 GB, free: 9.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005606/0.4847, allocations: 423 kB / 0.5986 GB, free: 9.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4847, allocations: 0 / 0.5986 GB, free: 9.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4858, allocations: 271.9 kB / 0.5988 GB, free: 9.066 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.00309/0.4889, allocations: 2.295 MB / 0.6011 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.4914, allocations: 1.407 MB / 0.6024 GB, free: 5.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4914, allocations: 3.938 kB / 0.6024 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.4928, allocations: 0.9115 MB / 0.6033 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/0.4938, allocations: 181.9 kB / 0.6035 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.507, allocations: 8.351 MB / 0.6116 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.5076, allocations: 0.5204 MB / 0.6122 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005923/0.5082, allocations: 214.5 kB / 0.6124 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.5087, allocations: 335.3 kB / 0.6127 GB, free: 10.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5087, allocations: 0 / 0.6127 GB, free: 10.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07784/0.5865, allocations: 20.22 MB / 0.6324 GB, free: 6.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.74, allocations: 7.797 kB / 0.6324 GB, free: 6.262 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.803090280969627] Failed to read output from testmodel.py, exit status != 0: 13.918538664001971 13.935763095 13.513791682999999 Calling exit ...