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.0007908/0.0007908, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00583/0.005831, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0006648/0.000665, allocations: 16 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2336, allocations: 47.58 MB / 327.1 MB, free: 1.594 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004449/0.2381, allocations: 3.247 MB / 330.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2404, allocations: 0.9636 MB / 331.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.2411, allocations: 11.34 kB / 331.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2415, allocations: 58.05 kB / 331.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.2421, allocations: 99.52 kB / 331.4 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.2428, allocations: 181.6 kB / 331.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008685/0.2436, allocations: 0.5639 MB / 332.2 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.2441, allocations: 196.8 kB / 332.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.2446, allocations: 171.6 kB / 332.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.2451, allocations: 205.8 kB / 332.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2452, allocations: 22 kB / 332.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2454, allocations: 22.53 kB / 332.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.2455, allocations: 86.42 kB / 332.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.2459, allocations: 245.8 kB / 333.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.2466, allocations: 0.5557 MB / 333.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2467, allocations: 4.938 kB / 333.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2467, allocations: 0 / 333.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.218e-05/0.2467, allocations: 4 kB / 333.7 MB, free: 12.58 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.001754/0.2485, allocations: 0.7401 MB / 334.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2485, allocations: 9.406 kB / 334.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.2487, allocations: 61.7 kB / 334.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.2493, allocations: 381.8 kB / 334.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.2494, allocations: 40.12 kB / 334.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.2495, allocations: 48.45 kB / 334.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.2503, allocations: 464.8 kB / 335.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.2504, allocations: 8 kB / 335.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.2504, allocations: 16 kB / 335.4 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2504, allocations: 8 kB / 335.4 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.2511, allocations: 315.8 kB / 335.7 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.2533, allocations: 1.686 MB / 337.4 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.254, allocations: 311.7 kB / 337.7 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.2544, allocations: 177.3 kB / 337.9 MB, free: 8.414 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2544, allocations: 4.281 kB / 337.9 MB, free: 8.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.2549, allocations: 261.8 kB / 338.1 MB, free: 8.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 3.787e-06/0.2549, allocations: 0 / 338.1 MB, free: 8.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001507/0.2564, allocations: 0.6441 MB / 338.8 MB, free: 7.461 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.2565, allocations: 140.5 kB / 338.9 MB, free: 7.293 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.2569, allocations: 365.5 kB / 339.3 MB, free: 6.922 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.257, allocations: 37.7 kB / 339.3 MB, free: 6.879 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2572, allocations: 228.3 kB / 339.5 MB, free: 6.648 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.2572, allocations: 102.5 kB / 339.6 MB, free: 6.547 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.2573, allocations: 49.69 kB / 339.7 MB, free: 6.492 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2574, allocations: 362.7 kB / 340.1 MB, free: 6.129 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2577, allocations: 116.8 kB / 340.2 MB, free: 6.016 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.258, allocations: 248.6 kB / 340.4 MB, free: 5.715 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.2586, allocations: 393 kB / 340.8 MB, free: 5.273 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2586, allocations: 0 / 340.8 MB, free: 5.273 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008549/0.2595, allocations: 0.4914 MB / 341.3 MB, free: 4.766 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.2597, allocations: 225 kB / 341.5 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2597, allocations: 4 kB / 341.5 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.26, allocations: 72.81 kB / 341.6 MB, free: 4.406 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.2602, allocations: 71.84 kB / 341.6 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.2619, allocations: 1.702 MB / 343.3 MB, free: 2.504 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2622, allocations: 55.73 kB / 343.4 MB, free: 2.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2622, allocations: 19.98 kB / 343.4 MB, free: 2.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.2623, allocations: 4 kB / 343.4 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006842/0.2629, allocations: 422.8 kB / 343.8 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.263, allocations: 8.062 kB / 343.8 MB, free: 1.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.2632, allocations: 72.7 kB / 343.9 MB, free: 1.922 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2634, allocations: 63.91 kB / 344 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.265, allocations: 1.698 MB / 345.7 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.2653, allocations: 55.64 kB / 345.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.2653, allocations: 16 kB / 345.7 MB, free: 15.95 MB / 286.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 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepDown.diode.off,chopperStepDown.transistor.off,chopperStepDown.andCondition_p.y,$whenCondition3) * 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 (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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.2656, allocations: 255.2 kB / 346 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.2656, allocations: 43.52 kB / 346 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.2657, allocations: 44.14 kB / 346.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2658, allocations: 4 kB / 346.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2658, allocations: 4 kB / 346.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2658, allocations: 0 / 346.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2672, allocations: 1.029 MB / 347.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2672, allocations: 0 / 347.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2674, allocations: 39.92 kB / 347.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.2676, allocations: 76.73 kB / 347.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2677, allocations: 11.94 kB / 347.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.2691, allocations: 1.702 MB / 348.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2691, allocations: 4.031 kB / 349 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.2701, allocations: 0.6234 MB / 349.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2703, allocations: 148.6 kB / 349.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2704, allocations: 11.94 kB / 349.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2707, allocations: 31.97 kB / 349.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.2707, allocations: 39.83 kB / 349.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.2708, allocations: 12 kB / 349.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.271, allocations: 247.2 kB / 350.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.271, allocations: 0 / 350.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000796/0.2718, allocations: 211.4 kB / 350.3 MB, free: 11.18 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 (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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.272, allocations: 119 kB / 350.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2733, allocations: 0.8843 MB / 351.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2733, allocations: 4.25 kB / 351.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.2738, allocations: 306.3 kB / 351.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.2743, allocations: 73.52 kB / 351.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.2759, allocations: 1.067 MB / 352.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.2763, allocations: 0.8274 MB / 353.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.2765, allocations: 55.27 kB / 353.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2766, allocations: 27.44 kB / 353.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2766, allocations: 0 / 353.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of Templates: time 0.01072/0.2873, allocations: 6.065 MB / 359.7 MB, free: 1.633 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (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)