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.0008147/0.0008147, 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.0009249/0.0009251, 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005467/0.0005473, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003352/0.23, allocations: 3.109 MB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2318, allocations: 0.927 MB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.2322, allocations: 10.5 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.2324, allocations: 63.16 kB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.2327, allocations: 99.48 kB / 330.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.2333, allocations: 145.2 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.2341, allocations: 0.5295 MB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.2344, allocations: 168.7 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.2348, allocations: 171.7 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.2351, allocations: 200.7 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.427e-05/0.2352, allocations: 22.75 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2353, allocations: 21.62 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2355, allocations: 75.25 kB / 332 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.2356, allocations: 113.8 kB / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2361, allocations: 465.2 kB / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2362, allocations: 0 / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2362, allocations: 0 / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.2362, allocations: 0.9688 kB / 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.001555/0.2378, allocations: 0.7448 MB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2378, allocations: 9.25 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2379, allocations: 55.5 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.2386, allocations: 380.4 kB / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.2386, allocations: 40.86 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.2387, allocations: 39.91 kB / 333.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.2396, allocations: 462.2 kB / 334.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2396, allocations: 3.984 kB / 334.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.2397, allocations: 20.55 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2397, allocations: 10.16 kB / 334.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.2403, allocations: 312.7 kB / 334.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.2426, allocations: 1.678 MB / 336.3 MB, free: 9.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.2433, allocations: 307.7 kB / 336.6 MB, free: 9.141 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.2437, allocations: 177.3 kB / 336.8 MB, free: 8.965 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.2437, allocations: 8.266 kB / 336.8 MB, free: 8.957 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/0.2442, allocations: 262.1 kB / 337 MB, free: 8.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.2442, allocations: 0 / 337 MB, free: 8.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001468/0.2457, allocations: 0.6402 MB / 337.7 MB, free: 8.012 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.2458, allocations: 136.5 kB / 337.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.2462, allocations: 353.6 kB / 338.2 MB, free: 7.488 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.2463, allocations: 37.7 kB / 338.2 MB, free: 7.445 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2464, allocations: 232.4 kB / 338.4 MB, free: 7.211 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.2465, allocations: 110.5 kB / 338.5 MB, free: 7.102 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.2465, allocations: 8 kB / 338.5 MB, free: 7.094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2467, allocations: 354.8 kB / 338.9 MB, free: 6.738 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.2469, allocations: 112.8 kB / 339 MB, free: 6.629 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.2473, allocations: 260.5 kB / 339.3 MB, free: 6.316 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.2476, allocations: 169.6 kB / 339.4 MB, free: 6.145 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2476, allocations: 7.938 kB / 339.4 MB, free: 6.137 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000804/0.2484, allocations: 483.3 kB / 339.9 MB, free: 5.648 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.2486, allocations: 224.9 kB / 340.1 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2486, allocations: 4 kB / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.2488, allocations: 76.81 kB / 340.2 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2491, allocations: 67.91 kB / 340.3 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.2508, allocations: 1.702 MB / 342 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2511, allocations: 55.58 kB / 342 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2512, allocations: 28.03 kB / 342.1 MB, free: 3.305 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.2512, allocations: 4 kB / 342.1 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006805/0.2519, allocations: 410.8 kB / 342.5 MB, free: 2.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2519, allocations: 4 kB / 342.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.2521, allocations: 72.77 kB / 342.5 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.2523, allocations: 63.84 kB / 342.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.2539, allocations: 1.703 MB / 344.3 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.2542, allocations: 47.73 kB / 344.3 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.2542, allocations: 16 kB / 344.4 MB, free: 0.8477 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.0002903/0.2545, allocations: 259.4 kB / 344.6 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2546, allocations: 47.52 kB / 344.7 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.2547, allocations: 44.14 kB / 344.7 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2547, allocations: 7.953 kB / 344.7 MB, free: 496 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2547, allocations: 0 / 344.7 MB, free: 496 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2548, allocations: 4 kB / 344.7 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.2563, allocations: 1.021 MB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2563, allocations: 0 / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.2565, allocations: 39.92 kB / 345.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.2567, allocations: 76.78 kB / 345.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.2568, allocations: 8 kB / 345.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.2582, allocations: 1.694 MB / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2582, allocations: 0 / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.2592, allocations: 0.6228 MB / 348.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.2593, allocations: 144.6 kB / 348.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.2594, allocations: 12 kB / 348.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2597, allocations: 31.97 kB / 348.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.2598, allocations: 31.95 kB / 348.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2598, allocations: 12 kB / 348.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.2601, allocations: 251.1 kB / 348.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2601, allocations: 0 / 348.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008682/0.261, allocations: 215.3 kB / 348.9 MB, free: 12.09 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.2612, allocations: 123.2 kB / 349 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2626, allocations: 0.8798 MB / 349.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2626, allocations: 0.5 kB / 349.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.263, allocations: 310.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.0005334/0.2636, allocations: 73.52 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.00178/0.2654, allocations: 1.023 MB / 351.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2658, allocations: 0.8273 MB / 352.1 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.266, allocations: 55.28 kB / 352.1 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.2661, allocations: 27.44 kB / 352.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2661, allocations: 3.938 kB / 352.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of Templates: time 0.01138/0.2775, allocations: 5.877 MB / 358 MB, free: 2.77 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)