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.00118/0.00118, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 93.06 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.897e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 51.47 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4744, allocations: 87.93 MB / 483.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4746, allocations: 86.62 kB / 483.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03477/0.5094, allocations: 13.68 MB / 496.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5095, allocations: 0 / 496.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.279e-05/0.5095, allocations: 20 kB / 496.9 MB, free: 9.781 MB / 362.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.001946/0.5115, allocations: 0.966 MB / 497.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.5116, allocations: 14.17 kB / 497.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.5118, allocations: 94.88 kB / 498 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.5126, allocations: 492.2 kB / 498.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.5126, allocations: 20 kB / 498.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.5127, allocations: 44 kB / 498.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007526/0.5135, allocations: 431.6 kB / 498.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.5145, allocations: 0.5895 MB / 499.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.5145, allocations: 3.906 kB / 499.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.5146, allocations: 11.17 kB / 499.5 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.5146, allocations: 19.95 kB / 499.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.518, allocations: 2.417 MB / 0.4902 GB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.5187, allocations: 497.6 kB / 0.4907 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.5193, allocations: 323.9 kB / 0.491 GB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.5193, allocations: 8.562 kB / 0.491 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.5199, allocations: 380.1 kB / 0.4914 GB, free: 4.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 2.415e-06/0.5199, allocations: 0 / 0.4914 GB, free: 4.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.0008631/0.5208, allocations: 0.5051 MB / 0.4919 GB, free: 4.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.5209, allocations: 170.6 kB / 0.492 GB, free: 4.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.5212, allocations: 349.7 kB / 0.4924 GB, free: 3.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.5213, allocations: 37.5 kB / 0.4924 GB, free: 3.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.5215, allocations: 320.8 kB / 0.4927 GB, free: 3.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.5217, allocations: 204 kB / 0.4929 GB, free: 3.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5217, allocations: 0 / 0.4929 GB, free: 3.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5218, allocations: 371.4 kB / 0.4932 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.5221, allocations: 166 kB / 0.4934 GB, free: 2.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.5225, allocations: 346.2 kB / 0.4937 GB, free: 2.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.5228, allocations: 197.7 kB / 0.4939 GB, free: 2.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5228, allocations: 0 / 0.4939 GB, free: 2.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009337/0.5238, allocations: 0.6147 MB / 0.4945 GB, free: 1.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007482/0.5245, allocations: 1.861 MB / 0.4963 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5245, allocations: 8 kB / 0.4963 GB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.525, allocations: 126.5 kB / 0.4965 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.5255, allocations: 138.3 kB / 0.4966 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.5277, allocations: 2.073 MB / 0.4986 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.5282, allocations: 67.59 kB / 0.4987 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.5283, allocations: 29.69 kB / 0.4987 GB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5283, allocations: 5.406 kB / 0.4987 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000828/0.5291, allocations: 0.5288 MB / 0.4992 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5291, allocations: 8.047 kB / 0.4992 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.5294, allocations: 134 kB / 0.4994 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.5299, allocations: 129.2 kB / 0.4995 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5319, allocations: 2.068 MB / 0.5015 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.5324, allocations: 61.34 kB / 0.5016 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.5324, allocations: 28 kB / 0.5016 GB, free: 11.18 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 () * 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.0002138/0.5327, allocations: 139.9 kB / 0.5017 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5328, allocations: 59.34 kB / 0.5018 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.5329, allocations: 61.88 kB / 0.5019 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5329, allocations: 4 kB / 0.5019 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.533, allocations: 4 kB / 0.5019 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.533, allocations: 7.938 kB / 0.5019 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5348, allocations: 1.292 MB / 0.5031 GB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5348, allocations: 4 kB / 0.5031 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.5353, allocations: 99.88 kB / 0.5032 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.5356, allocations: 113.7 kB / 0.5033 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.5356, allocations: 7.984 kB / 0.5033 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5377, allocations: 2.038 MB / 0.5053 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5377, allocations: 0 / 0.5053 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.5389, allocations: 0.8634 MB / 0.5062 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.5392, allocations: 192.2 kB / 0.5064 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.5393, allocations: 8 kB / 0.5064 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.5397, allocations: 39.97 kB / 0.5064 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.5398, allocations: 56.47 kB / 0.5065 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.5399, allocations: 27.92 kB / 0.5065 GB, free: 5.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.5401, allocations: 267 kB / 0.5067 GB, free: 5.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5401, allocations: 0 / 0.5067 GB, free: 5.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001171/0.5413, allocations: 330.9 kB / 0.5071 GB, free: 5.383 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) * 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.0002029/0.5415, allocations: 138.7 kB / 0.5072 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.5433, allocations: 1.202 MB / 0.5084 GB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5433, allocations: 0 / 0.5084 GB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.5439, allocations: 418.1 kB / 0.5088 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.5445, allocations: 97.98 kB / 0.5089 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.5466, allocations: 1.069 MB / 0.5099 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.5471, allocations: 0.9516 MB / 0.5108 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003659/0.5475, allocations: 84.78 kB / 0.5109 GB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.945e-05/0.5476, allocations: 43.42 kB / 0.511 GB, free: 1.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5476, allocations: 0 / 0.511 GB, free: 1.277 MB / 378.7 MB Notification: Performance of Templates: time 0.0157/0.5633, allocations: 9.438 MB / 0.5202 GB, free: 8.035 MB / 394.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)