Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001605/0.001605, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001857/0.001857, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.578/1.578, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.1887/0.1887, allocations: 38.5 MB / 348.7 MB, free: 2.688 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.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.001999/0.001999, allocations: 63.91 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 62.42 MB / 0.5367 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008614/0.1339, allocations: 6.666 MB / 0.5432 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.1371, allocations: 1.772 MB / 0.5449 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.1375, allocations: 31.75 kB / 0.5449 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008002/0.1383, allocations: 234.4 kB / 0.5452 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.1394, allocations: 385.8 kB / 0.5455 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.14, allocations: 231.6 kB / 0.5457 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.1415, allocations: 1.075 MB / 0.5468 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.1421, allocations: 390.2 kB / 0.5472 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.143, allocations: 490.2 kB / 0.5476 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.1437, allocations: 0.5022 MB / 0.5481 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1438, allocations: 84 kB / 0.5482 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.144, allocations: 84 kB / 0.5483 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.1443, allocations: 283.2 kB / 0.5486 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.1447, allocations: 398.3 kB / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1459, allocations: 1.051 MB / 0.55 GB, free: 9.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1459, allocations: 0 / 0.55 GB, free: 9.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1459, allocations: 0 / 0.55 GB, free: 9.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.1459, allocations: 0 / 0.55 GB, free: 9.902 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002172/0.1481, allocations: 1.036 MB / 0.551 GB, free: 8.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1481, allocations: 12.03 kB / 0.551 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.1483, allocations: 98.7 kB / 0.5511 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.1484, allocations: 84.45 kB / 0.5512 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1496, allocations: 0.6568 MB / 0.5518 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1498, allocations: 113 kB / 0.5519 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.1499, allocations: 60 kB / 0.552 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1512, allocations: 0.7499 MB / 0.5527 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1512, allocations: 7.922 kB / 0.5527 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.1513, allocations: 20 kB / 0.5527 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1513, allocations: 20 kB / 0.5527 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1526, allocations: 0.6011 MB / 0.5533 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.1561, allocations: 2.456 MB / 0.5557 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.1571, allocations: 400.3 kB / 0.5561 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1575, allocations: 191.1 kB / 0.5563 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1576, allocations: 4.281 kB / 0.5563 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.158, allocations: 251.1 kB / 0.5565 GB, free: 2.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.158, allocations: 0 / 0.5565 GB, free: 2.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003387/0.1614, allocations: 0.8709 MB / 0.5574 GB, free: 1.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.1615, allocations: 140.4 kB / 0.5575 GB, free: 1.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.162, allocations: 401.9 kB / 0.5579 GB, free: 1.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.162, allocations: 37.7 kB / 0.5579 GB, free: 1.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.1623, allocations: 320.8 kB / 0.5582 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1624, allocations: 131 kB / 0.5584 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1625, allocations: 82.08 kB / 0.5584 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1627, allocations: 350.8 kB / 0.5588 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.163, allocations: 132.8 kB / 0.5589 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.1634, allocations: 245 kB / 0.5591 GB, free: 56 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.1651, allocations: 0.6564 MB / 0.5598 GB, free: 15.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.1651, allocations: 4 kB / 0.5598 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00114/0.1662, allocations: 0.5251 MB / 0.5603 GB, free: 14.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1662, allocations: 8 kB / 0.5603 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1662, allocations: 0 / 0.5603 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.1667, allocations: 157.2 kB / 0.5605 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.167, allocations: 71.84 kB / 0.5605 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.1708, allocations: 2.267 MB / 0.5627 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1711, allocations: 55.66 kB / 0.5628 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1712, allocations: 15.98 kB / 0.5628 GB, free: 12.1 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.1715, allocations: 249.9 kB / 0.563 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.1716, allocations: 51.66 kB / 0.5631 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.173, allocations: 478.6 kB / 0.5636 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.173, allocations: 7.938 kB / 0.5636 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.173, allocations: 4 kB / 0.5636 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.173, allocations: 3.984 kB / 0.5636 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.1739, allocations: 0.6901 MB / 0.5642 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1739, allocations: 8 kB / 0.5642 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1742, allocations: 39.92 kB / 0.5643 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.1747, allocations: 144.8 kB / 0.5644 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1747, allocations: 7.984 kB / 0.5644 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.1783, allocations: 2.256 MB / 0.5666 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.1783, allocations: 4.031 kB / 0.5666 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.1801, allocations: 0.6827 MB / 0.5673 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.1804, allocations: 152.7 kB / 0.5675 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.1804, allocations: 15.98 kB / 0.5675 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1807, allocations: 19.92 kB / 0.5675 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.1808, allocations: 39.89 kB / 0.5675 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.1808, allocations: 12 kB / 0.5675 GB, free: 6.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.1812, allocations: 279.3 kB / 0.5678 GB, free: 6.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1812, allocations: 0 / 0.5678 GB, free: 6.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.1818, allocations: 167.6 kB / 0.568 GB, free: 6.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002124/0.1839, allocations: 1.245 MB / 0.5692 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1851, allocations: 487.2 kB / 0.5696 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1851, allocations: 4.312 kB / 0.5696 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.1857, allocations: 322.4 kB / 0.57 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.1864, allocations: 168.4 kB / 0.5701 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.1943, allocations: 4.579 MB / 0.5746 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.1949, allocations: 0.925 MB / 0.5755 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.1952, allocations: 84.64 kB / 0.5756 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.1955, allocations: 195.4 kB / 0.5758 GB, free: 14.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1955, allocations: 0 / 0.5758 GB, free: 14.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04898/0.2445, allocations: 13.33 MB / 0.5888 GB, free: 1.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.77, allocations: 0 / 0.5888 GB, free: 1.121 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_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_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.30997885898978] Failed to read output from testmodel.py, exit status != 0: 13.135563799994998 13.149691972 13.001289432 Calling exit ...