Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003417, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09477, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5149, allocations: 78.02 MB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005419/0.5155, allocations: 92.41 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02746/0.543, allocations: 6.954 MB / 394.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5431, allocations: 0 / 394.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.5431, allocations: 11.66 kB / 394.1 MB, free: 14.53 MB / 314.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.001715/0.5449, allocations: 0.7343 MB / 394.9 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5449, allocations: 7.5 kB / 394.9 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.5451, allocations: 53.89 kB / 394.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.5457, allocations: 360.1 kB / 395.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.5457, allocations: 34.88 kB / 395.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5459, allocations: 44.69 kB / 395.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.547, allocations: 458.3 kB / 395.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.547, allocations: 0 / 395.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.5471, allocations: 20.88 kB / 395.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5471, allocations: 11.38 kB / 395.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.5481, allocations: 323.5 kB / 396.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.5514, allocations: 1.684 MB / 397.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.5525, allocations: 321.7 kB / 398.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.5526, allocations: 11 kB / 398.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/0.5533, allocations: 262.7 kB / 398.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/0.5533, allocations: 0 / 398.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.002252/0.5556, allocations: 0.6155 MB / 399 MB, free: 12.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.5557, allocations: 121.5 kB / 399.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.5562, allocations: 335.6 kB / 399.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.5563, allocations: 39.44 kB / 399.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.5564, allocations: 218.9 kB / 399.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5566, allocations: 110.9 kB / 399.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.5566, allocations: 7.188 kB / 399.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.5567, allocations: 347.3 kB / 400.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.5572, allocations: 127.6 kB / 400.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.5577, allocations: 248.2 kB / 400.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.5582, allocations: 169.7 kB / 400.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5582, allocations: 0 / 400.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001312/0.5595, allocations: 496.3 kB / 401.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.5597, allocations: 218.4 kB / 401.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5597, allocations: 3.812 kB / 401.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.5601, allocations: 79.81 kB / 401.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.5606, allocations: 67.92 kB / 401.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.5628, allocations: 1.702 MB / 403.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.5635, allocations: 62.95 kB / 403.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.5636, allocations: 17.53 kB / 403.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5636, allocations: 5.406 kB / 403.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/0.5646, allocations: 416 kB / 403.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5647, allocations: 6.219 kB / 403.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.565, allocations: 75.45 kB / 403.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.5654, allocations: 58.45 kB / 403.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.5674, allocations: 1.716 MB / 405.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.5679, allocations: 48.78 kB / 405.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.568, allocations: 15.59 kB / 405.7 MB, free: 8.289 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003974/0.5684, allocations: 258 kB / 405.9 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.5685, allocations: 39.03 kB / 406 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.5686, allocations: 49.3 kB / 406 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5686, allocations: 3.938 kB / 406 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5686, allocations: 0 / 406 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.5686, allocations: 0 / 406 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.5706, allocations: 0.9401 MB / 407 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5706, allocations: 0 / 407 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.571, allocations: 44.23 kB / 407 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.5713, allocations: 70.84 kB / 407.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.5714, allocations: 5.859 kB / 407.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5733, allocations: 1.705 MB / 408.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.5734, allocations: 7.188 kB / 408.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.5751, allocations: 0.6427 MB / 409.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.5753, allocations: 145.3 kB / 409.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.5754, allocations: 11.12 kB / 409.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.5759, allocations: 32.62 kB / 409.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.576, allocations: 50.36 kB / 409.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.5761, allocations: 14.36 kB / 409.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003303/0.5764, allocations: 234.4 kB / 409.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5764, allocations: 0 / 409.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00114/0.5776, allocations: 205.9 kB / 410.1 MB, free: 5.918 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * 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.0001932/0.5778, allocations: 129.9 kB / 410.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.5797, allocations: 0.9048 MB / 411.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5798, allocations: 0 / 411.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.5805, allocations: 319.6 kB / 411.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.5811, allocations: 54.81 kB / 411.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.5835, allocations: 1.027 MB / 412.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.5839, allocations: 0.8315 MB / 413.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.5842, allocations: 46.75 kB / 413.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5843, allocations: 30.25 kB / 413.4 MB, free: 3.828 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5843, allocations: 0 / 413.4 MB, free: 3.828 MB / 314.7 MB Notification: Performance of Templates: time 0.01726/0.6016, allocations: 5.88 MB / 419.3 MB, free: 0.9414 MB / 314.7 MB