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.001283/0.001283, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001469/0.001469, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2216/0.2216, allocations: 38.55 MB / 352.5 MB, free: 12.4 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.002161/0.002161, allocations: 67.91 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.00933/0.3721, allocations: 7.176 MB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.3765, allocations: 2.22 MB / 0.5511 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.3769, allocations: 37.56 kB / 0.5511 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.3791, allocations: 0.8296 MB / 0.552 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3803, allocations: 0.5128 MB / 0.5525 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3816, allocations: 465.3 kB / 0.5529 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.3831, allocations: 1.273 MB / 0.5541 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.3838, allocations: 0.5089 MB / 0.5546 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.3849, allocations: 0.5762 MB / 0.5552 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3861, allocations: 0.6708 MB / 0.5559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3862, allocations: 74 kB / 0.5559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.3868, allocations: 238.2 kB / 0.5562 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.3874, allocations: 0.4909 MB / 0.5566 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.3879, allocations: 445.9 kB / 0.5571 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3894, allocations: 1.261 MB / 0.5583 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3894, allocations: 0 / 0.5583 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3894, allocations: 3.938 kB / 0.5583 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3894, allocations: 0 / 0.5583 GB, free: 3.477 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.00229/0.3917, allocations: 1.257 MB / 0.5595 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3917, allocations: 19.92 kB / 0.5595 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.3919, allocations: 139.7 kB / 0.5597 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.393, allocations: 208.1 kB / 0.5599 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.3944, allocations: 0.6595 MB / 0.5605 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.3945, allocations: 62.38 kB / 0.5606 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3946, allocations: 79.94 kB / 0.5607 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.3964, allocations: 1.216 MB / 0.5618 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.3965, allocations: 3.953 kB / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.3966, allocations: 39.98 kB / 0.5619 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-05/0.3966, allocations: 57.97 kB / 0.5619 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.3982, allocations: 0.9538 MB / 0.5629 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005972/0.4041, allocations: 4.453 MB / 0.5672 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4054, allocations: 0.6584 MB / 0.5679 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.406, allocations: 381.5 kB / 0.5682 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.406, allocations: 4.5 kB / 0.5682 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.4067, allocations: 478.5 kB / 0.5687 GB, free: 8.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.4067, allocations: 3.938 kB / 0.5687 GB, free: 8.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005406/0.4121, allocations: 2.377 MB / 0.571 GB, free: 5.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.4122, allocations: 170.9 kB / 0.5712 GB, free: 5.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.413, allocations: 0.6172 MB / 0.5718 GB, free: 5.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.413, allocations: 33.7 kB / 0.5718 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.4134, allocations: 0.4921 MB / 0.5723 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.4137, allocations: 242 kB / 0.5725 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.4139, allocations: 158.6 kB / 0.5727 GB, free: 4.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4141, allocations: 382.8 kB / 0.573 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.4146, allocations: 315.5 kB / 0.5733 GB, free: 3.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.4154, allocations: 0.5815 MB / 0.5739 GB, free: 2.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.4167, allocations: 0.9506 MB / 0.5748 GB, free: 1.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4167, allocations: 7.984 kB / 0.5748 GB, free: 1.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002377/0.4191, allocations: 1.247 MB / 0.5761 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.4192, allocations: 36.83 kB / 0.5761 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.4192, allocations: 8 kB / 0.5761 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4203, allocations: 329.6 kB / 0.5764 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.4208, allocations: 147.8 kB / 0.5766 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/0.4273, allocations: 5.044 MB / 0.5815 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.4278, allocations: 36.03 kB / 0.5815 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.4279, allocations: 36 kB / 0.5816 GB, free: 10.58 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.0005697/0.4285, allocations: 355.2 kB / 0.5819 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4286, allocations: 83.42 kB / 0.582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.4305, allocations: 1.064 MB / 0.583 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4305, allocations: 8 kB / 0.583 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4305, allocations: 4 kB / 0.583 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4305, allocations: 11.92 kB / 0.583 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.434, allocations: 1.979 MB / 0.585 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.434, allocations: 0 / 0.585 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.4343, allocations: 79.83 kB / 0.585 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008781/0.4351, allocations: 313.5 kB / 0.5853 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.4352, allocations: 19.94 kB / 0.5854 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.4414, allocations: 4.95 MB / 0.5902 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.4414, allocations: 11.94 kB / 0.5902 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.4435, allocations: 1.148 MB / 0.5913 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.4437, allocations: 83.41 kB / 0.5914 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.4438, allocations: 12 kB / 0.5914 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4442, allocations: 19.98 kB / 0.5914 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.4444, allocations: 56.34 kB / 0.5915 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.4444, allocations: 23.98 kB / 0.5915 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006103/0.445, allocations: 415 kB / 0.5919 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.445, allocations: 0 / 0.5919 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001068/0.4461, allocations: 268 kB / 0.5922 GB, free: 15.29 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.002222/0.4483, allocations: 1.709 MB / 0.5938 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.4503, allocations: 1.18 MB / 0.595 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4503, allocations: 0 / 0.595 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.4514, allocations: 0.777 MB / 0.5957 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.4523, allocations: 173.1 kB / 0.5959 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.4645, allocations: 7.46 MB / 0.6032 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.4653, allocations: 0.5081 MB / 0.6037 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005473/0.4659, allocations: 174.3 kB / 0.6039 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.4663, allocations: 323.3 kB / 0.6042 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4663, allocations: 0 / 0.6042 GB, free: 2.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.5293, allocations: 19.76 MB / 0.6235 GB, free: 14.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.68, allocations: 6.984 kB / 0.6235 GB, free: 14.88 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.712530057877302] Failed to read output from testmodel.py, exit status != 0: 12.821063423994929 12.851985376 12.456412883 Calling exit ...