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.001204/0.001204, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001317/0.001317, allocations: 169 kB / 24.91 MB, free: 8.723 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1313/0.1313, allocations: 29.42 MB / 291.2 MB, free: 2.695 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.482e-06/1.482e-06, allocations: 0 / 316.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.578e-05, allocations: 6.25 kB / 316.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00708/0.007105, allocations: 5.575 MB / 322.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.009444, allocations: 1.655 MB / 324.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.009739, allocations: 31.75 kB / 324.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.0102, allocations: 178.7 kB / 324.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.01079, allocations: 389.5 kB / 324.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.01117, allocations: 231.5 kB / 324.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.01203, allocations: 1.098 MB / 326 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.01237, allocations: 314.8 kB / 326.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.01316, allocations: 0.7056 MB / 327 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.0136, allocations: 406.9 kB / 327.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.01368, allocations: 80 kB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.01377, allocations: 84 kB / 327.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.01398, allocations: 303.2 kB / 327.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.01421, allocations: 287.4 kB / 328.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01533, allocations: 0.5957 MB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01533, allocations: 0 / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01534, allocations: 0 / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.01536, allocations: 4 kB / 328.7 MB, free: 13.1 MB / 314.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.001297/0.01665, allocations: 0.9045 MB / 329.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.01669, allocations: 8.031 kB / 329.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.01687, allocations: 104.8 kB / 329.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.01766, allocations: 450.3 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.01784, allocations: 190.4 kB / 330.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/0.01793, allocations: 60.31 kB / 330.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.01844, allocations: 0.4958 MB / 330.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01846, allocations: 0 / 330.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.01851, allocations: 24 kB / 330.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.01852, allocations: 16 kB / 331 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.01895, allocations: 205.6 kB / 331.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.02121, allocations: 1.734 MB / 332.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.02166, allocations: 299.8 kB / 333.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.02186, allocations: 102.9 kB / 333.3 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.02189, allocations: 8.281 kB / 333.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.02215, allocations: 174.2 kB / 333.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.058e-06/0.02215, allocations: 4 kB / 333.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001427/0.02358, allocations: 455.6 kB / 333.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.02366, allocations: 140.5 kB / 334.1 MB, free: 7.488 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.02393, allocations: 319.2 kB / 334.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.02396, allocations: 41.89 kB / 334.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.02415, allocations: 289.2 kB / 334.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.02425, allocations: 118.9 kB / 334.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02437, allocations: 86.09 kB / 334.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.0245, allocations: 358.7 kB / 335.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.0246, allocations: 47.8 kB / 335.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.02475, allocations: 158.7 kB / 335.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.02512, allocations: 309.3 kB / 335.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.02512, allocations: 0 / 335.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004993/0.02562, allocations: 289.7 kB / 336 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02564, allocations: 8 kB / 336 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.02565, allocations: 4 kB / 336 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.02599, allocations: 179.6 kB / 336.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.02623, allocations: 71.91 kB / 336.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.02805, allocations: 1.734 MB / 338 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.02831, allocations: 35.81 kB / 338 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.02834, allocations: 12 kB / 338.1 MB, free: 3.223 MB / 314.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.0002329/0.02857, allocations: 152.4 kB / 338.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.02864, allocations: 39.97 kB / 338.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.02914, allocations: 274.3 kB / 338.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.02914, allocations: 7.984 kB / 338.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.02915, allocations: 0 / 338.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02915, allocations: 0 / 338.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.02975, allocations: 391.8 kB / 338.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.02975, allocations: 0 / 338.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.02994, allocations: 55.89 kB / 339 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.03028, allocations: 163.6 kB / 339.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.03031, allocations: 12 kB / 339.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.03191, allocations: 1.721 MB / 340.9 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.03192, allocations: 7.922 kB / 340.9 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.03259, allocations: 371.7 kB / 341.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.03271, allocations: 55.62 kB / 341.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.03274, allocations: 12 kB / 341.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.03283, allocations: 15.98 kB / 341.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.03291, allocations: 47.84 kB / 341.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.03292, allocations: 4 kB / 341.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.03301, allocations: 124.7 kB / 341.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03301, allocations: 0 / 341.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005948/0.0336, allocations: 171.6 kB / 341.6 MB, free: 15.45 MB / 330.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 0.0001481/0.03375, allocations: 92.36 kB / 341.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.03431, allocations: 357 kB / 342.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.03432, allocations: 8.125 kB / 342.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.03463, allocations: 259.1 kB / 342.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.03508, allocations: 127.9 kB / 342.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.03755, allocations: 1.099 MB / 343.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.03767, allocations: 161.7 kB / 343.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.03783, allocations: 56.36 kB / 343.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.03803, allocations: 153.3 kB / 343.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.03804, allocations: 0 / 343.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of Templates: time 0.01701/0.05504, allocations: 8.076 MB / 352 MB, free: 5.117 MB / 330.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.268593685235828]