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.001303/0.001303, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001412/0.001412, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.604/1.604, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2013/0.2013, allocations: 38.5 MB / 348.7 MB, free: 2.582 MB / 270.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.002159/0.002159, allocations: 63.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1346, allocations: 62.42 MB / 0.5367 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.00913/0.1437, allocations: 6.03 MB / 0.5426 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1473, allocations: 1.586 MB / 0.5441 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.1479, allocations: 35.69 kB / 0.5441 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.1486, allocations: 146.8 kB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.15, allocations: 366.1 kB / 0.5446 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.151, allocations: 311.5 kB / 0.5449 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1532, allocations: 1.344 MB / 0.5462 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.1538, allocations: 288.7 kB / 0.5465 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1551, allocations: 0.5568 MB / 0.5471 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.1564, allocations: 0.5803 MB / 0.5476 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.1566, allocations: 88 kB / 0.5477 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.1568, allocations: 92 kB / 0.5478 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.1572, allocations: 355.1 kB / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.1578, allocations: 414.3 kB / 0.5485 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.1593, allocations: 1.067 MB / 0.5496 GB, free: 10.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1593, allocations: 0 / 0.5496 GB, free: 10.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1593, allocations: 0 / 0.5496 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.1594, allocations: 0 / 0.5496 GB, free: 10.27 MB / 414.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.004085/0.1635, allocations: 1.211 MB / 0.5508 GB, free: 8.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/0.1635, allocations: 8.031 kB / 0.5508 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.1637, allocations: 114.7 kB / 0.5509 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.164, allocations: 88.47 kB / 0.551 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.1659, allocations: 0.6592 MB / 0.5516 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/0.1665, allocations: 351.1 kB / 0.5519 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1667, allocations: 60 kB / 0.552 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.1694, allocations: 1.039 MB / 0.553 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1695, allocations: 0 / 0.553 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.1696, allocations: 24 kB / 0.553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1696, allocations: 12 kB / 0.553 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.1728, allocations: 1.093 MB / 0.5541 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.1787, allocations: 3.205 MB / 0.5572 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.1812, allocations: 0.721 MB / 0.5579 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.1828, allocations: 0.5091 MB / 0.5584 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/0.1828, allocations: 8.375 kB / 0.5584 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.1845, allocations: 0.6264 MB / 0.5591 GB, free: 212 kB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.756e-06/0.1845, allocations: 0 / 0.5591 GB, free: 212 kB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004367/0.1888, allocations: 1.363 MB / 0.5604 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.189, allocations: 144.5 kB / 0.5605 GB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.1895, allocations: 389.9 kB / 0.5609 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.1896, allocations: 37.7 kB / 0.5609 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.1898, allocations: 304.9 kB / 0.5612 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.19, allocations: 170.6 kB / 0.5614 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1902, allocations: 118.2 kB / 0.5615 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1904, allocations: 362.7 kB / 0.5618 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.1916, allocations: 456.9 kB / 0.5623 GB, free: 12.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.1928, allocations: 0.5561 MB / 0.5628 GB, free: 12.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.195, allocations: 0.8857 MB / 0.5637 GB, free: 11.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.195, allocations: 4 kB / 0.5637 GB, free: 11.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002702/0.1977, allocations: 1.09 MB / 0.5648 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.1978, allocations: 53.67 kB / 0.5648 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1978, allocations: 4 kB / 0.5648 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.1978, allocations: 8 kB / 0.5648 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006295/0.2041, allocations: 1.104 MB / 0.5659 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/0.2132, allocations: 4.697 MB / 0.5705 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.2141, allocations: 111.6 kB / 0.5706 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.2142, allocations: 43.95 kB / 0.5706 GB, free: 3.898 MB / 430.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.0004666/0.2147, allocations: 251.2 kB / 0.5709 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2148, allocations: 55.66 kB / 0.5709 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.2178, allocations: 0.9926 MB / 0.5719 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2178, allocations: 8 kB / 0.5719 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2178, allocations: 4 kB / 0.5719 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2178, allocations: 0 / 0.5719 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.2225, allocations: 2.126 MB / 0.574 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.2226, allocations: 7.938 kB / 0.574 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007629/0.2302, allocations: 1.284 MB / 0.5752 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.2302, allocations: 4 kB / 0.5753 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.2303, allocations: 15.92 kB / 0.5753 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.2303, allocations: 4 kB / 0.5753 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.2303, allocations: 11.88 kB / 0.5753 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.2352, allocations: 1.694 MB / 0.5769 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.2359, allocations: 204.7 kB / 0.5771 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.236, allocations: 31.98 kB / 0.5772 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/0.2368, allocations: 83.89 kB / 0.5772 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.237, allocations: 99.72 kB / 0.5773 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.2371, allocations: 19.98 kB / 0.5774 GB, free: 12.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003721/0.2375, allocations: 275.1 kB / 0.5776 GB, free: 12.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2375, allocations: 0 / 0.5776 GB, free: 12.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000784/0.2382, allocations: 183.7 kB / 0.5778 GB, free: 12.42 MB / 446.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.005024/0.2433, allocations: 2.268 MB / 0.58 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008323/0.2516, allocations: 2.019 MB / 0.582 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.2516, allocations: 0 / 0.582 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.2557, allocations: 0.937 MB / 0.5829 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2567, allocations: 140.3 kB / 0.583 GB, free: 6.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.271, allocations: 6.588 MB / 0.5895 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2831/0.5542, allocations: 0.9227 MB / 0.5904 GB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008184/0.555, allocations: 157.2 kB / 0.5905 GB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.5554, allocations: 197.8 kB / 0.5907 GB, free: 51.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.774e-06/0.5554, allocations: 0 / 0.5907 GB, free: 51.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.6079, allocations: 13.77 MB / 0.6041 GB, free: 48.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.46, allocations: 7.797 kB / 0.6042 GB, free: 48.71 MB / 446.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.91500294400612] Failed to read output from testmodel.py, exit status != 0: 13.58483776099456 13.600002942 13.437565385 Calling exit ...