Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.000895/0.0008948, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009001/0.0009003, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004482/0.0004483, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003228/0.2597, allocations: 3.105 MB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2612, allocations: 0.922 MB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2614, allocations: 11.53 kB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2616, allocations: 54.17 kB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.2618, allocations: 104.4 kB / 330.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.2622, allocations: 148.3 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.2628, allocations: 0.5336 MB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.2631, allocations: 169.2 kB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2634, allocations: 163.6 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.2636, allocations: 201.2 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.2637, allocations: 21.94 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.2637, allocations: 22.44 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2639, allocations: 82.58 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.264, allocations: 109.5 kB / 332.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.2644, allocations: 469.3 kB / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2644, allocations: 1.125 kB / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2644, allocations: 0 / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2644, allocations: 0 / 332.6 MB, free: 12.82 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.001289/0.2657, allocations: 0.7369 MB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2658, allocations: 9.094 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2659, allocations: 55.72 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.2665, allocations: 381.4 kB / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.2665, allocations: 38.83 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.2666, allocations: 45.56 kB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.2674, allocations: 461.6 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2675, allocations: 1.094 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2675, allocations: 15.41 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2675, allocations: 10.28 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.2682, allocations: 319.9 kB / 334.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2705, allocations: 1.678 MB / 336.3 MB, free: 9.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.2712, allocations: 311.7 kB / 336.6 MB, free: 9.137 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2715, allocations: 177.3 kB / 336.8 MB, free: 8.961 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.2716, allocations: 8.266 kB / 336.8 MB, free: 8.953 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.2721, allocations: 262.1 kB / 337 MB, free: 8.676 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.2721, allocations: 0 / 337 MB, free: 8.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001507/0.2736, allocations: 0.6363 MB / 337.7 MB, free: 8.012 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.2737, allocations: 140.5 kB / 337.8 MB, free: 7.844 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2741, allocations: 353.6 kB / 338.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2741, allocations: 37.7 kB / 338.2 MB, free: 7.441 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.2743, allocations: 220.4 kB / 338.4 MB, free: 7.219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.2744, allocations: 114.4 kB / 338.5 MB, free: 7.105 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.2744, allocations: 12 kB / 338.5 MB, free: 7.094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2746, allocations: 350.8 kB / 338.9 MB, free: 6.742 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.2748, allocations: 108.8 kB / 339 MB, free: 6.637 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.2751, allocations: 264.5 kB / 339.2 MB, free: 6.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2754, allocations: 165.6 kB / 339.4 MB, free: 6.152 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2754, allocations: 7.938 kB / 339.4 MB, free: 6.145 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007796/0.2762, allocations: 487.3 kB / 339.9 MB, free: 5.652 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.2764, allocations: 232.9 kB / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2764, allocations: 4 kB / 340.1 MB, free: 5.359 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.2767, allocations: 76.81 kB / 340.2 MB, free: 5.281 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.277, allocations: 75.83 kB / 340.3 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.2787, allocations: 1.694 MB / 342 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.279, allocations: 59.58 kB / 342 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.279, allocations: 20.06 kB / 342 MB, free: 3.305 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.279, allocations: 4 kB / 342.1 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006743/0.2797, allocations: 410.8 kB / 342.5 MB, free: 2.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2797, allocations: 4 kB / 342.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.2799, allocations: 72.75 kB / 342.5 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.2802, allocations: 67.84 kB / 342.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2816, allocations: 1.695 MB / 344.3 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.2819, allocations: 51.73 kB / 344.3 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.2819, allocations: 20.12 kB / 344.4 MB, free: 0.8438 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.0002651/0.2822, allocations: 263.2 kB / 344.6 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.2823, allocations: 39.53 kB / 344.7 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.2824, allocations: 40.14 kB / 344.7 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2824, allocations: 7.953 kB / 344.7 MB, free: 500 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2824, allocations: 0 / 344.7 MB, free: 500 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2824, allocations: 7.984 kB / 344.7 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2839, allocations: 1.017 MB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2839, allocations: 4 kB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2841, allocations: 43.91 kB / 345.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.2843, allocations: 69.05 kB / 345.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2844, allocations: 7.984 kB / 345.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.2859, allocations: 1.698 MB / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2859, allocations: 0 / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.287, allocations: 0.6267 MB / 348.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.2872, allocations: 144.6 kB / 348.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.2872, allocations: 11.98 kB / 348.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2875, allocations: 31.98 kB / 348.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2876, allocations: 31.95 kB / 348.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2877, allocations: 16.05 kB / 348.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.288, allocations: 255.1 kB / 348.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.288, allocations: 0 / 348.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008467/0.2888, allocations: 215.3 kB / 348.9 MB, free: 12.08 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.0001632/0.289, allocations: 111.2 kB / 349 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.2905, allocations: 0.8836 MB / 349.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2905, allocations: 0.5625 kB / 349.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.291, allocations: 314.3 kB / 350.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.2915, allocations: 69.53 kB / 350.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2933, allocations: 1.03 MB / 351.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2937, allocations: 0.8235 MB / 352.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.2939, allocations: 47.3 kB / 352.1 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.294, allocations: 27.44 kB / 352.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.294, allocations: 3.938 kB / 352.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of Templates: time 0.01187/0.3059, allocations: 5.877 MB / 358 MB, free: 2.77 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1)