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.001519/0.001519, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.006246/0.2249, allocations: 5.242 MB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2274, allocations: 1.36 MB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.228, allocations: 15.94 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.2284, allocations: 138.6 kB / 416.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.229, allocations: 214 kB / 417 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.2297, allocations: 307.4 kB / 417.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008896/0.2306, allocations: 1.044 MB / 418.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.2311, allocations: 345.3 kB / 418.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.2315, allocations: 374.6 kB / 419 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.2319, allocations: 410.1 kB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.232, allocations: 92 kB / 419.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2322, allocations: 92 kB / 419.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2323, allocations: 203.2 kB / 419.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.2327, allocations: 445.8 kB / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.2336, allocations: 1.025 MB / 421.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2336, allocations: 0 / 421.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2336, allocations: 0 / 421.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.2336, allocations: 3.938 kB / 421.3 MB, free: 6.262 MB / 334.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.001976/0.2356, allocations: 1.165 MB / 422.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2357, allocations: 8.031 kB / 422.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.2358, allocations: 95.81 kB / 422.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.2367, allocations: 0.511 MB / 423 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.2367, allocations: 54.38 kB / 423.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.2368, allocations: 76.36 kB / 423.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.2381, allocations: 0.7319 MB / 423.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.2381, allocations: 7.891 kB / 423.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.2382, allocations: 32 kB / 423.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2382, allocations: 20 kB / 424 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.2392, allocations: 0.5153 MB / 424.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.2426, allocations: 2.515 MB / 427 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2437, allocations: 0.5556 MB / 427.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.2444, allocations: 370.4 kB / 427.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.2444, allocations: 12.56 kB / 427.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.2451, allocations: 427.3 kB / 428.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.164e-06/0.2451, allocations: 0 / 428.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002512/0.2476, allocations: 1.054 MB / 429.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.2477, allocations: 170.8 kB / 429.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.2482, allocations: 494 kB / 430 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.2483, allocations: 49.62 kB / 430.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.2485, allocations: 316.5 kB / 430.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.2487, allocations: 212.9 kB / 430.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.2489, allocations: 142.6 kB / 430.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.249, allocations: 378.7 kB / 431.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.2494, allocations: 212.8 kB / 431.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.25, allocations: 395.9 kB / 431.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.2509, allocations: 0.5924 MB / 432.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2509, allocations: 4 kB / 432.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001285/0.2522, allocations: 0.7782 MB / 433.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.2522, allocations: 37.69 kB / 433.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2523, allocations: 4 kB / 433.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.2527, allocations: 132.8 kB / 433.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.2532, allocations: 123.8 kB / 433.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.2556, allocations: 2.381 MB / 435.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2561, allocations: 87.34 kB / 435.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.2562, allocations: 32 kB / 435.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005303/0.2567, allocations: 342 kB / 436.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004942/0.2572, allocations: 395.8 kB / 436.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000805/0.258, allocations: 0.5729 MB / 437.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.258, allocations: 4 kB / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001193/0.2592, allocations: 0.7541 MB / 437.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2593, allocations: 37.69 kB / 438 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2593, allocations: 4.625 kB / 438 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2596, allocations: 136.7 kB / 438.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.2601, allocations: 123.8 kB / 438.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.2625, allocations: 2.377 MB / 440.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.263, allocations: 83.44 kB / 440.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.263, allocations: 32 kB / 440.7 MB, free: 1.824 MB / 350.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 (mean_vLV.y_last,$PRE.mean_vLV.y_last,mean_iLV.y_last,$PRE.mean_iLV.y_last,mean_vHV.y_last,$PRE.mean_vHV.y_last,mean_iHV.y_last,$PRE.mean_iHV.y_last,pwm.zeroOrderHold.firstTrigger,$PRE.pwm.zeroOrderHold.firstTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,pwm.zeroOrderHold.sampleTrigger,$whenCondition2,pwm.sawtooth.count,$PRE.pwm.sawtooth.count,pwm.sawtooth.T_start,$PRE.pwm.sawtooth.T_start,pwm.zeroOrderHold.ySample,$PRE.pwm.zeroOrderHold.ySample,pwm.notFire,dcdc.diodeHS.off,dcdc.transistorHS.off,dcdc.diodeLS.off,dcdc.transistorLS.off,dcdc.andCondition_n.y,dcdc.andCondition_p.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.2632, allocations: 240 kB / 440.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.2633, allocations: 67.25 kB / 441 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2634, allocations: 73.86 kB / 441.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2635, allocations: 3.984 kB / 441.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2635, allocations: 0 / 441.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.2637, allocations: 192.2 kB / 441.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.2638, allocations: 23.92 kB / 441.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2642, allocations: 39.97 kB / 441.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2643, allocations: 48.48 kB / 441.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001777/0.2661, allocations: 0.7921 MB / 442.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001546/0.2677, allocations: 0.999 MB / 443.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004291/0.2681, allocations: 244.4 kB / 443.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.2685, allocations: 338.8 kB / 443.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Backend: time 8.01e-07/0.2685, allocations: 4 kB / 443.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.2706, allocations: 1.268 MB / 445 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 0.002642/0.2733, allocations: 1.896 MB / 446.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.0211/0.2944, allocations: 12.62 MB / 459.5 MB, free: 14.99 MB / 382.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)