Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001416/0.001416, allocations: 213.1 kB / 23.73 MB, free: 4.516 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1909/0.1909, allocations: 38.55 MB / 352.5 MB, free: 12.42 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.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",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.002075/0.002075, allocations: 67.91 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008821/0.3688, allocations: 5.75 MB / 0.5476 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.3721, allocations: 1.503 MB / 0.549 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004718/0.3726, allocations: 30.94 kB / 0.5491 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.3732, allocations: 137.4 kB / 0.5492 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3743, allocations: 373.3 kB / 0.5495 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.3751, allocations: 311.4 kB / 0.5498 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.3769, allocations: 1.346 MB / 0.5512 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.3773, allocations: 232.3 kB / 0.5514 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.3784, allocations: 0.5735 MB / 0.5519 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.3795, allocations: 0.5791 MB / 0.5525 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3797, allocations: 91.25 kB / 0.5526 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.3799, allocations: 91.16 kB / 0.5527 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.3803, allocations: 356.3 kB / 0.553 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.3808, allocations: 342.7 kB / 0.5533 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3822, allocations: 1.063 MB / 0.5544 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3822, allocations: 0 / 0.5544 GB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3822, allocations: 0.9062 kB / 0.5544 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3822, allocations: 0 / 0.5544 GB, free: 7.203 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002911/0.3851, allocations: 1.15 MB / 0.5555 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3852, allocations: 11.98 kB / 0.5555 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.3853, allocations: 110.7 kB / 0.5556 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.3855, allocations: 84.47 kB / 0.5557 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.387, allocations: 0.5975 MB / 0.5563 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007311/0.3877, allocations: 0.7445 MB / 0.557 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3879, allocations: 52 kB / 0.5571 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.3902, allocations: 1.054 MB / 0.5581 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3902, allocations: 0 / 0.5581 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.3903, allocations: 20 kB / 0.5581 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3903, allocations: 16 kB / 0.5581 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.3929, allocations: 1.085 MB / 0.5592 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005456/0.3984, allocations: 2.986 MB / 0.5621 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.4006, allocations: 0.7337 MB / 0.5628 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.402, allocations: 0.5103 MB / 0.5633 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.402, allocations: 8.438 kB / 0.5633 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.4035, allocations: 0.6109 MB / 0.5639 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.4035, allocations: 4 kB / 0.5639 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003943/0.4075, allocations: 1.371 MB / 0.5653 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.4076, allocations: 140.5 kB / 0.5654 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.4082, allocations: 397.8 kB / 0.5658 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/0.4083, allocations: 41.7 kB / 0.5658 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.4086, allocations: 300.9 kB / 0.5661 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.4088, allocations: 170.6 kB / 0.5663 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.4091, allocations: 114.3 kB / 0.5664 GB, free: 10.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.4093, allocations: 366.8 kB / 0.5667 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4104, allocations: 486.7 kB / 0.5672 GB, free: 9.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4116, allocations: 0.5816 MB / 0.5678 GB, free: 9.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.4137, allocations: 0.8847 MB / 0.5686 GB, free: 8.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4137, allocations: 0 / 0.5686 GB, free: 8.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002504/0.4162, allocations: 1.117 MB / 0.5697 GB, free: 7.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.4163, allocations: 53.69 kB / 0.5698 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4163, allocations: 0 / 0.5698 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4163, allocations: 8 kB / 0.5698 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/0.4221, allocations: 1.108 MB / 0.5709 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.4304, allocations: 4.482 MB / 0.5752 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.4314, allocations: 107.6 kB / 0.5753 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4315, allocations: 39.98 kB / 0.5754 GB, free: 1.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.432, allocations: 243.4 kB / 0.5756 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4321, allocations: 55.61 kB / 0.5757 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.4348, allocations: 0.9849 MB / 0.5766 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4348, allocations: 8 kB / 0.5766 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4348, allocations: 7.984 kB / 0.5766 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4348, allocations: 0 / 0.5766 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.4391, allocations: 2.007 MB / 0.5786 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4391, allocations: 4 kB / 0.5786 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007115/0.4462, allocations: 1.284 MB / 0.5798 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.4462, allocations: 4 kB / 0.5799 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/0.4463, allocations: 15.92 kB / 0.5799 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.4463, allocations: 11.94 kB / 0.5799 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.4463, allocations: 7.938 kB / 0.5799 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.4506, allocations: 1.705 MB / 0.5816 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4511, allocations: 127.6 kB / 0.5817 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4512, allocations: 27.98 kB / 0.5817 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.4519, allocations: 91.88 kB / 0.5818 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.4521, allocations: 99.77 kB / 0.5819 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.4522, allocations: 19.98 kB / 0.5819 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.4525, allocations: 267.2 kB / 0.5822 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4525, allocations: 0 / 0.5822 GB, free: 10.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.4532, allocations: 175.7 kB / 0.5823 GB, free: 9.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004467/0.4576, allocations: 2.272 MB / 0.5845 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007525/0.4652, allocations: 2.052 MB / 0.5865 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4652, allocations: 0 / 0.5865 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/0.4688, allocations: 0.9484 MB / 0.5875 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.4698, allocations: 128.7 kB / 0.5876 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.4824, allocations: 6.727 MB / 0.5942 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4828, allocations: 325.1 kB / 0.5945 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.4834, allocations: 160.6 kB / 0.5946 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.4838, allocations: 203.4 kB / 0.5948 GB, free: 12.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4838, allocations: 3.938 kB / 0.5948 GB, free: 12.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.532, allocations: 15.12 MB / 0.6096 GB, free: 13.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.43, allocations: 11.94 kB / 0.6096 GB, free: 13.88 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.60447301500244] Failed to read output from testmodel.py, exit status != 0: 13.561896899016574 13.59134423 13.20361734 Calling exit ...