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.00232/0.00232, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.002714/0.002714, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 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.572/1.572, allocations: 177.2 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3307/0.3307, allocations: 29.41 MB / 290.5 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.924e-06/1.924e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.457e-05, allocations: 6.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.01019/0.01022, allocations: 6.609 MB / 375.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.01368, allocations: 1.601 MB / 377.1 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.01416, allocations: 31.75 kB / 377.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.01491, allocations: 186.5 kB / 377.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01605, allocations: 401.5 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.01668, allocations: 235.5 kB / 377.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.01808, allocations: 1.098 MB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.01861, allocations: 310.8 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.01968, allocations: 0.6663 MB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.02053, allocations: 446.9 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.02068, allocations: 88 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.02086, allocations: 88 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.02126, allocations: 303.2 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.02166, allocations: 283.4 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.02307, allocations: 1.071 MB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.02307, allocations: 0 / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.02308, allocations: 0 / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.02309, allocations: 0 / 382.2 MB, free: 13.89 MB / 362.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.002317/0.0254, allocations: 1.115 MB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.02545, allocations: 15.98 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.02569, allocations: 124.5 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.02721, allocations: 0.6128 MB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.02744, allocations: 194.4 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.02754, allocations: 60.31 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.0289, allocations: 0.6814 MB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.02892, allocations: 0 / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.02899, allocations: 28 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.029, allocations: 12 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.03009, allocations: 447.6 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.03429, allocations: 2.72 MB / 388.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.03521, allocations: 378.5 kB / 388.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.03563, allocations: 171.1 kB / 388.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.03568, allocations: 12.28 kB / 388.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.03618, allocations: 248.3 kB / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.03618, allocations: 0 / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002644/0.03882, allocations: 0.6657 MB / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.03893, allocations: 132.5 kB / 389.8 MB, free: 5.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.03953, allocations: 482.6 kB / 390.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.03957, allocations: 33.7 kB / 390.3 MB, free: 5.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.03992, allocations: 387.4 kB / 390.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.04009, allocations: 138.9 kB / 390.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.04048, allocations: 95.84 kB / 390.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003428/0.04082, allocations: 0.5547 MB / 391.5 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.0411, allocations: 104.9 kB / 391.6 MB, free: 4.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.04154, allocations: 276 kB / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.04248, allocations: 497.3 kB / 392.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.04249, allocations: 0 / 392.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001095/0.04358, allocations: 493.2 kB / 392.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.04361, allocations: 8 kB / 392.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.04362, allocations: 4 kB / 392.8 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.04412, allocations: 147.8 kB / 393 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.04445, allocations: 79.84 kB / 393.1 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.04825, allocations: 2.641 MB / 395.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.04856, allocations: 47.61 kB / 395.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.0486, allocations: 20 kB / 395.8 MB, free: 15.7 MB / 378.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.0003766/0.04898, allocations: 244 kB / 396 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.04908, allocations: 55.72 kB / 396.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.05022, allocations: 418.3 kB / 396.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.05023, allocations: 8 kB / 396.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.05023, allocations: 3.938 kB / 396.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.05024, allocations: 3.984 kB / 396.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.05128, allocations: 0.692 MB / 397.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.05129, allocations: 7.984 kB / 397.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.05155, allocations: 43.92 kB / 397.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.05196, allocations: 139.6 kB / 397.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.05199, allocations: 8 kB / 397.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.05578, allocations: 2.645 MB / 400 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.05579, allocations: 0 / 400 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.05729, allocations: 0.6113 MB / 400.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.05747, allocations: 67.67 kB / 400.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.05753, allocations: 12.08 kB / 400.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.05774, allocations: 19.91 kB / 400.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.0579, allocations: 39.92 kB / 400.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.05793, allocations: 12 kB / 400.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003988/0.05833, allocations: 295.1 kB / 401.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05833, allocations: 0 / 401.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006985/0.05903, allocations: 171.5 kB / 401.2 MB, free: 10.01 MB / 378.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.0001524/0.05918, allocations: 103.2 kB / 401.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.06029, allocations: 0.5368 MB / 401.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.06029, allocations: 0 / 401.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.06092, allocations: 386.4 kB / 402.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.06155, allocations: 135.7 kB / 402.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.06388, allocations: 1.149 MB / 403.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.06428, allocations: 319.1 kB / 403.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.06451, allocations: 76.33 kB / 403.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.0646, allocations: 36.5 kB / 404 MB, free: 7.164 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0646, allocations: 0 / 404 MB, free: 7.164 MB / 378.7 MB Notification: Performance of Templates: time 0.01548/0.08009, allocations: 6.963 MB / 410.9 MB, free: 340 kB / 378.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: 4.964809013996273]