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.0009068/0.0009068, allocations: 97.56 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.007287/0.007288, allocations: 169.2 kB / 16.26 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.403/1.403, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000446/0.0004461, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.003388/0.231, allocations: 3.358 MB / 330.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2327, allocations: 0.9694 MB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.2329, allocations: 15.44 kB / 331.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2331, allocations: 62.86 kB / 331.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.2334, allocations: 112 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.2338, allocations: 186.1 kB / 331.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.2344, allocations: 0.5871 MB / 332.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.2348, allocations: 209.3 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.235, allocations: 186.5 kB / 332.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2352, allocations: 209.3 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.2353, allocations: 23.47 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.2354, allocations: 23.81 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2355, allocations: 95.53 kB / 333.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2357, allocations: 253.3 kB / 333.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.2362, allocations: 0.5979 MB / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2363, allocations: 1.156 kB / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2363, allocations: 0 / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2363, allocations: 4 kB / 333.9 MB, free: 12.18 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.001287/0.2376, allocations: 0.7483 MB / 334.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2376, allocations: 10.06 kB / 334.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2377, allocations: 61.05 kB / 334.7 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.2383, allocations: 392.8 kB / 335.1 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.2383, allocations: 46.48 kB / 335.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.2384, allocations: 48.38 kB / 335.2 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.2392, allocations: 480.8 kB / 335.7 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2393, allocations: 7.938 kB / 335.7 MB, free: 10.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.2393, allocations: 23.98 kB / 335.7 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2393, allocations: 12 kB / 335.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.24, allocations: 323.8 kB / 336 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.2423, allocations: 1.718 MB / 337.7 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.243, allocations: 350.8 kB / 338.1 MB, free: 8.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.2435, allocations: 218 kB / 338.3 MB, free: 7.855 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2435, allocations: 4 kB / 338.3 MB, free: 7.852 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.2441, allocations: 267.8 kB / 338.6 MB, free: 7.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.2441, allocations: 0 / 338.6 MB, free: 7.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.001506/0.2456, allocations: 0.6559 MB / 339.2 MB, free: 6.887 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.2457, allocations: 114.8 kB / 339.3 MB, free: 6.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.246, allocations: 361.6 kB / 339.7 MB, free: 6.383 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.2461, allocations: 33.7 kB / 339.7 MB, free: 6.344 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2462, allocations: 232.3 kB / 339.9 MB, free: 6.109 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.2463, allocations: 122.3 kB / 340.1 MB, free: 5.988 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.2464, allocations: 53.62 kB / 340.1 MB, free: 5.93 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2466, allocations: 354.7 kB / 340.5 MB, free: 5.574 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2469, allocations: 125.1 kB / 340.6 MB, free: 5.453 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2472, allocations: 261 kB / 340.8 MB, free: 5.145 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.2479, allocations: 415.4 kB / 341.2 MB, free: 4.684 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2479, allocations: 0 / 341.2 MB, free: 4.684 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009353/0.2489, allocations: 0.5067 MB / 341.8 MB, free: 4.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.249, allocations: 220 kB / 342 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2491, allocations: 3.984 kB / 342 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.2494, allocations: 80.69 kB / 342.1 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.2497, allocations: 87.89 kB / 342.1 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.2513, allocations: 1.694 MB / 343.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.2517, allocations: 55.58 kB / 343.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2517, allocations: 16 kB / 343.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.2517, allocations: 4 kB / 343.9 MB, free: 1.816 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007302/0.2525, allocations: 449.9 kB / 344.3 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2525, allocations: 4 kB / 344.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.2527, allocations: 72.78 kB / 344.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2529, allocations: 79.89 kB / 344.5 MB, free: 1.211 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.2544, allocations: 1.69 MB / 346.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.2547, allocations: 55.52 kB / 346.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2548, allocations: 20 kB / 346.3 MB, free: 15.31 MB / 286.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 (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,chopperStepUp.diode.off,chopperStepUp.transistor.off,chopperStepUp.andCondition_p.y,$whenCondition3) * 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 (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.0003531/0.2552, allocations: 259.3 kB / 346.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.2552, allocations: 43.52 kB / 346.6 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2553, allocations: 44.14 kB / 346.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2553, allocations: 4 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2554, allocations: 3.938 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2554, allocations: 3.984 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.2569, allocations: 0.9882 MB / 347.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.2569, allocations: 7.922 kB / 347.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.2572, allocations: 55.91 kB / 347.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.2574, allocations: 68.81 kB / 347.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.2574, allocations: 11.98 kB / 347.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.259, allocations: 1.686 MB / 349.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.259, allocations: 8 kB / 349.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2601, allocations: 0.6511 MB / 350.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2604, allocations: 160.4 kB / 350.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.2604, allocations: 12 kB / 350.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.2607, allocations: 31.97 kB / 350.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2609, allocations: 39.64 kB / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2609, allocations: 12 kB / 350.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.2612, allocations: 247.2 kB / 350.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2612, allocations: 0 / 350.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009684/0.2622, allocations: 227.3 kB / 350.8 MB, free: 10.51 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 (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.0001852/0.2624, allocations: 131.2 kB / 350.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.264, allocations: 0.9034 MB / 351.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.264, allocations: 0 / 351.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.2645, allocations: 326.4 kB / 352.2 MB, free: 9.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2651, allocations: 73.52 kB / 352.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.267, allocations: 1.187 MB / 353.4 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.2676, allocations: 0.8353 MB / 354.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.2678, allocations: 55.31 kB / 354.3 MB, free: 6.875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.2679, allocations: 35.44 kB / 354.3 MB, free: 6.84 MB / 286.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2679, allocations: 4 kB / 354.3 MB, free: 6.836 MB / 286.1 MB Notification: Performance of Templates: time 0.01331/0.2812, allocations: 6.287 MB / 360.6 MB, free: 0.5469 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)