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.001388/0.001388, allocations: 115.6 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.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.001714/0.001714, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1826/0.1826, allocations: 38.53 MB / 352.5 MB, free: 12.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",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.003405/0.003405, allocations: 67.88 kB / 492.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4193, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01003/0.4293, allocations: 7.771 MB / 0.5496 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005752/0.435, allocations: 2.383 MB / 0.5519 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.4358, allocations: 37.16 kB / 0.5519 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.4384, allocations: 0.8789 MB / 0.5528 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.4399, allocations: 0.5128 MB / 0.5533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.4414, allocations: 472.2 kB / 0.5537 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.4436, allocations: 1.311 MB / 0.555 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.4445, allocations: 0.5337 MB / 0.5556 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.4458, allocations: 0.587 MB / 0.5561 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.447, allocations: 0.7332 MB / 0.5568 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.4471, allocations: 82.59 kB / 0.5569 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.4479, allocations: 290.5 kB / 0.5572 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005699/0.4485, allocations: 0.5181 MB / 0.5577 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000852/0.4493, allocations: 0.552 MB / 0.5582 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.4513, allocations: 1.343 MB / 0.5596 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4513, allocations: 0 / 0.5596 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4513, allocations: 0 / 0.5596 GB, free: 2.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.4514, allocations: 4 kB / 0.5596 GB, free: 2.488 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.002753/0.4541, allocations: 1.292 MB / 0.5608 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4542, allocations: 15.97 kB / 0.5608 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.4543, allocations: 139.7 kB / 0.561 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.4555, allocations: 204.1 kB / 0.5612 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.4569, allocations: 0.6712 MB / 0.5618 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.457, allocations: 66.38 kB / 0.5619 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.4572, allocations: 111.8 kB / 0.562 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4591, allocations: 1.219 MB / 0.5632 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.4592, allocations: 8 kB / 0.5632 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.4593, allocations: 35.98 kB / 0.5632 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/0.4595, allocations: 61.97 kB / 0.5633 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4613, allocations: 1.015 MB / 0.5643 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.4683, allocations: 4.666 MB / 0.5688 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.4696, allocations: 0.6294 MB / 0.5694 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.4703, allocations: 408.2 kB / 0.5698 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.4703, allocations: 16.58 kB / 0.5698 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/0.4712, allocations: 0.5017 MB / 0.5703 GB, free: 7.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.465e-06/0.4712, allocations: 0 / 0.5703 GB, free: 7.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005113/0.4763, allocations: 2.744 MB / 0.573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4764, allocations: 170.8 kB / 0.5732 GB, free: 4.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.4771, allocations: 0.5938 MB / 0.5738 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.4772, allocations: 41.7 kB / 0.5738 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.4777, allocations: 492.2 kB / 0.5743 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.4779, allocations: 269.8 kB / 0.5745 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.4782, allocations: 170.6 kB / 0.5747 GB, free: 2.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.4784, allocations: 394.7 kB / 0.5751 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.479, allocations: 377.8 kB / 0.5754 GB, free: 1.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.4798, allocations: 0.631 MB / 0.576 GB, free: 0.9531 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.007401/0.4873, allocations: 3.217 MB / 0.5792 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4873, allocations: 0 / 0.5792 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002551/0.4898, allocations: 1.34 MB / 0.5805 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.4899, allocations: 34.48 kB / 0.5805 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4899, allocations: 8 kB / 0.5805 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006752/0.4905, allocations: 242.3 kB / 0.5808 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4917, allocations: 275.5 kB / 0.581 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.498, allocations: 5.767 MB / 0.5867 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.4987, allocations: 40.11 kB / 0.5867 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/0.4988, allocations: 43.98 kB / 0.5867 GB, free: 5.5 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.0006491/0.4995, allocations: 379.1 kB / 0.5871 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4996, allocations: 83.42 kB / 0.5872 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.5018, allocations: 1.141 MB / 0.5883 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.5018, allocations: 8 kB / 0.5883 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5019, allocations: 4 kB / 0.5883 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5019, allocations: 7.984 kB / 0.5883 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.5058, allocations: 2.22 MB / 0.5905 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5058, allocations: 3.938 kB / 0.5905 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.5067, allocations: 187.8 kB / 0.5907 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007129/0.5074, allocations: 242.4 kB / 0.5909 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.5075, allocations: 27.92 kB / 0.5909 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006149/0.5136, allocations: 5.705 MB / 0.5965 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5136, allocations: 128 / 0.5965 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.5166, allocations: 1.648 MB / 0.5981 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.5168, allocations: 67.55 kB / 0.5982 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.517, allocations: 31.98 kB / 0.5982 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.5175, allocations: 23.98 kB / 0.5982 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.5176, allocations: 60.42 kB / 0.5983 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.5177, allocations: 23.98 kB / 0.5983 GB, free: 9.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006349/0.5183, allocations: 415 kB / 0.5987 GB, free: 8.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5183, allocations: 0 / 0.5987 GB, free: 8.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001272/0.5196, allocations: 279.9 kB / 0.599 GB, free: 8.457 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.003305/0.5229, allocations: 2.218 MB / 0.6011 GB, free: 6.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.5254, allocations: 1.349 MB / 0.6024 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5255, allocations: 0 / 0.6024 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.5269, allocations: 0.8865 MB / 0.6033 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.528, allocations: 185.9 kB / 0.6035 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.5412, allocations: 8.203 MB / 0.6115 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/0.5422, allocations: 1.123 MB / 0.6126 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006045/0.5428, allocations: 206.5 kB / 0.6128 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.5433, allocations: 331.3 kB / 0.6131 GB, free: 9.371 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5433, allocations: 0 / 0.6131 GB, free: 9.371 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.6082, allocations: 19.78 MB / 0.6324 GB, free: 5.754 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.74, allocations: 10.77 kB / 0.6324 GB, free: 5.754 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.67726315301843] Failed to read output from testmodel.py, exit status != 0: 13.861219592858106 13.888793697 13.431821581 Calling exit ...