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.001374/0.001374, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 210.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 359.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2361, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.006434/0.2425, allocations: 5.238 MB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2451, allocations: 1.364 MB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.2457, allocations: 19.94 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.2461, allocations: 138.6 kB / 416.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006773/0.2468, allocations: 222 kB / 417 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.2477, allocations: 319.5 kB / 417.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.2489, allocations: 1.032 MB / 418.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.2496, allocations: 349.5 kB / 418.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.2501, allocations: 362.7 kB / 419 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.2506, allocations: 414 kB / 419.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.2508, allocations: 92 kB / 419.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.251, allocations: 92 kB / 419.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.2512, allocations: 199.3 kB / 419.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.2516, allocations: 445.8 kB / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.2527, allocations: 1.042 MB / 421.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2528, allocations: 0 / 421.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2528, allocations: 0 / 421.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.2528, allocations: 0 / 421.3 MB, free: 6.25 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.002317/0.2551, allocations: 1.175 MB / 422.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2552, allocations: 12.03 kB / 422.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.2554, allocations: 104.3 kB / 422.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.2562, allocations: 0.5154 MB / 423.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.2563, allocations: 58.38 kB / 423.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2564, allocations: 80.31 kB / 423.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2576, allocations: 0.7358 MB / 424 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2576, allocations: 4 kB / 424 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.2577, allocations: 28 kB / 424 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2577, allocations: 20 kB / 424 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2588, allocations: 0.5075 MB / 424.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.2625, allocations: 2.532 MB / 427.1 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2635, allocations: 0.5571 MB / 427.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.2642, allocations: 366.4 kB / 428 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.2643, allocations: 12.56 kB / 428 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.265, allocations: 423.4 kB / 428.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.355e-06/0.265, allocations: 3.938 kB / 428.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002553/0.2675, allocations: 1.059 MB / 429.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.2676, allocations: 170.8 kB / 429.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.2682, allocations: 494 kB / 430.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.2682, allocations: 49.69 kB / 430.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2684, allocations: 329 kB / 430.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.2686, allocations: 222.2 kB / 430.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.2688, allocations: 142.6 kB / 430.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.269, allocations: 370.7 kB / 431.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.2694, allocations: 216.8 kB / 431.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.27, allocations: 399.9 kB / 431.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/0.2709, allocations: 0.6002 MB / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2709, allocations: 0 / 432.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001326/0.2722, allocations: 0.7706 MB / 433.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.2723, allocations: 39.88 kB / 433.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2723, allocations: 8 kB / 433.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.2727, allocations: 127.7 kB / 433.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.2732, allocations: 140 kB / 433.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.2758, allocations: 2.368 MB / 435.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.2763, allocations: 87.58 kB / 435.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2763, allocations: 24 kB / 436 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005471/0.2769, allocations: 350 kB / 436.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005059/0.2774, allocations: 391.8 kB / 436.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008317/0.2782, allocations: 0.5729 MB / 437.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.2783, allocations: 0 / 437.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001266/0.2795, allocations: 0.7623 MB / 438 MB, free: 4.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2796, allocations: 38.33 kB / 438 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2796, allocations: 12 kB / 438.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.2799, allocations: 131.8 kB / 438.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.2804, allocations: 127.8 kB / 438.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.2829, allocations: 2.377 MB / 440.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.2834, allocations: 83.73 kB / 440.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.2835, allocations: 27.94 kB / 440.8 MB, free: 1.75 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.0002068/0.2837, allocations: 242.6 kB / 441 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.2838, allocations: 71.56 kB / 441.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.2839, allocations: 69.88 kB / 441.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2839, allocations: 3.984 kB / 441.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2839, allocations: 4 kB / 441.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.2842, allocations: 200.5 kB / 441.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.2843, allocations: 15.94 kB / 441.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2847, allocations: 51.95 kB / 441.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2848, allocations: 44.5 kB / 441.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001865/0.2867, allocations: 0.7879 MB / 442.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001536/0.2882, allocations: 1.003 MB / 443.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004127/0.2886, allocations: 236.4 kB / 443.5 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.289, allocations: 346.8 kB / 443.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.289, allocations: 0 / 443.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.2912, allocations: 1.271 MB / 445.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 0.002326/0.2935, allocations: 1.923 MB / 447 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.02076/0.3143, allocations: 12.63 MB / 459.7 MB, free: 14.86 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)