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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008475, allocations: 93.36 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001903/0.0001904, allocations: 8 kB / 358 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.175, allocations: 51.46 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09185/0.2669, allocations: 88.66 MB / 498.1 MB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.2671, allocations: 91.94 kB / 498.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03479/0.3019, allocations: 13.82 MB / 0.5 GB, free: 3.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.302, allocations: 0 / 0.5 GB, free: 3.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.031e-05/0.302, allocations: 31.98 kB / 0.5 GB, free: 3.93 MB / 378.7 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.001934/0.304, allocations: 1.03 MB / 0.501 GB, free: 2.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.304, allocations: 8.031 kB / 0.501 GB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.3042, allocations: 94.92 kB / 0.5011 GB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.305, allocations: 498.4 kB / 0.5016 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.305, allocations: 54 kB / 0.5017 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3051, allocations: 72 kB / 0.5017 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3064, allocations: 0.7277 MB / 0.5024 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3064, allocations: 0 / 0.5024 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.3065, allocations: 35.98 kB / 0.5025 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3065, allocations: 19.94 kB / 0.5025 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3075, allocations: 0.5348 MB / 0.503 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1527/0.4602, allocations: 2.561 MB / 0.5055 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.4613, allocations: 0.5853 MB / 0.5061 GB, free: 89.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.4613, allocations: 9.062 kB / 0.5061 GB, free: 89.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/0.462, allocations: 423.3 kB / 0.5065 GB, free: 89.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.475e-06/0.4621, allocations: 0 / 0.5065 GB, free: 89.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.002355/0.4644, allocations: 1.059 MB / 0.5075 GB, free: 89.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4645, allocations: 169.5 kB / 0.5077 GB, free: 89.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.4649, allocations: 435.2 kB / 0.5081 GB, free: 89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.465, allocations: 47.67 kB / 0.5081 GB, free: 88.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4652, allocations: 317.5 kB / 0.5085 GB, free: 88.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4653, allocations: 212.3 kB / 0.5087 GB, free: 88.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4653, allocations: 17.25 kB / 0.5087 GB, free: 88.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.4654, allocations: 370.8 kB / 0.509 GB, free: 88.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.4659, allocations: 215 kB / 0.5092 GB, free: 88.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.4663, allocations: 403.7 kB / 0.5096 GB, free: 88.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.4668, allocations: 271.1 kB / 0.5099 GB, free: 88.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4668, allocations: 5.484 kB / 0.5099 GB, free: 88.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001457/0.4683, allocations: 0.7829 MB / 0.5106 GB, free: 88.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.4686, allocations: 1.864 MB / 0.5125 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4686, allocations: 7.609 kB / 0.5125 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.469, allocations: 138.1 kB / 0.5126 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.4694, allocations: 133.4 kB / 0.5127 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.4714, allocations: 2.19 MB / 0.5149 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.4718, allocations: 85.27 kB / 0.5149 GB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.4719, allocations: 27.03 kB / 0.515 GB, free: 84.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.4719, allocations: 3.844 kB / 0.515 GB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009427/0.4728, allocations: 0.6935 MB / 0.5157 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4729, allocations: 3.062 kB / 0.5157 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.4732, allocations: 137.8 kB / 0.5158 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.4736, allocations: 120.9 kB / 0.5159 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.4753, allocations: 2.191 MB / 0.518 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.4757, allocations: 80.58 kB / 0.5181 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.4757, allocations: 38 kB / 0.5182 GB, free: 82.2 MB / 378.7 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,pwm.zeroOrderHold.ySample,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.fire_n,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,$PRE.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 (76): * Single equations (assignments): 74 * 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.0003319/0.4761, allocations: 296.6 kB / 0.5184 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.4762, allocations: 62.31 kB / 0.5185 GB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4763, allocations: 76.58 kB / 0.5186 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4763, allocations: 7.688 kB / 0.5186 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4763, allocations: 3.656 kB / 0.5186 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4763, allocations: 4 kB / 0.5186 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4781, allocations: 1.452 MB / 0.52 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4781, allocations: 3.844 kB / 0.52 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.4785, allocations: 89.05 kB / 0.5201 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.4788, allocations: 132.6 kB / 0.5202 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.4788, allocations: 18.59 kB / 0.5202 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.4806, allocations: 2.183 MB / 0.5224 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4806, allocations: 0 / 0.5224 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4819, allocations: 1.033 MB / 0.5234 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.4821, allocations: 192.6 kB / 0.5236 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.4822, allocations: 15.09 kB / 0.5236 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.4825, allocations: 52.8 kB / 0.5236 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4827, allocations: 60.53 kB / 0.5237 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4827, allocations: 21.03 kB / 0.5237 GB, free: 78.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.483, allocations: 336.9 kB / 0.524 GB, free: 78.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.483, allocations: 0 / 0.524 GB, free: 78.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008417/0.4838, allocations: 364.7 kB / 0.5244 GB, free: 78.32 MB / 378.7 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.fire_n,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.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.0001428/0.484, allocations: 145.2 kB / 0.5245 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.4857, allocations: 1.376 MB / 0.5259 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4857, allocations: 0 / 0.5259 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.4862, allocations: 490.1 kB / 0.5263 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4867, allocations: 118.8 kB / 0.5264 GB, free: 77.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4887, allocations: 1.758 MB / 0.5282 GB, free: 76.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.489, allocations: 0.9485 MB / 0.5291 GB, free: 75.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00027/0.4893, allocations: 74.55 kB / 0.5292 GB, free: 75.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4894, allocations: 54.47 kB / 0.5292 GB, free: 75.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4894, allocations: 0 / 0.5292 GB, free: 75.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01266/0.5021, allocations: 10.02 MB / 0.539 GB, free: 68.61 MB / 378.7 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)