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.000823/0.000823, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009253/0.0009257, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002366/0.0002367, allocations: 8 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 51.53 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.00624/0.1115, allocations: 4.815 MB / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.1145, allocations: 1.325 MB / 366.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007822/0.1154, allocations: 15.94 kB / 366.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.1159, allocations: 103.2 kB / 366.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1166, allocations: 182.5 kB / 366.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.1175, allocations: 279.6 kB / 366.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1187, allocations: 0.9776 MB / 367.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.1193, allocations: 309.1 kB / 367.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1198, allocations: 298.6 kB / 368.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.1204, allocations: 346.1 kB / 368.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.1206, allocations: 40 kB / 368.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1207, allocations: 40 kB / 368.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1209, allocations: 151.2 kB / 368.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.1215, allocations: 407.5 kB / 369.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.1222, allocations: 0.7401 MB / 369.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1223, allocations: 0 / 369.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1223, allocations: 4 kB / 369.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.1223, allocations: 0 / 369.9 MB, free: 3.215 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.002215/0.1245, allocations: 1.02 MB / 370.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1246, allocations: 12.03 kB / 370.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.1248, allocations: 99.81 kB / 371 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.1256, allocations: 0.4916 MB / 371.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.1257, allocations: 66.56 kB / 371.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1259, allocations: 76.36 kB / 371.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.1273, allocations: 0.7474 MB / 372.4 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1274, allocations: 7.906 kB / 372.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.1274, allocations: 28 kB / 372.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1275, allocations: 20 kB / 372.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1798/0.3072, allocations: 0.5273 MB / 373 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.3121, allocations: 2.576 MB / 375.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3133, allocations: 0.5784 MB / 376.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.3141, allocations: 379.7 kB / 376.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.3141, allocations: 11.55 kB / 376.5 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.315, allocations: 431.4 kB / 377 MB, free: 17.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=68): time 2.735e-06/0.315, allocations: 1.031 kB / 377 MB, free: 17.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=68): time 0.002545/0.3176, allocations: 1.091 MB / 378.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3177, allocations: 170.6 kB / 378.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.3182, allocations: 494.7 kB / 378.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.3183, allocations: 46.34 kB / 378.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3185, allocations: 324.5 kB / 379.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3186, allocations: 212.6 kB / 379.3 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.3187, allocations: 74.97 kB / 379.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3188, allocations: 377.4 kB / 379.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.3193, allocations: 215.2 kB / 379.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.3198, allocations: 408.3 kB / 380.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.3207, allocations: 0.6136 MB / 380.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3207, allocations: 2.031 kB / 380.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001324/0.3221, allocations: 0.7937 MB / 381.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/0.3222, allocations: 253.9 kB / 382 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3222, allocations: 3.969 kB / 382 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.3226, allocations: 134.5 kB / 382.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.3231, allocations: 133.5 kB / 382.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.3252, allocations: 2.167 MB / 384.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.3257, allocations: 90.91 kB / 384.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.3258, allocations: 26.62 kB / 384.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.3258, allocations: 3.5 kB / 384.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.3269, allocations: 0.695 MB / 385.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.327, allocations: 4.812 kB / 385.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3273, allocations: 136.6 kB / 385.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.3278, allocations: 127.6 kB / 385.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.3297, allocations: 2.154 MB / 387.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.3302, allocations: 95.22 kB / 387.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.3303, allocations: 29.86 kB / 387.8 MB, free: 10.56 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 (mean_vLV.y_last,$PRE.mean_vLV.y_last,mean_iLV.y_last,$PRE.mean_iLV.y_last,mean_vHV.y_last,$PRE.mean_vHV.y_last,mean_iHV.y_last,$PRE.mean_iHV.y_last,pwm.zeroOrderHold.firstTrigger,$PRE.pwm.zeroOrderHold.firstTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,pwm.zeroOrderHold.sampleTrigger,$whenCondition2,pwm.sawtooth.count,$PRE.pwm.sawtooth.count,pwm.sawtooth.T_start,$PRE.pwm.sawtooth.T_start,pwm.zeroOrderHold.ySample,$PRE.pwm.zeroOrderHold.ySample,pwm.notFire,dcdc.diodeHS.off,dcdc.transistorHS.off,dcdc.diodeLS.off,dcdc.transistorLS.off,dcdc.andCondition_n.y,dcdc.andCondition_p.y,$whenCondition1) * 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 (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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.3306, allocations: 290.6 kB / 388.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3307, allocations: 70.47 kB / 388.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.3308, allocations: 78.48 kB / 388.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3309, allocations: 7.312 kB / 388.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3309, allocations: 3.938 kB / 388.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3309, allocations: 4.812 kB / 388.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.3332, allocations: 1.499 MB / 389.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3332, allocations: 0 / 389.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.3336, allocations: 96.75 kB / 389.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.3339, allocations: 132.7 kB / 389.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.334, allocations: 14.25 kB / 389.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.3359, allocations: 2.094 MB / 392 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3359, allocations: 3.938 kB / 392 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3375, allocations: 1.027 MB / 393.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.3378, allocations: 196.2 kB / 393.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.3379, allocations: 19.25 kB / 393.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3383, allocations: 52.67 kB / 393.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3384, allocations: 59.31 kB / 393.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.3385, allocations: 22.12 kB / 393.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.3388, allocations: 342.7 kB / 393.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3388, allocations: 0 / 393.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001116/0.34, allocations: 382 kB / 394.1 MB, free: 6.684 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 (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(4,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.3401, allocations: 133.2 kB / 394.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.3423, allocations: 1.368 MB / 395.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3423, allocations: 5.438 kB / 395.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.343, allocations: 480 kB / 396.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.3437, allocations: 118 kB / 396.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.3463, allocations: 1.87 MB / 398.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3467, allocations: 0.9364 MB / 399 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3469, allocations: 46.62 kB / 399.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3469, allocations: 0 / 399.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Templates: time 0.01416/0.3611, allocations: 11.4 MB / 410.5 MB, free: 9.98 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)