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.001367/0.001367, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001413/0.001413, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.193/0.193, allocations: 38.51 MB / 348.7 MB, free: 2.613 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.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.001986/0.001986, allocations: 63.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 62.42 MB / 0.5367 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01117/0.1266, allocations: 7.653 MB / 0.5441 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.1314, allocations: 2.379 MB / 0.5464 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.1319, allocations: 39.69 kB / 0.5465 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.1342, allocations: 0.8669 MB / 0.5473 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.1354, allocations: 0.5092 MB / 0.5478 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1366, allocations: 458.9 kB / 0.5483 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1382, allocations: 1.313 MB / 0.5496 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008083/0.139, allocations: 0.5411 MB / 0.5501 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000937/0.1399, allocations: 0.5875 MB / 0.5507 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.141, allocations: 0.7359 MB / 0.5514 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1412, allocations: 80 kB / 0.5514 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.1418, allocations: 279.6 kB / 0.5517 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.1424, allocations: 0.5181 MB / 0.5522 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.143, allocations: 0.5482 MB / 0.5528 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.1447, allocations: 1.339 MB / 0.5541 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1447, allocations: 0 / 0.5541 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1447, allocations: 0 / 0.5541 GB, free: 5.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.1447, allocations: 0 / 0.5541 GB, free: 5.676 MB / 414.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.002666/0.1474, allocations: 1.372 MB / 0.5554 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1474, allocations: 8.031 kB / 0.5554 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1476, allocations: 143.7 kB / 0.5555 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.1489, allocations: 200.1 kB / 0.5557 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.1503, allocations: 0.7434 MB / 0.5565 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.1504, allocations: 66.31 kB / 0.5565 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.1506, allocations: 111.9 kB / 0.5566 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.1526, allocations: 1.23 MB / 0.5578 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.1526, allocations: 3.938 kB / 0.5578 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.1527, allocations: 36 kB / 0.5579 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/0.153, allocations: 61.97 kB / 0.5579 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.1548, allocations: 1.015 MB / 0.5589 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007137/0.1619, allocations: 4.765 MB / 0.5636 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1632, allocations: 0.6241 MB / 0.5642 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.1638, allocations: 411.8 kB / 0.5646 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.1639, allocations: 16.55 kB / 0.5646 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008023/0.1647, allocations: 0.5041 MB / 0.5651 GB, free: 9.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/0.1647, allocations: 0 / 0.5651 GB, free: 9.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=73): time 0.005301/0.17, allocations: 2.803 MB / 0.5678 GB, free: 7.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1701, allocations: 166.8 kB / 0.568 GB, free: 6.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.1709, allocations: 0.5899 MB / 0.5686 GB, free: 6.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.171, allocations: 45.7 kB / 0.5686 GB, free: 6.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.1714, allocations: 496.2 kB / 0.5691 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.1717, allocations: 265.8 kB / 0.5693 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.172, allocations: 174.6 kB / 0.5695 GB, free: 5.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1722, allocations: 394.7 kB / 0.5699 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.1728, allocations: 373.8 kB / 0.5702 GB, free: 4.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/0.1737, allocations: 0.631 MB / 0.5708 GB, free: 3.793 MB / 430.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.008124/0.1819, allocations: 3.439 MB / 0.5742 GB, free: 176 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.1819, allocations: 11.98 kB / 0.5742 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002599/0.1845, allocations: 1.336 MB / 0.5755 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.1845, allocations: 33.7 kB / 0.5756 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.1845, allocations: 8 kB / 0.5756 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/0.1853, allocations: 246.4 kB / 0.5758 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.1866, allocations: 275.6 kB / 0.5761 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/0.1932, allocations: 6.078 MB / 0.582 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.1939, allocations: 40.06 kB / 0.582 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.194, allocations: 44 kB / 0.5821 GB, free: 7.656 MB / 446.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.0006302/0.1947, allocations: 383.7 kB / 0.5824 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.1948, allocations: 83.47 kB / 0.5825 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.1971, allocations: 1.133 MB / 0.5836 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.1971, allocations: 11.98 kB / 0.5836 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1971, allocations: 4 kB / 0.5836 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1972, allocations: 3.984 kB / 0.5836 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.2012, allocations: 2.243 MB / 0.5858 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2012, allocations: 4 kB / 0.5858 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.2022, allocations: 187.9 kB / 0.586 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007834/0.203, allocations: 246.3 kB / 0.5863 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/0.2031, allocations: 31.92 kB / 0.5863 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2356/0.4387, allocations: 6.002 MB / 0.5921 GB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4387, allocations: 2.062 kB / 0.5921 GB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.4414, allocations: 1.656 MB / 0.5938 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.4417, allocations: 149.2 kB / 0.5939 GB, free: 47.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.4418, allocations: 23.42 kB / 0.5939 GB, free: 47.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.4422, allocations: 31.45 kB / 0.594 GB, free: 47.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.4424, allocations: 59.81 kB / 0.594 GB, free: 47.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.4425, allocations: 22.47 kB / 0.594 GB, free: 47.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005482/0.4431, allocations: 414.9 kB / 0.5944 GB, free: 47.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4431, allocations: 0 / 0.5944 GB, free: 47.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4442, allocations: 271.8 kB / 0.5947 GB, free: 47.25 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.003036/0.4473, allocations: 2.215 MB / 0.5969 GB, free: 46.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.45, allocations: 1.342 MB / 0.5982 GB, free: 45.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.45, allocations: 1.094 kB / 0.5982 GB, free: 45.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4516, allocations: 0.8878 MB / 0.599 GB, free: 45.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4528, allocations: 183.7 kB / 0.5992 GB, free: 45.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.4666, allocations: 8.208 MB / 0.6072 GB, free: 40.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.4676, allocations: 1.114 MB / 0.6083 GB, free: 40.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008192/0.4685, allocations: 209.5 kB / 0.6085 GB, free: 39.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.4689, allocations: 338.9 kB / 0.6088 GB, free: 39.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4689, allocations: 0 / 0.6088 GB, free: 39.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07786/0.5468, allocations: 19.06 MB / 0.6274 GB, free: 27.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.3, allocations: 0 / 0.6274 GB, free: 27.46 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.248925709005562] Failed to read output from testmodel.py, exit status != 0: 12.394283686997369 12.40471384 12.257715984 Calling exit ...