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.001497/0.001497, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001824/0.001824, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1939/0.1939, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002277/0.002277, allocations: 67.89 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 62.46 MB / 0.5419 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.01055/0.3698, allocations: 7.153 MB / 0.5489 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3742, allocations: 2.223 MB / 0.5511 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.3746, allocations: 37.19 kB / 0.5511 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.3769, allocations: 0.8334 MB / 0.5519 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3783, allocations: 0.5129 MB / 0.5524 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3796, allocations: 462.8 kB / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3812, allocations: 1.318 MB / 0.5542 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.382, allocations: 0.5179 MB / 0.5547 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3835, allocations: 0.5955 MB / 0.5552 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.3846, allocations: 0.6984 MB / 0.5559 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.3848, allocations: 84.59 kB / 0.556 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.3855, allocations: 279.6 kB / 0.5563 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.386, allocations: 0.522 MB / 0.5568 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.3866, allocations: 461.9 kB / 0.5572 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.3881, allocations: 1.35 MB / 0.5585 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3881, allocations: 0 / 0.5585 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3882, allocations: 4 kB / 0.5586 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3882, allocations: 0 / 0.5586 GB, free: 3.359 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.002576/0.3907, allocations: 1.293 MB / 0.5598 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3908, allocations: 15.98 kB / 0.5598 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.391, allocations: 139.7 kB / 0.56 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3922, allocations: 204.1 kB / 0.5602 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3937, allocations: 0.6712 MB / 0.5608 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.3938, allocations: 62.36 kB / 0.5609 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.394, allocations: 111.9 kB / 0.561 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.3959, allocations: 1.252 MB / 0.5622 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.396, allocations: 7.938 kB / 0.5622 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.396, allocations: 32 kB / 0.5622 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.3963, allocations: 65.95 kB / 0.5623 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.398, allocations: 1.032 MB / 0.5633 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006307/0.4043, allocations: 4.425 MB / 0.5676 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.4054, allocations: 0.6564 MB / 0.5683 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.4061, allocations: 445.9 kB / 0.5687 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.4061, allocations: 12.58 kB / 0.5687 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008261/0.407, allocations: 0.5463 MB / 0.5692 GB, free: 7.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.836e-06/0.407, allocations: 0 / 0.5692 GB, free: 7.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005134/0.4121, allocations: 2.81 MB / 0.572 GB, free: 5.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.4122, allocations: 170.8 kB / 0.5722 GB, free: 4.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.413, allocations: 0.6132 MB / 0.5727 GB, free: 4.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.413, allocations: 37.7 kB / 0.5728 GB, free: 4.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.4135, allocations: 492.2 kB / 0.5733 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.4137, allocations: 265.8 kB / 0.5735 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.414, allocations: 166.6 kB / 0.5737 GB, free: 3.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.4142, allocations: 394.7 kB / 0.574 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.4148, allocations: 403.5 kB / 0.5744 GB, free: 2.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.4157, allocations: 0.6561 MB / 0.5751 GB, free: 1.75 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.007128/0.4228, allocations: 3.224 MB / 0.5782 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4228, allocations: 0 / 0.5782 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002299/0.4251, allocations: 1.373 MB / 0.5796 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.4251, allocations: 33.7 kB / 0.5796 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.4252, allocations: 8 kB / 0.5796 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.4258, allocations: 243.1 kB / 0.5798 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4269, allocations: 275.5 kB / 0.5801 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.4327, allocations: 5.728 MB / 0.5857 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.4334, allocations: 40.05 kB / 0.5857 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.4335, allocations: 39.98 kB / 0.5858 GB, free: 6.293 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.0005901/0.4341, allocations: 379.5 kB / 0.5861 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.4342, allocations: 91.41 kB / 0.5862 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.4363, allocations: 1.178 MB / 0.5874 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.4363, allocations: 8.125 kB / 0.5874 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4364, allocations: 8 kB / 0.5874 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4364, allocations: 3.984 kB / 0.5874 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.4402, allocations: 2.172 MB / 0.5895 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4402, allocations: 8.094 kB / 0.5895 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/0.4412, allocations: 187.8 kB / 0.5897 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007003/0.4419, allocations: 238.3 kB / 0.5899 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.4419, allocations: 35.91 kB / 0.59 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005833/0.4478, allocations: 5.658 MB / 0.5955 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4478, allocations: 0 / 0.5955 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.4507, allocations: 1.718 MB / 0.5972 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.451, allocations: 79.47 kB / 0.5972 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.4512, allocations: 20 kB / 0.5972 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.4517, allocations: 27.97 kB / 0.5973 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.4519, allocations: 64.42 kB / 0.5973 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.4519, allocations: 24.25 kB / 0.5974 GB, free: 9.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.4526, allocations: 419 kB / 0.5978 GB, free: 9.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4526, allocations: 0 / 0.5978 GB, free: 9.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001305/0.4539, allocations: 268 kB / 0.598 GB, free: 9.203 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.003376/0.4572, allocations: 2.281 MB / 0.6002 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.4598, allocations: 1.411 MB / 0.6016 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4599, allocations: 0 / 0.6016 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.4614, allocations: 0.9158 MB / 0.6025 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.4624, allocations: 188.8 kB / 0.6027 GB, free: 4.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.4753, allocations: 8.34 MB / 0.6108 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.4759, allocations: 0.5205 MB / 0.6113 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.4765, allocations: 206.5 kB / 0.6115 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.4771, allocations: 335.3 kB / 0.6119 GB, free: 10.35 MB / 462.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4771, allocations: 0 / 0.6119 GB, free: 10.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06748/0.5445, allocations: 20.35 MB / 0.6317 GB, free: 6.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.72, allocations: 7.922 kB / 0.6317 GB, free: 6.246 MB / 478.1 MB " [Timeout remaining time 647] (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.671735129784793] Failed to read output from testmodel.py, exit status != 0: 12.847260086797178 12.864612084 12.473069087 Calling exit ...