Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.113/1.113, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 118.1 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0739/0.07421, allocations: 44.5 MB / 355.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.3057, allocations: 77.71 MB / 432.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3059, allocations: 90.11 kB / 432.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.3207, allocations: 6.587 MB / 439.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3208, allocations: 6.188 kB / 439.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.3208, allocations: 13.31 kB / 439.5 MB, free: 6.305 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009886/0.3218, allocations: 0.7193 MB / 440.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3219, allocations: 12.03 kB / 440.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.322, allocations: 55.3 kB / 440.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3224, allocations: 347.8 kB / 440.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3224, allocations: 29.94 kB / 440.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.3225, allocations: 41.53 kB / 440.7 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.3231, allocations: 441.5 kB / 441.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3231, allocations: 3.938 kB / 441.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.3232, allocations: 18.88 kB / 441.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3232, allocations: 8 kB / 441.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.3237, allocations: 310.9 kB / 441.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.3254, allocations: 1.602 MB / 443 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.326, allocations: 293.5 kB / 443.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.326, allocations: 4.5 kB / 443.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.3263, allocations: 228.3 kB / 443.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.3264, allocations: 0 / 443.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001105/0.3275, allocations: 0.5705 MB / 444.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3275, allocations: 110.8 kB / 444.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3278, allocations: 323.2 kB / 444.6 MB, free: 1.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.3279, allocations: 38.45 kB / 444.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.328, allocations: 214 kB / 444.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.328, allocations: 107 kB / 444.9 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.328, allocations: 6.938 kB / 444.9 MB, free: 1.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.3281, allocations: 348.9 kB / 445.3 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.3283, allocations: 118.1 kB / 445.4 MB, free: 1.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3286, allocations: 246.3 kB / 445.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3288, allocations: 152.9 kB / 445.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3289, allocations: 4 kB / 445.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006589/0.3295, allocations: 495 kB / 446.2 MB, free: 456 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.33, allocations: 1.339 MB / 447.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.33, allocations: 4 kB / 447.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.3303, allocations: 73.94 kB / 447.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.3305, allocations: 62.53 kB / 447.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.3322, allocations: 1.78 MB / 449.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3325, allocations: 64.97 kB / 449.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3326, allocations: 16 kB / 449.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.3326, allocations: 7.953 kB / 449.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006434/0.3332, allocations: 402.1 kB / 450 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3333, allocations: 4 kB / 450 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.3335, allocations: 84.62 kB / 450.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3337, allocations: 59.84 kB / 450.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.3352, allocations: 1.775 MB / 451.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3355, allocations: 51.67 kB / 452 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3356, allocations: 20.06 kB / 452 MB, free: 10.51 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$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 (40): * Single equations (assignments): 38 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.3358, allocations: 255.2 kB / 452.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3359, allocations: 35.53 kB / 452.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.336, allocations: 44.06 kB / 452.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.336, allocations: 4 kB / 452.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.336, allocations: 0 / 452.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.336, allocations: 3.984 kB / 452.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3371, allocations: 0.8592 MB / 453.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3371, allocations: 0 / 453.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3373, allocations: 31.92 kB / 453.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.3375, allocations: 76 kB / 453.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3375, allocations: 7.984 kB / 453.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3391, allocations: 1.782 MB / 455.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3391, allocations: 0 / 455.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.3399, allocations: 0.5684 MB / 455.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3401, allocations: 144.7 kB / 455.8 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.3401, allocations: 23.88 kB / 455.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3404, allocations: 33.16 kB / 455.8 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3405, allocations: 35.88 kB / 455.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3405, allocations: 12 kB / 455.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002736/0.3408, allocations: 259.2 kB / 456.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3408, allocations: 0 / 456.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007071/0.3415, allocations: 195.6 kB / 456.3 MB, free: 5.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,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 (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.3418, allocations: 123.9 kB / 456.4 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3431, allocations: 0.8726 MB / 457.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3431, allocations: 0 / 457.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.3435, allocations: 290.4 kB / 457.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3438, allocations: 61.3 kB / 457.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3452, allocations: 0.8894 MB / 458.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3456, allocations: 0.8198 MB / 459.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.3458, allocations: 47.25 kB / 459.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.3458, allocations: 27.44 kB / 459.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3458, allocations: 0 / 459.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of Templates: time 0.009751/0.3556, allocations: 5.889 MB / 465.3 MB, free: 12.89 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1)