Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 86.56 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 180.2 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 223.4 MB, free: 5.301 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005135, allocations: 8 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 47.6 MB / 327.8 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003343/0.2457, allocations: 3.118 MB / 330.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2472, allocations: 0.9149 MB / 331.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.2475, allocations: 15.59 kB / 331.8 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.2477, allocations: 61.78 kB / 331.9 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.248, allocations: 96.2 kB / 332 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2485, allocations: 145.7 kB / 332.1 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.2491, allocations: 0.5366 MB / 332.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.2494, allocations: 168 kB / 332.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2496, allocations: 168.2 kB / 333 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2498, allocations: 189.5 kB / 333.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.2499, allocations: 26.75 kB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.25, allocations: 20.81 kB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2501, allocations: 87.44 kB / 333.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2502, allocations: 114.4 kB / 333.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.2507, allocations: 461.3 kB / 333.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2507, allocations: 0 / 333.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2507, allocations: 0 / 333.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2507, allocations: 0 / 333.8 MB, free: 12.88 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001322/0.252, allocations: 0.7408 MB / 334.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2521, allocations: 13.92 kB / 334.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2522, allocations: 55.66 kB / 334.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.2527, allocations: 372.3 kB / 335 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.2528, allocations: 36.28 kB / 335 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.2529, allocations: 48.39 kB / 335.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.2538, allocations: 460.2 kB / 335.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2538, allocations: 0 / 335.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.2538, allocations: 16 kB / 335.6 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2539, allocations: 12 kB / 335.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.2545, allocations: 319.8 kB / 335.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.2568, allocations: 1.682 MB / 337.6 MB, free: 9.422 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.2575, allocations: 311.6 kB / 337.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.2579, allocations: 177.3 kB / 338 MB, free: 8.934 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.258, allocations: 4.281 kB / 338 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005781/0.2585, allocations: 262.1 kB / 338.3 MB, free: 8.652 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.665e-06/0.2586, allocations: 0 / 338.3 MB, free: 8.652 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.00166/0.2602, allocations: 0.6363 MB / 338.9 MB, free: 7.988 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2603, allocations: 136.5 kB / 339.1 MB, free: 7.824 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.2608, allocations: 353.6 kB / 339.4 MB, free: 7.465 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.2609, allocations: 37.7 kB / 339.5 MB, free: 7.422 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.2611, allocations: 236.4 kB / 339.7 MB, free: 7.184 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2612, allocations: 106.5 kB / 339.8 MB, free: 7.078 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.2612, allocations: 12 kB / 339.8 MB, free: 7.066 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2614, allocations: 346.8 kB / 340.1 MB, free: 6.719 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.2617, allocations: 116.8 kB / 340.3 MB, free: 6.605 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.2621, allocations: 264.5 kB / 340.5 MB, free: 6.289 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.2624, allocations: 165.6 kB / 340.7 MB, free: 6.121 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2625, allocations: 0 / 340.7 MB, free: 6.121 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009519/0.2634, allocations: 483.8 kB / 341.1 MB, free: 5.633 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.2637, allocations: 236.4 kB / 341.4 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2637, allocations: 4 kB / 341.4 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.264, allocations: 72.8 kB / 341.5 MB, free: 5.262 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.2643, allocations: 71.84 kB / 341.5 MB, free: 5.191 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.2663, allocations: 1.698 MB / 343.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.2667, allocations: 59.64 kB / 343.3 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.2667, allocations: 16 kB / 343.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2667, allocations: 4.625 kB / 343.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007094/0.2675, allocations: 410.4 kB / 343.7 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2675, allocations: 7.938 kB / 343.7 MB, free: 2.867 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.2677, allocations: 72.88 kB / 343.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.2679, allocations: 68.25 kB / 343.8 MB, free: 2.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.2698, allocations: 1.707 MB / 345.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.2701, allocations: 47.67 kB / 345.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.2702, allocations: 20 kB / 345.6 MB, free: 0.8164 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.2705, allocations: 259.2 kB / 345.9 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.2706, allocations: 39.53 kB / 345.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.2707, allocations: 48.19 kB / 346 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2707, allocations: 7.953 kB / 346 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2707, allocations: 3.938 kB / 346 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2707, allocations: 4 kB / 346 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2722, allocations: 1.021 MB / 347 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2722, allocations: 0 / 347 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.2724, allocations: 39.92 kB / 347 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.2726, allocations: 72.88 kB / 347.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2727, allocations: 8 kB / 347.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.2743, allocations: 1.69 MB / 348.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2743, allocations: 0 / 348.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2753, allocations: 0.6267 MB / 349.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.2755, allocations: 148.6 kB / 349.6 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.2756, allocations: 8 kB / 349.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.2759, allocations: 31.97 kB / 349.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.276, allocations: 31.95 kB / 349.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.276, allocations: 12 kB / 349.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.2763, allocations: 247.2 kB / 349.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2763, allocations: 4 kB / 349.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008759/0.2772, allocations: 215.3 kB / 350.1 MB, free: 12.06 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.2773, allocations: 115.2 kB / 350.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.2788, allocations: 0.8835 MB / 351.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2788, allocations: 3.938 kB / 351.1 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.2792, allocations: 311.3 kB / 351.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.2798, allocations: 73.39 kB / 351.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2815, allocations: 1.026 MB / 352.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.282, allocations: 0.8273 MB / 353.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.2822, allocations: 47.3 kB / 353.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2822, allocations: 39.36 kB / 353.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2822, allocations: 0 / 353.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of Templates: time 0.01162/0.2939, allocations: 5.874 MB / 359.3 MB, free: 2.742 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1)