Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.408/1.408, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.321e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07193, allocations: 44.5 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.3616, allocations: 77.93 MB / 427.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3618, allocations: 89.44 kB / 427.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.3778, allocations: 6.931 MB / 434.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3779, allocations: 0 / 434.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.3779, allocations: 15.38 kB / 434.4 MB, free: 7.625 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009852/0.3789, allocations: 0.6946 MB / 435.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3789, allocations: 11.53 kB / 435.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.379, allocations: 54.3 kB / 435.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3794, allocations: 360.2 kB / 435.5 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.3795, allocations: 38.02 kB / 435.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.3795, allocations: 42.22 kB / 435.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.3801, allocations: 437.6 kB / 436 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3802, allocations: 0 / 436 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.3802, allocations: 14.28 kB / 436.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3802, allocations: 11.44 kB / 436.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.3806, allocations: 276.9 kB / 436.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.3825, allocations: 1.663 MB / 438 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.3831, allocations: 289.4 kB / 438.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.3833, allocations: 153.5 kB / 438.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3834, allocations: 7.812 kB / 438.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.3837, allocations: 236.1 kB / 438.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.3837, allocations: 3.938 kB / 438.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005126/0.3842, allocations: 315.3 kB / 439 MB, free: 5.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3843, allocations: 135.8 kB / 439.1 MB, free: 5.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.3846, allocations: 317 kB / 439.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3846, allocations: 36.36 kB / 439.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.3847, allocations: 224.5 kB / 439.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.3848, allocations: 108.4 kB / 439.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.3848, allocations: 9.406 kB / 439.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3849, allocations: 347 kB / 440.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.385, allocations: 96.16 kB / 440.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3852, allocations: 220.8 kB / 440.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3854, allocations: 140.7 kB / 440.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3854, allocations: 3.844 kB / 440.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005328/0.386, allocations: 447.2 kB / 441 MB, free: 4.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.3862, allocations: 1.427 MB / 442.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3862, allocations: 3.844 kB / 442.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.3865, allocations: 78.92 kB / 442.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3867, allocations: 73.53 kB / 442.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.3881, allocations: 1.75 MB / 444.3 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.3884, allocations: 72.73 kB / 444.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3884, allocations: 19.16 kB / 444.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.3884, allocations: 7.75 kB / 444.4 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004915/0.3889, allocations: 380.3 kB / 444.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.389, allocations: 7.844 kB / 444.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.3891, allocations: 84.81 kB / 444.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3893, allocations: 58.16 kB / 445 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.3907, allocations: 1.754 MB / 446.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.391, allocations: 51.42 kB / 446.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3911, allocations: 19.44 kB / 446.8 MB, free: 15.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.3912, allocations: 144.1 kB / 446.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.3913, allocations: 39.53 kB / 447 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3914, allocations: 47.02 kB / 447 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3915, allocations: 7.938 kB / 447 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3915, allocations: 0 / 447 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3915, allocations: 7.984 kB / 447 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3927, allocations: 0.9813 MB / 448 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3927, allocations: 0 / 448 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3929, allocations: 31.98 kB / 448 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/0.3931, allocations: 66.88 kB / 448.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3931, allocations: 7.562 kB / 448.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3946, allocations: 1.683 MB / 449.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.3946, allocations: 4.031 kB / 449.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.3953, allocations: 0.5542 MB / 450.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3955, allocations: 147 kB / 450.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3956, allocations: 10.31 kB / 450.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.3958, allocations: 30.91 kB / 450.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3959, allocations: 42.52 kB / 450.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.396, allocations: 10.81 kB / 450.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3962, allocations: 239.5 kB / 450.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3962, allocations: 0 / 450.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.397, allocations: 211.3 kB / 451 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.3972, allocations: 130.5 kB / 451.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3983, allocations: 0.8383 MB / 452 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3983, allocations: 0 / 452 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3987, allocations: 285.4 kB / 452.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.399, allocations: 69.73 kB / 452.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4001, allocations: 0.5839 MB / 452.9 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4005, allocations: 0.8356 MB / 453.8 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.4008, allocations: 55.25 kB / 453.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.4008, allocations: 27.44 kB / 453.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4008, allocations: 0 / 453.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of Templates: time 0.01095/0.4118, allocations: 6.292 MB / 460.1 MB, free: 2.543 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1)