Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001277/0.001277, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00147/0.00147, allocations: 177.3 kB / 15.95 MB, free: 216 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.597/1.597, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004166/0.0004167, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003749/0.2673, allocations: 2.978 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2694, allocations: 0.9533 MB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.2696, allocations: 7.812 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.2698, allocations: 51.58 kB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.2701, allocations: 136.8 kB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.2706, allocations: 152.9 kB / 330.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.2711, allocations: 383.5 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.2715, allocations: 168.7 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.2717, allocations: 165.7 kB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.272, allocations: 196.5 kB / 331.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.272, allocations: 22.78 kB / 331.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.2721, allocations: 21.75 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2722, allocations: 80.2 kB / 331.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2724, allocations: 116.7 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.2728, allocations: 455.8 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.2728, allocations: 0 / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2729, allocations: 0 / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2729, allocations: 0.9688 kB / 332.3 MB, free: 13 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.001186/0.2741, allocations: 0.7525 MB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.2741, allocations: 8.719 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.2742, allocations: 55.28 kB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.2747, allocations: 377.3 kB / 333.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.2748, allocations: 43.8 kB / 333.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.2749, allocations: 40.75 kB / 333.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.2756, allocations: 458.4 kB / 334 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2757, allocations: 0 / 334 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.2757, allocations: 16.53 kB / 334 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2757, allocations: 14.25 kB / 334.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.2764, allocations: 312.1 kB / 334.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2786, allocations: 1.678 MB / 336 MB, free: 9.707 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.2792, allocations: 319.7 kB / 336.3 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2793, allocations: 4.281 kB / 336.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.2798, allocations: 261.2 kB / 336.6 MB, free: 9.109 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.2798, allocations: 0 / 336.6 MB, free: 9.109 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001444/0.2812, allocations: 0.6272 MB / 337.2 MB, free: 8.453 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.2813, allocations: 114.8 kB / 337.3 MB, free: 8.316 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.2817, allocations: 353.6 kB / 337.7 MB, free: 7.957 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.2817, allocations: 37.7 kB / 337.7 MB, free: 7.914 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.2819, allocations: 224.4 kB / 337.9 MB, free: 7.688 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.282, allocations: 114.4 kB / 338.1 MB, free: 7.574 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.282, allocations: 8 kB / 338.1 MB, free: 7.566 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2821, allocations: 350.8 kB / 338.4 MB, free: 7.215 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2824, allocations: 116.8 kB / 338.5 MB, free: 7.102 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2827, allocations: 255.6 kB / 338.8 MB, free: 6.797 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2829, allocations: 162.8 kB / 338.9 MB, free: 6.633 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.283, allocations: 0 / 338.9 MB, free: 6.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007595/0.2837, allocations: 0.4925 MB / 339.4 MB, free: 6.125 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.2842, allocations: 1.431 MB / 340.9 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2843, allocations: 4 kB / 340.9 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.2845, allocations: 68.81 kB / 340.9 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.2848, allocations: 71.91 kB / 341 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2863, allocations: 1.714 MB / 342.7 MB, free: 2.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.2866, allocations: 63.56 kB / 342.8 MB, free: 2.527 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2866, allocations: 16 kB / 342.8 MB, free: 2.512 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.2866, allocations: 4 kB / 342.8 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006138/0.2873, allocations: 410.5 kB / 343.2 MB, free: 2.098 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2873, allocations: 7.938 kB / 343.2 MB, free: 2.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.2875, allocations: 76.81 kB / 343.3 MB, free: 2.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2877, allocations: 59.91 kB / 343.3 MB, free: 1.953 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.2891, allocations: 1.718 MB / 345.1 MB, free: 100 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.2893, allocations: 47.67 kB / 345.1 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.2894, allocations: 20 kB / 345.1 MB, free: 32 kB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002613/0.2896, allocations: 259.3 kB / 345.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.2897, allocations: 39.53 kB / 345.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.2898, allocations: 40.14 kB / 345.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2898, allocations: 4 kB / 345.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2898, allocations: 0 / 345.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2898, allocations: 3.984 kB / 345.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.2911, allocations: 0.9379 MB / 346.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2911, allocations: 0 / 346.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2914, allocations: 47.94 kB / 346.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.2915, allocations: 72.8 kB / 346.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.2916, allocations: 8 kB / 346.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.2933, allocations: 1.715 MB / 348.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2933, allocations: 4.234 kB / 348.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.2943, allocations: 0.6478 MB / 348.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2944, allocations: 144.6 kB / 349 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.2945, allocations: 15.95 kB / 349 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.2948, allocations: 31.97 kB / 349.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.2949, allocations: 39.89 kB / 349.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.2949, allocations: 8 kB / 349.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.2952, allocations: 247.2 kB / 349.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2952, allocations: 0 / 349.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.296, allocations: 211.4 kB / 349.6 MB, free: 11.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001501/0.2962, allocations: 115.2 kB / 349.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2976, allocations: 0.8871 MB / 350.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.2976, allocations: 0 / 350.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.298, allocations: 315.2 kB / 350.9 MB, free: 9.941 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.2984, allocations: 61.33 kB / 350.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3002, allocations: 1.022 MB / 352 MB, free: 8.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.3007, allocations: 0.8313 MB / 352.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.3009, allocations: 55.27 kB / 352.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.301, allocations: 27.44 kB / 352.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.301, allocations: 4 kB / 352.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of Templates: time 0.01059/0.3116, allocations: 5.881 MB / 358.8 MB, free: 2.004 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) Environment - environmentSimulation: