Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.001783/0.001783, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002208/0.002208, allocations: 207.7 kB / 23.73 MB, free: 4.523 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1863/0.1863, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",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.002132/0.002132, allocations: 71.91 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 62.45 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01288/0.389, allocations: 7.179 MB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.394, allocations: 2.22 MB / 0.5511 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.3945, allocations: 36.75 kB / 0.5511 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.397, allocations: 0.8298 MB / 0.552 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3986, allocations: 0.5135 MB / 0.5525 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.4, allocations: 462.4 kB / 0.5529 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.4019, allocations: 1.276 MB / 0.5541 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/0.4027, allocations: 0.5173 MB / 0.5547 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.4039, allocations: 0.5751 MB / 0.5552 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.4051, allocations: 0.7021 MB / 0.5559 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.4052, allocations: 74.75 kB / 0.556 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.4058, allocations: 235.5 kB / 0.5562 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.4064, allocations: 0.4947 MB / 0.5567 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007441/0.4072, allocations: 449.9 kB / 0.5571 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.4089, allocations: 1.261 MB / 0.5583 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.409, allocations: 4 kB / 0.5583 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.409, allocations: 0 / 0.5583 GB, free: 3.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.409, allocations: 0 / 0.5583 GB, free: 3.426 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.002638/0.4116, allocations: 1.261 MB / 0.5596 GB, free: 2.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4117, allocations: 15.92 kB / 0.5596 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.4118, allocations: 147.7 kB / 0.5597 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.4129, allocations: 200.1 kB / 0.5599 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.4144, allocations: 0.6595 MB / 0.5606 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.4145, allocations: 58.38 kB / 0.5606 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4147, allocations: 87.94 kB / 0.5607 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4165, allocations: 1.204 MB / 0.5619 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.4166, allocations: 7.953 kB / 0.5619 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.4167, allocations: 43.91 kB / 0.5619 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-05/0.4168, allocations: 53.98 kB / 0.562 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.4184, allocations: 0.9539 MB / 0.5629 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.4255, allocations: 4.453 MB / 0.5673 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4268, allocations: 0.6622 MB / 0.5679 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.4274, allocations: 373.6 kB / 0.5683 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.747e-05/0.4275, allocations: 12.44 kB / 0.5683 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/0.4283, allocations: 478.5 kB / 0.5687 GB, free: 8.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.936e-06/0.4283, allocations: 0 / 0.5687 GB, free: 8.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.0064/0.4347, allocations: 2.38 MB / 0.5711 GB, free: 5.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002621/0.435, allocations: 174.9 kB / 0.5712 GB, free: 5.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.4357, allocations: 0.6094 MB / 0.5718 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.4358, allocations: 41.7 kB / 0.5719 GB, free: 5.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000673/0.4365, allocations: 495.9 kB / 0.5723 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.4368, allocations: 234.1 kB / 0.5726 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.4372, allocations: 162.6 kB / 0.5727 GB, free: 4.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4374, allocations: 386.8 kB / 0.5731 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.4379, allocations: 311.5 kB / 0.5734 GB, free: 3.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.4386, allocations: 0.5815 MB / 0.5739 GB, free: 2.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4399, allocations: 0.9584 MB / 0.5749 GB, free: 1.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.44, allocations: 4 kB / 0.5749 GB, free: 1.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00256/0.4425, allocations: 1.24 MB / 0.5761 GB, free: 404 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.4426, allocations: 33.7 kB / 0.5761 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.4426, allocations: 12 kB / 0.5761 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.4437, allocations: 337.5 kB / 0.5765 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.4442, allocations: 151.8 kB / 0.5766 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.4515, allocations: 5.033 MB / 0.5815 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.4522, allocations: 39.98 kB / 0.5816 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.4523, allocations: 36 kB / 0.5816 GB, free: 10.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006553/0.4529, allocations: 351.2 kB / 0.5819 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4531, allocations: 87.42 kB / 0.582 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.4552, allocations: 1.068 MB / 0.5831 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/0.4553, allocations: 8 kB / 0.5831 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4553, allocations: 4 kB / 0.5831 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4553, allocations: 3.984 kB / 0.5831 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.4593, allocations: 1.982 MB / 0.585 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4593, allocations: 4 kB / 0.585 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.4596, allocations: 71.91 kB / 0.5851 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/0.4605, allocations: 317.5 kB / 0.5854 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.4606, allocations: 19.94 kB / 0.5854 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/0.4675, allocations: 4.957 MB / 0.5902 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4675, allocations: 4 kB / 0.5902 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.4697, allocations: 1.148 MB / 0.5914 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.4699, allocations: 75.47 kB / 0.5914 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.47, allocations: 23.94 kB / 0.5915 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.4704, allocations: 16.05 kB / 0.5915 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.4706, allocations: 56.28 kB / 0.5915 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.4707, allocations: 20 kB / 0.5915 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008877/0.4716, allocations: 423 kB / 0.592 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4716, allocations: 0 / 0.592 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001701/0.4733, allocations: 268 kB / 0.5922 GB, free: 15.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002362/0.4757, allocations: 1.7 MB / 0.5939 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.4779, allocations: 1.184 MB / 0.595 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4779, allocations: 0 / 0.595 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.4792, allocations: 0.7732 MB / 0.5958 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.4802, allocations: 185.8 kB / 0.596 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.4919, allocations: 7.448 MB / 0.6032 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.4925, allocations: 0.5003 MB / 0.6037 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.493, allocations: 174.3 kB / 0.6039 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.4934, allocations: 327.3 kB / 0.6042 GB, free: 2.359 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4934, allocations: 0 / 0.6042 GB, free: 2.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.5583, allocations: 20.07 MB / 0.6238 GB, free: 14.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.67, allocations: 4 kB / 0.6238 GB, free: 14.53 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState_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_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.648579519998748] Failed to read output from testmodel.py, exit status != 0: 12.795974536042195 12.812763035 12.40053578 Calling exit ...