Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008736, allocations: 87.03 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.0007721/0.0007721, 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.544/1.544, 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.0004683/0.0004683, allocations: 10.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.003584/0.2549, allocations: 3.207 MB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2564, allocations: 0.9453 MB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.2566, allocations: 15.38 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.2568, allocations: 62.16 kB / 330.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.257, allocations: 108.7 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2575, allocations: 142.2 kB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.258, allocations: 0.5631 MB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.2584, allocations: 180.3 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.2587, allocations: 180.5 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2589, allocations: 200.8 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.259, allocations: 23.94 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.2591, allocations: 23.16 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2592, allocations: 83.58 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2593, allocations: 123.8 kB / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.2597, allocations: 478 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2598, allocations: 0 / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2598, allocations: 1.125 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2598, allocations: 0 / 332.8 MB, free: 12.65 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001326/0.2611, allocations: 0.7687 MB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2612, allocations: 8.781 kB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2613, allocations: 62.12 kB / 333.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.2618, allocations: 382.1 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.2619, allocations: 40.16 kB / 334 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.262, allocations: 42.62 kB / 334.1 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.2629, allocations: 484.1 kB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2629, allocations: 3.938 kB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.263, allocations: 16.72 kB / 334.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.263, allocations: 10.5 kB / 334.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.2636, allocations: 329 kB / 334.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.2659, allocations: 1.71 MB / 336.6 MB, free: 9.145 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.2666, allocations: 342.9 kB / 337 MB, free: 8.801 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.2671, allocations: 225.8 kB / 337.2 MB, free: 8.578 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.2671, allocations: 4 kB / 337.2 MB, free: 8.574 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.2676, allocations: 263.8 kB / 337.4 MB, free: 8.297 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2677, allocations: 0 / 337.4 MB, free: 8.297 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.001462/0.2691, allocations: 0.652 MB / 338.1 MB, free: 7.617 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.2692, allocations: 114.8 kB / 338.2 MB, free: 7.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.2696, allocations: 357.5 kB / 338.5 MB, free: 7.117 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.2696, allocations: 37.7 kB / 338.6 MB, free: 7.074 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2698, allocations: 244.2 kB / 338.8 MB, free: 6.828 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.2699, allocations: 122.3 kB / 338.9 MB, free: 6.707 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.2699, allocations: 12 kB / 339 MB, free: 6.695 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2701, allocations: 346.8 kB / 339.3 MB, free: 6.348 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.2703, allocations: 129 kB / 339.4 MB, free: 6.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.2707, allocations: 253 kB / 339.7 MB, free: 5.922 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.271, allocations: 181.9 kB / 339.8 MB, free: 5.738 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.271, allocations: 4 kB / 339.8 MB, free: 5.734 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000807/0.2718, allocations: 0.499 MB / 340.3 MB, free: 5.219 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.272, allocations: 224 kB / 340.6 MB, free: 4.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.272, allocations: 4 kB / 340.6 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.2722, allocations: 68.83 kB / 340.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2725, allocations: 87.78 kB / 340.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2741, allocations: 1.698 MB / 342.4 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.2744, allocations: 47.67 kB / 342.5 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.2745, allocations: 20.06 kB / 342.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.2745, allocations: 8 kB / 342.5 MB, free: 2.879 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006777/0.2752, allocations: 437.8 kB / 342.9 MB, free: 2.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2752, allocations: 7.984 kB / 342.9 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.2754, allocations: 72.81 kB / 343 MB, free: 2.359 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2756, allocations: 79.83 kB / 343.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.277, allocations: 1.69 MB / 344.8 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2773, allocations: 55.64 kB / 344.8 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2773, allocations: 16 kB / 344.8 MB, free: 392 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,chopperStepUp.andCondition_p.y,chopperStepUp.transistor.off,chopperStepUp.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 (49): * Single equations (assignments): 47 * 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.0002585/0.2776, allocations: 259.2 kB / 345.1 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.2777, allocations: 43.48 kB / 345.1 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.2777, allocations: 48.14 kB / 345.2 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2778, allocations: 4 kB / 345.2 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2778, allocations: 0 / 345.2 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2778, allocations: 3.984 kB / 345.2 MB, free: 20 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.2792, allocations: 0.9883 MB / 346.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2792, allocations: 0 / 346.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.2794, allocations: 59.97 kB / 346.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.2796, allocations: 64.83 kB / 346.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2797, allocations: 11.98 kB / 346.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.2811, allocations: 1.691 MB / 348 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2811, allocations: 7.891 kB / 348 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.2821, allocations: 0.655 MB / 348.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.2822, allocations: 148.5 kB / 348.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.2823, allocations: 12 kB / 348.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.2826, allocations: 39.91 kB / 348.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.2827, allocations: 39.66 kB / 348.9 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2827, allocations: 12 kB / 348.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.2829, allocations: 243.2 kB / 349.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.283, allocations: 0 / 349.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007716/0.2837, allocations: 223.3 kB / 349.4 MB, free: 11.59 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.transistor.off,chopperStepUp.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 (33): * Single equations (assignments): 26 * 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.0001436/0.2839, allocations: 123.1 kB / 349.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2852, allocations: 0.9035 MB / 350.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2852, allocations: 0 / 350.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.2857, allocations: 322.8 kB / 350.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.2862, allocations: 77.52 kB / 350.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.288, allocations: 1.155 MB / 351.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.2883, allocations: 0.8315 MB / 352.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.2885, allocations: 43.34 kB / 352.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.2886, allocations: 35.44 kB / 352.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2886, allocations: 0 / 352.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of Templates: time 0.0106/0.2992, allocations: 6.099 MB / 358.9 MB, free: 1.883 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1)