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.001726/0.001726, 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.001511/0.001511, allocations: 211.5 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1847/0.1847, allocations: 38.55 MB / 352.5 MB, free: 12.33 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.002018/0.002018, allocations: 59.91 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3815, allocations: 62.46 MB / 0.5419 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009627/0.3912, allocations: 7.161 MB / 0.5489 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.396, allocations: 2.216 MB / 0.5511 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.3965, allocations: 37.38 kB / 0.5511 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.3989, allocations: 0.8338 MB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.4003, allocations: 0.5089 MB / 0.5524 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.4018, allocations: 466 kB / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.4038, allocations: 1.317 MB / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009485/0.4048, allocations: 0.53 MB / 0.5547 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.406, allocations: 0.5948 MB / 0.5553 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.4073, allocations: 0.7342 MB / 0.556 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.4074, allocations: 82.47 kB / 0.5561 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.4081, allocations: 283.6 kB / 0.5563 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.4086, allocations: 0.5181 MB / 0.5568 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.4092, allocations: 473.9 kB / 0.5573 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.4109, allocations: 1.339 MB / 0.5586 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4109, allocations: 0 / 0.5586 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4109, allocations: 3.938 kB / 0.5586 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.411, allocations: 0 / 0.5586 GB, free: 3.34 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.002598/0.4136, allocations: 1.297 MB / 0.5599 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4136, allocations: 11.98 kB / 0.5599 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.4138, allocations: 143.7 kB / 0.56 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.415, allocations: 200.1 kB / 0.5602 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4164, allocations: 0.6712 MB / 0.5609 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.4165, allocations: 70.36 kB / 0.5609 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.4168, allocations: 103.9 kB / 0.561 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.4187, allocations: 1.264 MB / 0.5623 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.4188, allocations: 4 kB / 0.5623 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.4189, allocations: 32 kB / 0.5623 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/0.4191, allocations: 65.95 kB / 0.5624 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.4209, allocations: 1.032 MB / 0.5634 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006812/0.4277, allocations: 4.421 MB / 0.5677 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4289, allocations: 0.6641 MB / 0.5683 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.4295, allocations: 437.8 kB / 0.5687 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.4296, allocations: 12.66 kB / 0.5688 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/0.4304, allocations: 0.5424 MB / 0.5693 GB, free: 7.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/0.4304, allocations: 4 kB / 0.5693 GB, free: 7.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005128/0.4356, allocations: 2.806 MB / 0.572 GB, free: 5.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.4357, allocations: 178.8 kB / 0.5722 GB, free: 4.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.4365, allocations: 0.6093 MB / 0.5728 GB, free: 4.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.4365, allocations: 41.7 kB / 0.5728 GB, free: 4.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.437, allocations: 484.2 kB / 0.5733 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.4373, allocations: 269.8 kB / 0.5736 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.4375, allocations: 170.6 kB / 0.5737 GB, free: 3.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.4377, allocations: 386.8 kB / 0.5741 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.4384, allocations: 403.5 kB / 0.5745 GB, free: 2.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.4393, allocations: 0.6638 MB / 0.5751 GB, free: 1.719 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.007301/0.4466, allocations: 3.22 MB / 0.5783 GB, free: 14.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.4466, allocations: 4 kB / 0.5783 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00245/0.449, allocations: 1.365 MB / 0.5796 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.4491, allocations: 44.34 kB / 0.5796 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.4491, allocations: 8 kB / 0.5796 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.4498, allocations: 247 kB / 0.5799 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.451, allocations: 263.5 kB / 0.5801 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.4572, allocations: 5.732 MB / 0.5857 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/0.4579, allocations: 36.17 kB / 0.5858 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.458, allocations: 40 kB / 0.5858 GB, free: 6.273 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.0006797/0.4587, allocations: 384.9 kB / 0.5862 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4588, allocations: 83.55 kB / 0.5863 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.4609, allocations: 1.174 MB / 0.5874 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.461, allocations: 16 kB / 0.5874 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.461, allocations: 4 kB / 0.5874 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.461, allocations: 3.984 kB / 0.5874 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.4648, allocations: 2.179 MB / 0.5896 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4648, allocations: 160 / 0.5896 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.4658, allocations: 183.8 kB / 0.5897 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007316/0.4665, allocations: 246.3 kB / 0.59 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.4666, allocations: 23.92 kB / 0.59 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.4724, allocations: 5.658 MB / 0.5955 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4724, allocations: 4.031 kB / 0.5955 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.4753, allocations: 1.718 MB / 0.5972 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4755, allocations: 71.55 kB / 0.5973 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4756, allocations: 27.92 kB / 0.5973 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.476, allocations: 23.98 kB / 0.5973 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.4762, allocations: 64.42 kB / 0.5974 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.4762, allocations: 24.23 kB / 0.5974 GB, free: 9.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005253/0.4768, allocations: 419 kB / 0.5978 GB, free: 9.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4768, allocations: 0 / 0.5978 GB, free: 9.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001102/0.4779, allocations: 279.9 kB / 0.5981 GB, free: 9.18 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.003155/0.481, allocations: 2.281 MB / 0.6003 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.4835, allocations: 1.411 MB / 0.6017 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4835, allocations: 0 / 0.6017 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.485, allocations: 0.9194 MB / 0.6026 GB, free: 4.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.4859, allocations: 186.2 kB / 0.6027 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.4986, allocations: 8.336 MB / 0.6109 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.4992, allocations: 0.5166 MB / 0.6114 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.4998, allocations: 202.5 kB / 0.6116 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.5002, allocations: 335.3 kB / 0.6119 GB, free: 10.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5002, allocations: 0 / 0.6119 GB, free: 10.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.5844, allocations: 20.65 MB / 0.6321 GB, free: 5.945 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.79, allocations: 12.05 kB / 0.6321 GB, free: 5.934 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.821430457988754] Failed to read output from testmodel.py, exit status != 0: 12.922654570953455 12.94003547 12.525759854 Calling exit ...