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.0008214/0.0008215, allocations: 100.6 kB / 17.01 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009285/0.0009285, allocations: 192.1 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 246.4 MB, free: 9.832 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002041, allocations: 12 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09352, allocations: 51.53 MB / 358.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.005111/0.09868, allocations: 4.558 MB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.101, allocations: 1.302 MB / 364.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.1013, allocations: 15.94 kB / 364.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1016, allocations: 103.1 kB / 364.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1019, allocations: 174.5 kB / 364.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.1025, allocations: 211.7 kB / 365 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007659/0.1032, allocations: 0.9231 MB / 365.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.1037, allocations: 266.4 kB / 366.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.104, allocations: 298.7 kB / 366.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.1044, allocations: 330.4 kB / 366.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.1044, allocations: 40 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.1045, allocations: 40 kB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1047, allocations: 135.4 kB / 367 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1049, allocations: 177.3 kB / 367.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.1055, allocations: 0.7362 MB / 367.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1055, allocations: 3.938 kB / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1055, allocations: 4 kB / 367.9 MB, free: 4.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1055, allocations: 0 / 367.9 MB, free: 4.082 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.001631/0.1072, allocations: 1.036 MB / 369 MB, free: 2.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1072, allocations: 12.03 kB / 369 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.1073, allocations: 94.88 kB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.108, allocations: 490.5 kB / 369.6 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.1081, allocations: 69.95 kB / 369.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.1082, allocations: 71.98 kB / 369.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1094, allocations: 0.7355 MB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1094, allocations: 0 / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.1095, allocations: 28 kB / 370.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1095, allocations: 16 kB / 370.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.1106, allocations: 0.527 MB / 371 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/0.2763, allocations: 2.574 MB / 373.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2775, allocations: 0.5774 MB / 374.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.2782, allocations: 379.8 kB / 374.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.2782, allocations: 11.61 kB / 374.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007299/0.279, allocations: 428.7 kB / 375 MB, free: 17.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=68): time 2.344e-06/0.279, allocations: 0 / 375 MB, free: 17.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=68): time 0.002541/0.2815, allocations: 1.085 MB / 376 MB, free: 17.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2816, allocations: 169.8 kB / 376.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.2821, allocations: 487.2 kB / 376.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.2821, allocations: 44.38 kB / 376.7 MB, free: 16.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.2823, allocations: 321.7 kB / 377 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.2825, allocations: 209.5 kB / 377.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2825, allocations: 18.75 kB / 377.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.2826, allocations: 373.1 kB / 377.6 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.283, allocations: 208.4 kB / 377.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.2835, allocations: 407.2 kB / 378.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.2839, allocations: 270.8 kB / 378.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.284, allocations: 2.375 kB / 378.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001234/0.2852, allocations: 0.792 MB / 379.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.2853, allocations: 258.7 kB / 379.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2853, allocations: 5.438 kB / 379.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.2857, allocations: 141.2 kB / 379.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.2862, allocations: 130.2 kB / 379.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.2882, allocations: 2.155 MB / 382 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.2886, allocations: 91.09 kB / 382 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2887, allocations: 33.73 kB / 382.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2887, allocations: 3.875 kB / 382.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/0.2898, allocations: 0.6933 MB / 382.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2898, allocations: 5.75 kB / 382.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.2901, allocations: 130.6 kB / 382.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.2905, allocations: 127.8 kB / 383 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.2925, allocations: 2.153 MB / 385.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.2929, allocations: 84.45 kB / 385.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.2929, allocations: 26.34 kB / 385.3 MB, free: 10.93 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 ($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,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,pwm.notFire,$PRE.pwm.zeroOrderHold.ySample,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 (77): * Single equations (assignments): 75 * 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.0003408/0.2933, allocations: 298.5 kB / 385.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.2934, allocations: 68.61 kB / 385.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.2935, allocations: 74.48 kB / 385.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.2935, allocations: 6.125 kB / 385.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.2936, allocations: 1.891 kB / 385.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2936, allocations: 2.766 kB / 385.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.2959, allocations: 1.505 MB / 387.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2959, allocations: 0.75 kB / 387.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.2963, allocations: 103.8 kB / 387.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.2966, allocations: 124.4 kB / 387.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.2967, allocations: 15.06 kB / 387.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.2986, allocations: 2.097 MB / 389.6 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2986, allocations: 0 / 389.6 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.3002, allocations: 1.017 MB / 390.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3004, allocations: 196.2 kB / 390.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.3005, allocations: 18.12 kB / 390.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.3009, allocations: 50.69 kB / 390.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.301, allocations: 56.34 kB / 390.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.3011, allocations: 21.31 kB / 390.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.3015, allocations: 335.1 kB / 391.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3015, allocations: 4 kB / 391.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001126/0.3026, allocations: 370.4 kB / 391.6 MB, free: 7.059 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 (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.0001489/0.3028, allocations: 132.1 kB / 391.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.3047, allocations: 1.373 MB / 393.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3047, allocations: 0.8438 kB / 393.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.3054, allocations: 481 kB / 393.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.306, allocations: 119.6 kB / 393.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3084, allocations: 1.762 MB / 395.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.3089, allocations: 0.9369 MB / 396.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.3092, allocations: 70.36 kB / 396.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3093, allocations: 43.59 kB / 396.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3093, allocations: 0 / 396.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of Templates: time 0.01457/0.3239, allocations: 9.922 MB / 406.4 MB, free: 13 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)