Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.00153/0.00153, allocations: 194.9 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 245.4 MB, free: 8.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000726/0.0007263, allocations: 94.91 kB / 297.4 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002014, allocations: 12 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1777, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09145/0.2692, allocations: 88.47 MB / 497.2 MB, free: 3.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.2694, allocations: 91.94 kB / 497.2 MB, free: 3.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.3033, allocations: 13.76 MB / 0.499 GB, free: 5.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3033, allocations: 0 / 0.499 GB, free: 5.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.3034, allocations: 20 kB / 0.499 GB, free: 5.148 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.001636/0.305, allocations: 1.018 MB / 0.5 GB, free: 4.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.305, allocations: 8.031 kB / 0.5 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3052, allocations: 91.91 kB / 0.5001 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.3058, allocations: 0.5033 MB / 0.5006 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.3059, allocations: 58.38 kB / 0.5007 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.306, allocations: 76.31 kB / 0.5008 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3072, allocations: 0.7361 MB / 0.5015 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3072, allocations: 8.094 kB / 0.5015 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.3073, allocations: 31.94 kB / 0.5015 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3073, allocations: 20 kB / 0.5015 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.3083, allocations: 0.5309 MB / 0.502 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1526/0.461, allocations: 2.559 MB / 0.5045 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4622, allocations: 0.574 MB / 0.5051 GB, free: 90.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.4629, allocations: 378.3 kB / 0.5055 GB, free: 90.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.463, allocations: 7.422 kB / 0.5055 GB, free: 90.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/0.4637, allocations: 432.2 kB / 0.5059 GB, free: 90.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.685e-06/0.4637, allocations: 1.375 kB / 0.5059 GB, free: 90.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.002546/0.4663, allocations: 1.066 MB / 0.5069 GB, free: 90.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4663, allocations: 166.6 kB / 0.5071 GB, free: 90.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.4669, allocations: 494.2 kB / 0.5076 GB, free: 90.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.4669, allocations: 44.64 kB / 0.5076 GB, free: 90 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.4672, allocations: 317.5 kB / 0.5079 GB, free: 89.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4673, allocations: 207.1 kB / 0.5081 GB, free: 89.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.4673, allocations: 15.62 kB / 0.5081 GB, free: 89.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.4674, allocations: 373.3 kB / 0.5085 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.4679, allocations: 212.2 kB / 0.5087 GB, free: 89.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.4684, allocations: 408.4 kB / 0.5091 GB, free: 89.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/0.4694, allocations: 0.6042 MB / 0.5097 GB, free: 89.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4694, allocations: 1.469 kB / 0.5097 GB, free: 89.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001247/0.4707, allocations: 0.7903 MB / 0.5104 GB, free: 88.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.4708, allocations: 256.5 kB / 0.5107 GB, free: 88.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4708, allocations: 7.812 kB / 0.5107 GB, free: 88.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.4712, allocations: 138.4 kB / 0.5108 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.4716, allocations: 128.2 kB / 0.5109 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.4735, allocations: 2.154 MB / 0.513 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.474, allocations: 84.16 kB / 0.5131 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.4741, allocations: 30 kB / 0.5131 GB, free: 87.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.4741, allocations: 3.938 kB / 0.5131 GB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009785/0.4751, allocations: 0.6841 MB / 0.5138 GB, free: 86.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4751, allocations: 3.719 kB / 0.5138 GB, free: 86.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.4754, allocations: 140.6 kB / 0.514 GB, free: 86.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.4758, allocations: 129.2 kB / 0.5141 GB, free: 86.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.4775, allocations: 2.145 MB / 0.5162 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.478, allocations: 82.53 kB / 0.5163 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.478, allocations: 27.53 kB / 0.5163 GB, free: 84.99 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.0003444/0.4784, allocations: 299.4 kB / 0.5166 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.4784, allocations: 66.19 kB / 0.5166 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.4786, allocations: 76.88 kB / 0.5167 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4786, allocations: 10.41 kB / 0.5167 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4786, allocations: 0 / 0.5167 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4786, allocations: 3.703 kB / 0.5167 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.4804, allocations: 1.507 MB / 0.5182 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4804, allocations: 0 / 0.5182 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.4808, allocations: 96.98 kB / 0.5183 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.4811, allocations: 129.5 kB / 0.5184 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.4812, allocations: 15.78 kB / 0.5184 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.4829, allocations: 2.097 MB / 0.5205 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4829, allocations: 4 kB / 0.5205 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4843, allocations: 1.025 MB / 0.5215 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.4845, allocations: 191 kB / 0.5217 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.4846, allocations: 14.5 kB / 0.5217 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.485, allocations: 52.41 kB / 0.5217 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4851, allocations: 59.38 kB / 0.5218 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.4851, allocations: 24.7 kB / 0.5218 GB, free: 81.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.4855, allocations: 337.9 kB / 0.5221 GB, free: 81.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4855, allocations: 0 / 0.5221 GB, free: 81.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009778/0.4864, allocations: 369.9 kB / 0.5225 GB, free: 81.12 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.0001466/0.4866, allocations: 147.6 kB / 0.5226 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.4884, allocations: 1.354 MB / 0.5239 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4884, allocations: 9.031 kB / 0.5239 GB, free: 80.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.489, allocations: 481.1 kB / 0.5244 GB, free: 80.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.4896, allocations: 124.5 kB / 0.5245 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4918, allocations: 1.794 MB / 0.5263 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4921, allocations: 0.9349 MB / 0.5272 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4922, allocations: 46.03 kB / 0.5272 GB, free: 78.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4922, allocations: 0 / 0.5272 GB, free: 78.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01086/0.5031, allocations: 11.39 MB / 0.5384 GB, free: 70.09 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe 2>&1)