Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009172/0.0009172, allocations: 99.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009943/0.0009943, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000196/0.000196, allocations: 11.98 kB / 306.6 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08281, allocations: 51.48 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.004721/0.08756, allocations: 4.305 MB / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.08997, allocations: 1.345 MB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.09055, allocations: 19.88 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.09084, allocations: 87.23 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005836/0.09143, allocations: 267.2 kB / 364.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.0921, allocations: 235.5 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.09291, allocations: 0.6636 MB / 365 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.09332, allocations: 266.4 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.09361, allocations: 290.8 kB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.09395, allocations: 326.5 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.09404, allocations: 40 kB / 365.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.09413, allocations: 40 kB / 365.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.09428, allocations: 139.4 kB / 366.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.09443, allocations: 169.3 kB / 366.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.09503, allocations: 0.7402 MB / 367 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.09504, allocations: 4 kB / 367 MB, free: 5.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09505, allocations: 0 / 367 MB, free: 5.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.09507, allocations: 0 / 367 MB, free: 5.164 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001686/0.09676, allocations: 1.028 MB / 368 MB, free: 4.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.09679, allocations: 12.03 kB / 368 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.09693, allocations: 94.88 kB / 368.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.0976, allocations: 498.4 kB / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.626e-05/0.09771, allocations: 69.98 kB / 368.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.09782, allocations: 79.98 kB / 368.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.09896, allocations: 0.7238 MB / 369.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.09899, allocations: 4 kB / 369.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.09906, allocations: 28 kB / 369.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.09909, allocations: 20 kB / 369.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/0.1001, allocations: 0.5231 MB / 370 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1559/0.2559, allocations: 2.571 MB / 372.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2571, allocations: 0.5709 MB / 373.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.2572, allocations: 10.88 kB / 373.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/0.258, allocations: 430.2 kB / 373.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=68): time 2.365e-06/0.258, allocations: 0 / 373.6 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=68): time 0.002812/0.2608, allocations: 1.082 MB / 374.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.2609, allocations: 173.5 kB / 374.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.2615, allocations: 488.3 kB / 375.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.2616, allocations: 44.25 kB / 375.4 MB, free: 17.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.2618, allocations: 327.2 kB / 375.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.262, allocations: 205.5 kB / 375.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.262, allocations: 13.78 kB / 375.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2621, allocations: 371.3 kB / 376.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.2625, allocations: 218.3 kB / 376.5 MB, free: 17.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.263, allocations: 404.2 kB / 376.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.2635, allocations: 276.6 kB / 377.2 MB, free: 16.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2635, allocations: 1.375 kB / 377.2 MB, free: 16.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001245/0.2647, allocations: 0.7923 MB / 378 MB, free: 16.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.265, allocations: 1.86 MB / 379.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.265, allocations: 5.125 kB / 379.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.2655, allocations: 141.5 kB / 380 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.266, allocations: 132.1 kB / 380.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.2682, allocations: 2.184 MB / 382.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.2687, allocations: 95.12 kB / 382.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.2687, allocations: 26.47 kB / 382.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.2687, allocations: 4.188 kB / 382.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/0.2698, allocations: 0.6936 MB / 383.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2698, allocations: 8.891 kB / 383.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.2702, allocations: 141.8 kB / 383.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.2706, allocations: 119 kB / 383.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.2726, allocations: 2.181 MB / 385.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.2731, allocations: 85.92 kB / 385.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.2731, allocations: 29.25 kB / 385.6 MB, free: 10.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.mean_vLV.y_last,mean_vLV.y_last,$PRE.mean_iLV.y_last,mean_iLV.y_last,$PRE.mean_vHV.y_last,mean_vHV.y_last,$PRE.mean_iHV.y_last,mean_iHV.y_last,$PRE.pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.firstTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,pwm.zeroOrderHold.sampleTrigger,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,pwm.notFire,$PRE.pwm.zeroOrderHold.ySample,pwm.zeroOrderHold.ySample,$PRE.pwm.sawtooth.T_start,pwm.sawtooth.T_start,$PRE.pwm.sawtooth.count,pwm.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * 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 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003917/0.2735, allocations: 298.5 kB / 385.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2737, allocations: 64.86 kB / 386 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.2738, allocations: 71.55 kB / 386.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.2738, allocations: 6.531 kB / 386.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.2738, allocations: 4.703 kB / 386.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2739, allocations: 3.594 kB / 386.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.2759, allocations: 1.456 MB / 387.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2759, allocations: 0 / 387.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.2764, allocations: 92.98 kB / 387.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.2767, allocations: 134.5 kB / 387.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.2768, allocations: 15.02 kB / 387.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.2788, allocations: 2.174 MB / 389.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2789, allocations: 3.938 kB / 390 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.2804, allocations: 1.027 MB / 391 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.2806, allocations: 193.2 kB / 391.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.2807, allocations: 17.34 kB / 391.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.2811, allocations: 59.25 kB / 391.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2813, allocations: 53.89 kB / 391.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.2813, allocations: 28.83 kB / 391.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003937/0.2817, allocations: 330.8 kB / 391.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2817, allocations: 0 / 391.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001113/0.2829, allocations: 374.5 kB / 392 MB, free: 6.473 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (capacitorLV.v,inductor.i,capacitorHV.v,mean_vLV.x,mean_iLV.x,mean_vHV.x,mean_iHV.x) * Number of discrete variables: 22 (pwm.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,mean_vLV.y_last,mean_iLV.y_last,mean_vHV.y_last,mean_iHV.y_last,pwm.notFire,pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.ySample,pwm.sawtooth.T_start,pwm.sawtooth.count) * Number of discrete states: 6 (pwm.sawtooth.count,mean_vLV.x,mean_iLV.x,mean_vHV.x,mean_iHV.x,pwm.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.283, allocations: 142.5 kB / 392.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.2851, allocations: 1.375 MB / 393.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2851, allocations: 5.375 kB / 393.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007064/0.2858, allocations: 472.4 kB / 394 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.2864, allocations: 120.6 kB / 394.1 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.2887, allocations: 1.75 MB / 395.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2891, allocations: 0.9583 MB / 396.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.2894, allocations: 75.78 kB / 396.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2895, allocations: 44.64 kB / 396.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2895, allocations: 0 / 396.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of Templates: time 0.01472/0.3043, allocations: 9.935 MB / 406.9 MB, free: 12.77 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe 2>&1)