Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009649/0.000965, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008162/0.008162, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.39/1.39, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004759/0.0004759, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 47.58 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.003447/0.2176, allocations: 3.362 MB / 330.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2196, allocations: 0.9662 MB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.2198, allocations: 11.66 kB / 331.4 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.22, allocations: 62.34 kB / 331.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.2202, allocations: 112.5 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.2207, allocations: 178.8 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.2213, allocations: 0.5944 MB / 332.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.2217, allocations: 205.2 kB / 332.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.222, allocations: 187 kB / 332.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2223, allocations: 216.6 kB / 332.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.2223, allocations: 23.66 kB / 332.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.2224, allocations: 27.91 kB / 333 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2225, allocations: 87.7 kB / 333.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.2228, allocations: 261.3 kB / 333.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.2234, allocations: 0.5943 MB / 333.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2234, allocations: 0 / 333.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2234, allocations: 0 / 333.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2234, allocations: 0 / 333.9 MB, free: 12.23 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.001351/0.2248, allocations: 0.7564 MB / 334.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2248, allocations: 9.062 kB / 334.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2249, allocations: 58.41 kB / 334.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.2255, allocations: 399.3 kB / 335.1 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/0.2256, allocations: 45.55 kB / 335.2 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.2257, allocations: 44.38 kB / 335.2 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/0.2265, allocations: 492.8 kB / 335.7 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2265, allocations: 0 / 335.7 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.2266, allocations: 16 kB / 335.7 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2266, allocations: 12 kB / 335.7 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.2273, allocations: 331.8 kB / 336 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.2297, allocations: 1.706 MB / 337.7 MB, free: 8.438 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/0.2305, allocations: 350.8 kB / 338.1 MB, free: 8.086 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.231, allocations: 218 kB / 338.3 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.231, allocations: 4 kB / 338.3 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.2316, allocations: 267.8 kB / 338.6 MB, free: 7.586 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.744e-06/0.2316, allocations: 0 / 338.6 MB, free: 7.586 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.001549/0.2331, allocations: 0.6559 MB / 339.2 MB, free: 6.902 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.2332, allocations: 110.8 kB / 339.3 MB, free: 6.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.2336, allocations: 361.6 kB / 339.7 MB, free: 6.402 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2337, allocations: 37.7 kB / 339.7 MB, free: 6.359 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2339, allocations: 240.3 kB / 340 MB, free: 6.117 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.234, allocations: 114.4 kB / 340.1 MB, free: 6.004 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.234, allocations: 53.62 kB / 340.1 MB, free: 5.945 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2342, allocations: 358.7 kB / 340.5 MB, free: 5.586 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2345, allocations: 133 kB / 340.6 MB, free: 5.457 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2348, allocations: 261 kB / 340.8 MB, free: 5.148 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.2354, allocations: 407.4 kB / 341.2 MB, free: 4.695 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2355, allocations: 4 kB / 341.3 MB, free: 4.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008951/0.2364, allocations: 0.5031 MB / 341.8 MB, free: 4.172 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.2365, allocations: 223.7 kB / 342 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2366, allocations: 7.938 kB / 342 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2369, allocations: 72.7 kB / 342.1 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.2372, allocations: 79.89 kB / 342.1 MB, free: 3.734 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.2389, allocations: 1.698 MB / 343.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.2393, allocations: 59.64 kB / 343.9 MB, free: 1.848 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.2393, allocations: 19.94 kB / 343.9 MB, free: 1.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-06/0.2393, allocations: 4 kB / 343.9 MB, free: 1.824 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006996/0.24, allocations: 445.5 kB / 344.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.24, allocations: 4 kB / 344.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.2402, allocations: 68.89 kB / 344.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2405, allocations: 80.27 kB / 344.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.242, allocations: 1.694 MB / 346.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.2423, allocations: 55.52 kB / 346.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.2424, allocations: 16 kB / 346.3 MB, free: 15.33 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.0002563/0.2426, allocations: 267.2 kB / 346.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.2427, allocations: 39.59 kB / 346.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.2428, allocations: 52.14 kB / 346.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2428, allocations: 4 kB / 346.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2428, allocations: 3.938 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2428, allocations: 3.984 kB / 346.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2444, allocations: 0.9842 MB / 347.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2444, allocations: 3.938 kB / 347.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.2446, allocations: 56.03 kB / 347.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.2448, allocations: 72.75 kB / 347.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2449, allocations: 4 kB / 347.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.2464, allocations: 1.699 MB / 349.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2464, allocations: 7.922 kB / 349.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2475, allocations: 0.651 MB / 350.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2476, allocations: 148.6 kB / 350.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.2477, allocations: 8 kB / 350.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.248, allocations: 35.91 kB / 350.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.2481, allocations: 47.58 kB / 350.3 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.2481, allocations: 12 kB / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.2484, allocations: 251.2 kB / 350.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2484, allocations: 0 / 350.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007835/0.2492, 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.0001337/0.2493, allocations: 123 kB / 350.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.2506, allocations: 0.9068 MB / 351.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2507, allocations: 0 / 351.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.2511, allocations: 323.2 kB / 352.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.2517, allocations: 77.33 kB / 352.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.2534, allocations: 1.195 MB / 353.4 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2538, allocations: 0.8354 MB / 354.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.254, allocations: 51.33 kB / 354.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.2541, allocations: 31.42 kB / 354.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2541, allocations: 4 kB / 354.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of Templates: time 0.01138/0.2655, allocations: 6.287 MB / 360.6 MB, free: 0.5547 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1)