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.001005/0.001005, allocations: 195.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 245.4 MB, free: 8.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007463/0.0007464, allocations: 98.16 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1976, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.2988, allocations: 88.48 MB / 497.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.2991, allocations: 91.94 kB / 498 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.3355, allocations: 13.75 MB / 0.4997 GB, free: 5.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3356, allocations: 0 / 0.4997 GB, free: 5.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.449e-05/0.3356, allocations: 20 kB / 0.4997 GB, free: 5.117 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.002051/0.3377, allocations: 1.026 MB / 0.5007 GB, free: 4.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3377, allocations: 8.031 kB / 0.5007 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.338, allocations: 91.91 kB / 0.5008 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.3388, allocations: 0.4994 MB / 0.5013 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.3389, allocations: 58.38 kB / 0.5014 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.339, allocations: 80.25 kB / 0.5014 GB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3404, allocations: 0.7322 MB / 0.5022 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.3404, allocations: 12.02 kB / 0.5022 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.3405, allocations: 35.94 kB / 0.5022 GB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.3405, allocations: 16 kB / 0.5022 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.3416, allocations: 0.5309 MB / 0.5027 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1742/0.5158, allocations: 2.554 MB / 0.5052 GB, free: 90.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5172, allocations: 0.5785 MB / 0.5058 GB, free: 90.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.518, allocations: 375.2 kB / 0.5062 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.5181, allocations: 7.562 kB / 0.5062 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008697/0.519, allocations: 440.4 kB / 0.5066 GB, free: 90.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.975e-06/0.519, allocations: 0 / 0.5066 GB, free: 90.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.002637/0.5216, allocations: 1.061 MB / 0.5076 GB, free: 90.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.5217, allocations: 169.5 kB / 0.5078 GB, free: 90.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.5224, allocations: 489.1 kB / 0.5083 GB, free: 90 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.5225, allocations: 44.41 kB / 0.5083 GB, free: 89.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.5228, allocations: 321.9 kB / 0.5086 GB, free: 89.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5229, allocations: 209 kB / 0.5088 GB, free: 89.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.523, allocations: 18.06 kB / 0.5088 GB, free: 89.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5231, allocations: 371.3 kB / 0.5092 GB, free: 89.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.5236, allocations: 213.7 kB / 0.5094 GB, free: 89.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.5242, allocations: 403.5 kB / 0.5098 GB, free: 89.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.5252, allocations: 0.6073 MB / 0.5104 GB, free: 89.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5253, allocations: 1.531 kB / 0.5104 GB, free: 89.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001423/0.5267, allocations: 0.7871 MB / 0.5111 GB, free: 88.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.5268, allocations: 263.7 kB / 0.5114 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5268, allocations: 4.188 kB / 0.5114 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.5273, allocations: 136.8 kB / 0.5115 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.5277, allocations: 129.4 kB / 0.5116 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.5296, allocations: 2.155 MB / 0.5137 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.5301, allocations: 87.95 kB / 0.5138 GB, free: 87.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.5302, allocations: 37.19 kB / 0.5139 GB, free: 87.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.5302, allocations: 3.312 kB / 0.5139 GB, free: 87.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009919/0.5312, allocations: 0.682 MB / 0.5145 GB, free: 86.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5312, allocations: 7.875 kB / 0.5145 GB, free: 86.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.5315, allocations: 128 kB / 0.5147 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.5319, allocations: 129.7 kB / 0.5148 GB, free: 86.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.5336, allocations: 2.143 MB / 0.5169 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.534, allocations: 88.23 kB / 0.517 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.5341, allocations: 24.75 kB / 0.517 GB, free: 84.95 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.0002877/0.5344, allocations: 305 kB / 0.5173 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.5345, allocations: 61.59 kB / 0.5173 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5346, allocations: 71.84 kB / 0.5174 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5346, allocations: 12.47 kB / 0.5174 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5346, allocations: 1.438 kB / 0.5174 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5346, allocations: 3.516 kB / 0.5174 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.5365, allocations: 1.511 MB / 0.5189 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5366, allocations: 0 / 0.5189 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.537, allocations: 96.41 kB / 0.519 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.5372, allocations: 123.8 kB / 0.5191 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.5373, allocations: 17.47 kB / 0.5191 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.539, allocations: 2.094 MB / 0.5212 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.539, allocations: 4.312 kB / 0.5212 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.5404, allocations: 1.022 MB / 0.5222 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.5406, allocations: 197.6 kB / 0.5224 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.5407, allocations: 11.97 kB / 0.5224 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.5411, allocations: 50.67 kB / 0.5224 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5412, allocations: 62.22 kB / 0.5225 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.5413, allocations: 26.16 kB / 0.5225 GB, free: 81.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.5417, allocations: 337.2 kB / 0.5228 GB, free: 81.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5417, allocations: 3.938 kB / 0.5228 GB, free: 81.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001076/0.5427, allocations: 369.6 kB / 0.5232 GB, free: 81.09 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 (55): * Single equations (assignments): 46 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.543, allocations: 148 kB / 0.5233 GB, free: 80.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.545, allocations: 1.351 MB / 0.5246 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.545, allocations: 6.594 kB / 0.5246 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.5456, allocations: 485.1 kB / 0.5251 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.5463, allocations: 119 kB / 0.5252 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5485, allocations: 1.765 MB / 0.5269 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5489, allocations: 0.9336 MB / 0.5279 GB, free: 78.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.5492, allocations: 70.05 kB / 0.5279 GB, free: 78.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.5493, allocations: 43.22 kB / 0.528 GB, free: 78.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5493, allocations: 7.875 kB / 0.528 GB, free: 78.17 MB / 378.7 MB Notification: Performance of Templates: time 0.0147/0.564, allocations: 10.11 MB / 0.5378 GB, free: 71.47 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)