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.00138/0.00138, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.335/1.335, allocations: 194.3 MB / 203.1 MB, free: 9.309 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 114.8 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.592e-05, allocations: 0 / 298.1 MB, free: 8.211 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09139, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2751/0.3666, allocations: 77.27 MB / 419.9 MB, free: 18.5 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.3669, allocations: 89.19 kB / 419.9 MB, free: 18.46 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.3833, allocations: 6.859 MB / 426.8 MB, free: 12.82 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3833, allocations: 4 kB / 426.8 MB, free: 12.81 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.3834, allocations: 19.83 kB / 426.8 MB, free: 12.8 MB / 315.1 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.0009217/0.3843, allocations: 0.6851 MB / 427.5 MB, free: 12.09 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3844, allocations: 9.906 kB / 427.5 MB, free: 12.09 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.3844, allocations: 51.44 kB / 427.6 MB, free: 12.04 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.3849, allocations: 364.3 kB / 427.9 MB, free: 11.69 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3849, allocations: 12 kB / 427.9 MB, free: 11.68 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.385, allocations: 27.98 kB / 428 MB, free: 11.65 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004065/0.3854, allocations: 254.7 kB / 428.2 MB, free: 11.5 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.3859, allocations: 375.5 kB / 428.6 MB, free: 11.2 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3859, allocations: 0 / 428.6 MB, free: 11.2 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.386, allocations: 0 / 428.6 MB, free: 11.2 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.386, allocations: 19.94 kB / 428.6 MB, free: 11.18 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.3879, allocations: 1.58 MB / 430.2 MB, free: 9.797 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.3884, allocations: 261.4 kB / 430.4 MB, free: 9.633 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.3887, allocations: 148.4 kB / 430.6 MB, free: 9.535 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3887, allocations: 4 kB / 430.6 MB, free: 9.531 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.389, allocations: 214.2 kB / 430.8 MB, free: 9.348 MB / 315.1 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.389, allocations: 0 / 430.8 MB, free: 9.348 MB / 315.1 MB Notification: Performance of matching and sorting (n=36): time 0.0004806/0.3895, allocations: 304.1 kB / 431.1 MB, free: 9.109 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3896, allocations: 136.5 kB / 431.2 MB, free: 8.945 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3898, allocations: 252 kB / 431.5 MB, free: 8.746 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3898, allocations: 25.7 kB / 431.5 MB, free: 8.715 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3899, allocations: 234 kB / 431.7 MB, free: 8.527 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.39, allocations: 94.12 kB / 431.8 MB, free: 8.449 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.3901, allocations: 4 kB / 431.8 MB, free: 8.445 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.3901, allocations: 342.2 kB / 432.2 MB, free: 8.117 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3903, allocations: 95.06 kB / 432.2 MB, free: 8.059 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3905, allocations: 202.1 kB / 432.4 MB, free: 7.855 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3906, allocations: 110.3 kB / 432.6 MB, free: 7.781 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3906, allocations: 4 kB / 432.6 MB, free: 7.777 MB / 315.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000486/0.3911, allocations: 368.5 kB / 432.9 MB, free: 7.492 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003148/0.3915, allocations: 1.428 MB / 434.3 MB, free: 5.977 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3915, allocations: 7.828 kB / 434.4 MB, free: 5.973 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.3918, allocations: 70.19 kB / 434.4 MB, free: 5.918 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.392, allocations: 67.41 kB / 434.5 MB, free: 5.855 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.3934, allocations: 1.701 MB / 436.2 MB, free: 4.246 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.3938, allocations: 55.66 kB / 436.2 MB, free: 4.191 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.3938, allocations: 14.44 kB / 436.3 MB, free: 4.18 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.3938, allocations: 4 kB / 436.3 MB, free: 4.176 MB / 315.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004844/0.3943, allocations: 315.2 kB / 436.6 MB, free: 3.945 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3943, allocations: 5.562 kB / 436.6 MB, free: 3.941 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.3945, allocations: 83.34 kB / 436.7 MB, free: 3.879 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3947, allocations: 51.92 kB / 436.7 MB, free: 3.828 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3959, allocations: 1.698 MB / 438.4 MB, free: 2.227 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3962, allocations: 39.72 kB / 438.4 MB, free: 2.188 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3962, allocations: 15.19 kB / 438.5 MB, free: 2.176 MB / 315.1 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.0001294/0.3964, allocations: 135 kB / 438.6 MB, free: 2.043 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.3964, allocations: 31.62 kB / 438.6 MB, free: 2.012 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.3965, allocations: 36.2 kB / 438.7 MB, free: 1.984 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3965, allocations: 4 kB / 438.7 MB, free: 1.98 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3965, allocations: 0 / 438.7 MB, free: 1.98 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3965, allocations: 3.953 kB / 438.7 MB, free: 1.977 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.3975, allocations: 0.8841 MB / 439.5 MB, free: 1.234 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3975, allocations: 4 kB / 439.6 MB, free: 1.23 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3977, allocations: 39.41 kB / 439.6 MB, free: 1.195 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.3979, allocations: 67.25 kB / 439.7 MB, free: 1.145 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3979, allocations: 4 kB / 439.7 MB, free: 1.141 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.3992, allocations: 1.633 MB / 441.3 MB, free: 15.57 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3992, allocations: 3.938 kB / 441.3 MB, free: 15.57 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.3998, allocations: 0.5161 MB / 441.8 MB, free: 15.15 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4, allocations: 148.5 kB / 442 MB, free: 15 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.4001, allocations: 5.422 kB / 442 MB, free: 15 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4004, allocations: 28.05 kB / 442 MB, free: 14.97 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.4005, allocations: 39 kB / 442 MB, free: 14.94 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.4005, allocations: 12.56 kB / 442 MB, free: 14.93 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4007, allocations: 187.7 kB / 442.2 MB, free: 14.78 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4007, allocations: 0 / 442.2 MB, free: 14.78 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0007569/0.4015, allocations: 195.4 kB / 442.4 MB, free: 14.59 MB / 331.1 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.0001614/0.4016, allocations: 115.4 kB / 442.5 MB, free: 14.47 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4027, allocations: 0.7867 MB / 443.3 MB, free: 13.8 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4027, allocations: 384 / 443.3 MB, free: 13.8 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.403, allocations: 265.8 kB / 443.6 MB, free: 13.58 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.4034, allocations: 45.34 kB / 443.6 MB, free: 13.55 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4045, allocations: 0.5698 MB / 444.2 MB, free: 13 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4049, allocations: 0.8315 MB / 445 MB, free: 12.14 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.4051, allocations: 55.23 kB / 445.1 MB, free: 12.09 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.4052, allocations: 23.44 kB / 445.1 MB, free: 12.06 MB / 331.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4052, allocations: 0 / 445.1 MB, free: 12.06 MB / 331.1 MB Notification: Performance of Templates: time 0.009913/0.4151, allocations: 5.482 MB / 450.6 MB, free: 6.66 MB / 331.1 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)