Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001164/0.001164, allocations: 91.31 kB / 16.3 MB, free: 5.996 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.001445/0.001445, allocations: 187.5 kB / 17.2 MB, free: 5.91 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.7/1.7, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0005193/0.0005194, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2953, allocations: 47.58 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.004946/0.3003, allocations: 3.069 MB / 330.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3028, allocations: 0.9639 MB / 331.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3031, allocations: 15.12 kB / 331.8 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.3033, allocations: 57.25 kB / 331.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.3037, allocations: 148.9 kB / 332 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.3043, allocations: 142.6 kB / 332.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.3051, allocations: 403 kB / 332.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.3055, allocations: 184.9 kB / 332.7 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.3058, allocations: 172 kB / 332.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.3062, allocations: 209 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.3063, allocations: 24.03 kB / 333.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.3064, allocations: 23.12 kB / 333.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3065, allocations: 87.78 kB / 333.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3067, allocations: 116.5 kB / 333.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.3073, allocations: 484.3 kB / 333.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3073, allocations: 0 / 333.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3073, allocations: 1.094 kB / 333.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3073, allocations: 0 / 333.8 MB, free: 12.87 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.001754/0.3091, allocations: 0.7638 MB / 334.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3092, allocations: 9.25 kB / 334.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.3094, allocations: 60.91 kB / 334.6 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.3101, allocations: 378.7 kB / 335 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3102, allocations: 44.73 kB / 335 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.3103, allocations: 46.78 kB / 335.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3115, allocations: 475.5 kB / 335.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3115, allocations: 1.219 kB / 335.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.3116, allocations: 16.22 kB / 335.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3116, allocations: 11.31 kB / 335.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/0.3126, allocations: 335.8 kB / 335.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.3158, allocations: 1.706 MB / 337.6 MB, free: 9.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3168, allocations: 350.8 kB / 337.9 MB, free: 9.078 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3169, allocations: 4 kB / 337.9 MB, free: 9.074 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005457/0.3174, allocations: 269 kB / 338.2 MB, free: 8.793 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.3175, allocations: 0 / 338.2 MB, free: 8.793 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.001711/0.3192, allocations: 0.6519 MB / 338.8 MB, free: 8.113 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.3193, allocations: 114.8 kB / 339 MB, free: 7.977 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.3198, allocations: 357.5 kB / 339.3 MB, free: 7.613 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.3199, allocations: 37.7 kB / 339.3 MB, free: 7.57 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3201, allocations: 232.3 kB / 339.6 MB, free: 7.336 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3202, allocations: 126.3 kB / 339.7 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3203, allocations: 12 kB / 339.7 MB, free: 7.199 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3204, allocations: 350.8 kB / 340 MB, free: 6.848 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.3208, allocations: 125.1 kB / 340.2 MB, free: 6.723 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.3213, allocations: 264.9 kB / 340.4 MB, free: 6.414 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.3218, allocations: 166.1 kB / 340.6 MB, free: 6.246 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3218, allocations: 0 / 340.6 MB, free: 6.246 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001312/0.3231, allocations: 0.5076 MB / 341.1 MB, free: 5.723 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007225/0.3238, allocations: 1.431 MB / 342.5 MB, free: 4.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3239, allocations: 4 kB / 342.5 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.3242, allocations: 76.8 kB / 342.6 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.3247, allocations: 83.83 kB / 342.7 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.3272, allocations: 1.714 MB / 344.4 MB, free: 2.168 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.3278, allocations: 51.67 kB / 344.5 MB, free: 2.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.3279, allocations: 24 kB / 344.5 MB, free: 2.094 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3279, allocations: 4 kB / 344.5 MB, free: 2.09 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.329, allocations: 441.4 kB / 344.9 MB, free: 1.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.329, allocations: 0 / 344.9 MB, free: 1.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.3294, allocations: 68.83 kB / 345 MB, free: 1.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3298, allocations: 84.3 kB / 345.1 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3322, allocations: 1.706 MB / 346.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.3327, allocations: 55.53 kB / 346.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.3328, allocations: 16 kB / 346.8 MB, free: 15.58 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 ($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.0004772/0.3333, allocations: 259.2 kB / 347.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3335, allocations: 43.59 kB / 347.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3336, allocations: 56.06 kB / 347.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3336, allocations: 4 kB / 347.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3337, allocations: 0 / 347.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3337, allocations: 3.953 kB / 347.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.3358, allocations: 0.9733 MB / 348.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3359, allocations: 4 kB / 348.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3363, allocations: 55.89 kB / 348.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.3366, allocations: 72.84 kB / 348.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.3366, allocations: 12.23 kB / 348.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.3387, allocations: 1.702 MB / 350 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3387, allocations: 0 / 350 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3403, allocations: 0.6739 MB / 350.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.3406, allocations: 144.6 kB / 350.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.3407, allocations: 16 kB / 350.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.3412, allocations: 27.97 kB / 350.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3413, allocations: 35.95 kB / 350.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3413, allocations: 11.98 kB / 350.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3416, allocations: 243.2 kB / 351.2 MB, free: 11 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3416, allocations: 0 / 351.2 MB, free: 11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001217/0.3428, allocations: 235.3 kB / 351.4 MB, free: 10.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002066/0.3431, allocations: 111.2 kB / 351.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3451, allocations: 0.9113 MB / 352.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3451, allocations: 3.938 kB / 352.4 MB, free: 9.691 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.3458, allocations: 315 kB / 352.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.3464, allocations: 69.55 kB / 352.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3488, allocations: 1.157 MB / 353.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.3493, allocations: 0.8432 MB / 354.8 MB, free: 7.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.3496, allocations: 51.33 kB / 354.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3498, allocations: 31.44 kB / 354.9 MB, free: 7.164 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3498, allocations: 0 / 354.9 MB, free: 7.164 MB / 286.1 MB Notification: Performance of Templates: time 0.01629/0.3661, allocations: 6.06 MB / 360.9 MB, free: 1.102 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) Environment - environmentSimulation: