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.001312/0.001312, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001597/0.001597, allocations: 172.7 kB / 15.95 MB, free: 208 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.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.000804/0.0008041, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.26, allocations: 47.57 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.003901/0.2639, allocations: 3.212 MB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2661, allocations: 0.9482 MB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.2668, allocations: 10.75 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.2672, allocations: 58.83 kB / 330.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.2679, allocations: 109 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.2687, allocations: 149.8 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2698, allocations: 0.5596 MB / 331.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.2703, allocations: 184.5 kB / 331.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.2707, allocations: 175.6 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.2712, allocations: 205.4 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2713, allocations: 23.88 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.2715, allocations: 23.03 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2716, allocations: 87.75 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.2719, allocations: 123.1 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.2724, allocations: 478.4 kB / 332.8 MB, free: 12.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2725, allocations: 1.312 kB / 332.8 MB, free: 12.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2725, allocations: 0 / 332.8 MB, free: 12.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.2725, allocations: 0 / 332.8 MB, free: 12.67 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.002175/0.2747, allocations: 0.7652 MB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.2748, allocations: 9.125 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.2751, allocations: 61.19 kB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.276, allocations: 378.8 kB / 334 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.2761, allocations: 43.55 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2762, allocations: 52.03 kB / 334.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2773, allocations: 479.6 kB / 334.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.2773, allocations: 0 / 334.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.2774, allocations: 16 kB / 334.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.2774, allocations: 15.98 kB / 334.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.2782, allocations: 331.8 kB / 334.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.2815, allocations: 1.706 MB / 336.6 MB, free: 9.117 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.2824, allocations: 342.9 kB / 337 MB, free: 8.773 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.2829, allocations: 217.9 kB / 337.2 MB, free: 8.559 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.283, allocations: 11.97 kB / 337.2 MB, free: 8.547 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.2836, allocations: 263.8 kB / 337.4 MB, free: 8.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.394e-06/0.2837, allocations: 0 / 337.4 MB, free: 8.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.001563/0.2852, allocations: 0.6598 MB / 338.1 MB, free: 7.582 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.2853, allocations: 114.8 kB / 338.2 MB, free: 7.445 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.2857, allocations: 353.5 kB / 338.6 MB, free: 7.086 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.2858, allocations: 37.7 kB / 338.6 MB, free: 7.043 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.286, allocations: 232.3 kB / 338.8 MB, free: 6.809 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2861, allocations: 122.3 kB / 338.9 MB, free: 6.688 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.2861, allocations: 12 kB / 338.9 MB, free: 6.676 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2863, allocations: 350.8 kB / 339.3 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.2866, allocations: 121.1 kB / 339.4 MB, free: 6.203 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.2869, allocations: 257 kB / 339.7 MB, free: 5.902 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.2872, allocations: 177.9 kB / 339.8 MB, free: 5.723 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2873, allocations: 4 kB / 339.8 MB, free: 5.719 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008574/0.2881, allocations: 0.5029 MB / 340.3 MB, free: 5.199 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.2883, allocations: 220 kB / 340.6 MB, free: 4.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2883, allocations: 4 kB / 340.6 MB, free: 4.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.2886, allocations: 84.73 kB / 340.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.2889, allocations: 83.78 kB / 340.7 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.2906, allocations: 1.694 MB / 342.4 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.291, allocations: 51.67 kB / 342.5 MB, free: 2.879 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.2911, allocations: 24.05 kB / 342.5 MB, free: 2.855 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2911, allocations: 7.938 kB / 342.5 MB, free: 2.848 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007146/0.2918, allocations: 441.8 kB / 342.9 MB, free: 2.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2918, allocations: 4 kB / 342.9 MB, free: 2.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.292, allocations: 68.81 kB / 343 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2923, allocations: 75.84 kB / 343.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.2938, allocations: 1.69 MB / 344.8 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2942, allocations: 55.64 kB / 344.8 MB, free: 384 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.2942, allocations: 20 kB / 344.8 MB, free: 364 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.000293/0.2945, allocations: 259.2 kB / 345.1 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.2946, allocations: 43.48 kB / 345.1 MB, free: 48 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2947, allocations: 52.19 kB / 345.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2947, allocations: 4 kB / 345.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2947, allocations: 0 / 345.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2948, allocations: 0 / 345.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.2964, allocations: 0.9883 MB / 346.2 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2964, allocations: 4 kB / 346.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.2966, allocations: 51.91 kB / 346.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.2968, allocations: 72.8 kB / 346.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.2969, allocations: 8 kB / 346.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.2984, allocations: 1.691 MB / 348 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2985, allocations: 7.984 kB / 348 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2995, allocations: 0.6471 MB / 348.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2998, allocations: 148.5 kB / 348.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.2998, allocations: 15.98 kB / 348.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3001, allocations: 31.98 kB / 348.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3002, allocations: 39.66 kB / 348.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.3003, allocations: 15.98 kB / 348.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.3006, allocations: 243.2 kB / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3006, allocations: 0 / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.3015, allocations: 223.3 kB / 349.4 MB, free: 11.57 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.0001854/0.3017, allocations: 123.1 kB / 349.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3033, allocations: 0.9151 MB / 350.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3033, allocations: 448 / 350.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.3038, allocations: 318.5 kB / 350.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.3044, allocations: 77.52 kB / 350.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3064, allocations: 1.151 MB / 351.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.3068, allocations: 0.8276 MB / 352.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.307, allocations: 55.33 kB / 352.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3071, allocations: 31.44 kB / 352.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3071, allocations: 0 / 352.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of Templates: time 0.0124/0.3196, allocations: 6.091 MB / 358.9 MB, free: 1.863 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)