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.0007991/0.0007991, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003248/0.003248, allocations: 160 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8489/0.8489, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2229/0.2229, allocations: 29.41 MB / 290.9 MB, free: 2.426 MB / 266.7 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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.308e-05, allocations: 6.219 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00486/0.004883, allocations: 6.23 MB / 437.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.006584, allocations: 1.562 MB / 439.3 MB, free: 5.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.006797, allocations: 31.75 kB / 439.3 MB, free: 5.246 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.007215, allocations: 190.6 kB / 439.5 MB, free: 5.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.007659, allocations: 401.4 kB / 439.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.007917, allocations: 231.5 kB / 440.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.008554, allocations: 1.102 MB / 441.2 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.008847, allocations: 302.8 kB / 441.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.009375, allocations: 0.6702 MB / 442.2 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.00976, allocations: 434.9 kB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.009827, allocations: 84 kB / 442.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.009902, allocations: 84 kB / 442.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.01008, allocations: 295.2 kB / 443 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01026, allocations: 279.5 kB / 443.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.01091, allocations: 1.063 MB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01091, allocations: 3.938 kB / 444.4 MB, free: 132 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01091, allocations: 0 / 444.4 MB, free: 132 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.01092, allocations: 0 / 444.4 MB, free: 132 kB / 410.7 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.148/0.159, allocations: 0.9495 MB / 445.3 MB, free: 55.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.159, allocations: 13.64 kB / 445.3 MB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.1591, allocations: 82.2 kB / 445.4 MB, free: 55.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.1597, allocations: 0.5786 MB / 446 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.868e-05/0.1598, allocations: 191.8 kB / 446.2 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.1598, allocations: 58.38 kB / 446.3 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.1605, allocations: 0.7493 MB / 447 MB, free: 54.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1605, allocations: 3.281 kB / 447 MB, free: 54.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1605, allocations: 25.42 kB / 447 MB, free: 54.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1606, allocations: 19.75 kB / 447 MB, free: 54.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1612, allocations: 0.6033 MB / 447.7 MB, free: 54.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1626, allocations: 2.142 MB / 449.8 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.1631, allocations: 393.6 kB / 450.2 MB, free: 52.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1633, allocations: 190.6 kB / 450.4 MB, free: 52.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1633, allocations: 8.906 kB / 450.4 MB, free: 52.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.1636, allocations: 235.8 kB / 450.6 MB, free: 52.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.522e-06/0.1636, allocations: 0 / 450.6 MB, free: 52.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001465/0.165, allocations: 0.8001 MB / 451.4 MB, free: 51.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1651, allocations: 134.7 kB / 451.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1652, allocations: 353.9 kB / 451.9 MB, free: 51.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1653, allocations: 32.7 kB / 451.9 MB, free: 51.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.1654, allocations: 327.3 kB / 452.2 MB, free: 51.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.1654, allocations: 123 kB / 452.4 MB, free: 51.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.1655, allocations: 85.14 kB / 452.4 MB, free: 51.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.1655, allocations: 350.1 kB / 452.8 MB, free: 50.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1657, allocations: 132 kB / 452.9 MB, free: 50.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1658, allocations: 251.9 kB / 453.2 MB, free: 50.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.1666, allocations: 0.6589 MB / 453.8 MB, free: 50.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1666, allocations: 0 / 453.8 MB, free: 50.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005027/0.1671, allocations: 0.5106 MB / 454.3 MB, free: 50 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1671, allocations: 7.062 kB / 454.3 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1671, allocations: 7.312 kB / 454.3 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.1673, allocations: 152.7 kB / 454.5 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1675, allocations: 75.17 kB / 454.6 MB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.169, allocations: 2.121 MB / 456.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1691, allocations: 44.09 kB / 456.7 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1691, allocations: 20.12 kB / 456.7 MB, free: 48.23 MB / 410.7 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.0001514/0.1693, allocations: 245.8 kB / 457 MB, free: 48.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1693, allocations: 47.12 kB / 457 MB, free: 48.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/0.1699, allocations: 481.4 kB / 457.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1699, allocations: 10.19 kB / 457.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1699, allocations: 0 / 457.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1699, allocations: 3.328 kB / 457.5 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1702, allocations: 0.5202 MB / 458 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1702, allocations: 3.25 kB / 458 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1704, allocations: 53.23 kB / 458.1 MB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.1705, allocations: 148.7 kB / 458.2 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1706, allocations: 10.62 kB / 458.2 MB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.1719, allocations: 2.099 MB / 460.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1719, allocations: 0 / 460.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.1726, allocations: 0.6892 MB / 461 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1727, allocations: 65.66 kB / 461.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1727, allocations: 11.31 kB / 461.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1728, allocations: 24.59 kB / 461.1 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1729, allocations: 37.98 kB / 461.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1729, allocations: 10.44 kB / 461.2 MB, free: 45.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.173, allocations: 242.3 kB / 461.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.173, allocations: 0 / 461.4 MB, free: 45.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.1733, allocations: 171.2 kB / 461.6 MB, free: 45.14 MB / 410.7 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 7.932e-05/0.1734, allocations: 103.1 kB / 461.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.1739, allocations: 0.489 MB / 462.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1739, allocations: 0 / 462.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.1742, allocations: 329.5 kB / 462.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1745, allocations: 125.2 kB / 462.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1756, allocations: 1.206 MB / 463.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1758, allocations: 334.3 kB / 464.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1758, allocations: 37 kB / 464.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1758, allocations: 0 / 464.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of Templates: time 0.006431/0.1823, allocations: 10.06 MB / 474.2 MB, free: 42.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.587112955749035] Failed to read output from testmodel.py, exit status != 0: 0.1872016042470932 0.194586167 0.182035882 Calling exit ...