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.001415/0.001415, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008986/0.008986, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.401/1.401, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0004665/0.0004667, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.003424/0.2204, allocations: 3.245 MB / 330.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.222, allocations: 0.9686 MB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.2222, allocations: 10.34 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.2224, allocations: 62.58 kB / 331.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.2226, allocations: 99.75 kB / 331.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2231, allocations: 173.8 kB / 331.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.2236, allocations: 0.5598 MB / 332.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.224, allocations: 197.3 kB / 332.4 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2242, allocations: 179 kB / 332.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2245, allocations: 205.2 kB / 332.7 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.2245, allocations: 22.72 kB / 332.8 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.2246, allocations: 21.84 kB / 332.8 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2247, allocations: 87.64 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.2249, allocations: 244.6 kB / 333.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.2254, allocations: 0.5594 MB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2255, allocations: 1.281 kB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2255, allocations: 0 / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2255, allocations: 0 / 333.7 MB, free: 12.38 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.001423/0.2269, allocations: 0.7442 MB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.227, allocations: 9.156 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.2271, allocations: 60.64 kB / 334.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.2277, allocations: 382.6 kB / 334.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.2278, allocations: 40 kB / 334.9 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.2279, allocations: 48.89 kB / 334.9 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.2288, allocations: 464.8 kB / 335.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.2288, allocations: 0 / 335.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.2289, allocations: 20 kB / 335.4 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2289, allocations: 8 kB / 335.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.2295, allocations: 315.8 kB / 335.7 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.2318, allocations: 1.69 MB / 337.4 MB, free: 8.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.2325, allocations: 315.7 kB / 337.7 MB, free: 8.434 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.2329, allocations: 173.3 kB / 337.9 MB, free: 8.262 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2329, allocations: 8.219 kB / 337.9 MB, free: 8.254 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.2334, allocations: 261.8 kB / 338.2 MB, free: 7.977 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.2335, allocations: 0 / 338.2 MB, free: 7.977 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001517/0.235, allocations: 0.6364 MB / 338.8 MB, free: 7.312 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.2351, allocations: 148.5 kB / 338.9 MB, free: 7.137 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.2355, allocations: 361.5 kB / 339.3 MB, free: 6.77 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2355, allocations: 37.7 kB / 339.3 MB, free: 6.727 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2357, allocations: 228.3 kB / 339.5 MB, free: 6.496 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.2358, allocations: 102.5 kB / 339.6 MB, free: 6.395 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.2359, allocations: 49.69 kB / 339.7 MB, free: 6.34 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.236, allocations: 354.7 kB / 340 MB, free: 5.984 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2363, allocations: 120.8 kB / 340.2 MB, free: 5.867 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.2366, allocations: 248.6 kB / 340.4 MB, free: 5.566 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.2372, allocations: 396.9 kB / 340.8 MB, free: 5.121 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2372, allocations: 0 / 340.8 MB, free: 5.121 MB / 270.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008293/0.2381, allocations: 499.2 kB / 341.3 MB, free: 4.617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.2382, allocations: 224.9 kB / 341.5 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2383, allocations: 4 kB / 341.5 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2386, allocations: 72.81 kB / 341.6 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.2388, allocations: 71.84 kB / 341.6 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.2405, allocations: 1.71 MB / 343.4 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2409, allocations: 51.67 kB / 343.4 MB, free: 2.297 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2409, allocations: 19.98 kB / 343.4 MB, free: 2.277 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.2409, allocations: 8.062 kB / 343.4 MB, free: 2.27 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006701/0.2416, allocations: 422.8 kB / 343.8 MB, free: 1.848 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2416, allocations: 7.938 kB / 343.9 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.2418, allocations: 68.77 kB / 343.9 MB, free: 1.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.242, allocations: 67.97 kB / 344 MB, free: 1.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.2435, allocations: 1.698 MB / 345.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.2439, allocations: 55.64 kB / 345.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2439, allocations: 16 kB / 345.8 MB, free: 15.8 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.0002713/0.2442, allocations: 255.2 kB / 346 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.2442, allocations: 43.52 kB / 346 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.2443, allocations: 44.14 kB / 346.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2444, allocations: 4 kB / 346.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2444, allocations: 0 / 346.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2444, allocations: 7.922 kB / 346.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.2458, allocations: 1.029 MB / 347.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2458, allocations: 0 / 347.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.246, allocations: 35.98 kB / 347.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.2462, allocations: 76.69 kB / 347.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.2463, allocations: 8 kB / 347.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.2477, allocations: 1.691 MB / 348.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2477, allocations: 12.08 kB / 348.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.2487, allocations: 0.6234 MB / 349.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2489, allocations: 148.6 kB / 349.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.249, allocations: 8 kB / 349.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2492, allocations: 35.97 kB / 349.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.2493, allocations: 43.83 kB / 349.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.2494, allocations: 11.94 kB / 349.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.2496, allocations: 247.2 kB / 350.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2496, allocations: 0 / 350.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007795/0.2504, allocations: 211.4 kB / 350.3 MB, free: 11.03 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.0001516/0.2506, allocations: 122.9 kB / 350.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2519, allocations: 0.8802 MB / 351.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2519, allocations: 0 / 351.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.2523, allocations: 310.8 kB / 351.6 MB, free: 9.656 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.2529, allocations: 77.53 kB / 351.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2545, allocations: 1.071 MB / 352.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.2549, allocations: 0.8235 MB / 353.5 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.2551, allocations: 55.28 kB / 353.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.2551, allocations: 27.44 kB / 353.6 MB, free: 7.543 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2551, allocations: 0 / 353.6 MB, free: 7.543 MB / 286.1 MB Notification: Performance of Templates: time 0.01123/0.2664, allocations: 6.064 MB / 359.7 MB, free: 1.477 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)