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 1.812/1.812, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08603, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004783/0.09086, allocations: 2.966 MB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.09278, allocations: 0.9127 MB / 313 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.093, allocations: 7.938 kB / 313 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.0932, allocations: 55.59 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.09359, allocations: 139.6 kB / 313.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.09415, allocations: 135.7 kB / 313.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.09477, allocations: 375.1 kB / 313.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.09515, allocations: 165.4 kB / 313.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.0954, allocations: 167.3 kB / 314 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.09572, allocations: 183.1 kB / 314.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.09581, allocations: 24 kB / 314.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.09591, allocations: 20 kB / 314.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.09604, allocations: 79.66 kB / 314.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.09619, allocations: 113.5 kB / 314.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.09679, allocations: 451 kB / 314.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.09681, allocations: 4 kB / 314.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09682, allocations: 3.938 kB / 314.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.09683, allocations: 0 / 314.8 MB, free: 10.55 MB / 266.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.001766/0.09861, allocations: 0.7336 MB / 315.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.09866, allocations: 8.031 kB / 315.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.09881, allocations: 59.33 kB / 315.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.0995, allocations: 355.2 kB / 316 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.09962, allocations: 44.98 kB / 316 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.09974, allocations: 40 kB / 316.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1009, allocations: 456.6 kB / 316.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1009, allocations: 7.891 kB / 316.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.101, allocations: 16 kB / 316.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.101, allocations: 12 kB / 316.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1021, allocations: 319.8 kB / 316.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.1055, allocations: 1.659 MB / 318.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1066, allocations: 319.6 kB / 318.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.1067, allocations: 8.219 kB / 318.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006981/0.1074, allocations: 249.1 kB / 319.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 3.347e-06/0.1074, allocations: 0 / 319.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.002369/0.1098, allocations: 0.6425 MB / 319.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.1099, allocations: 110.8 kB / 319.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.1104, allocations: 337.7 kB / 320.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.1104, allocations: 33.7 kB / 320.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1106, allocations: 224.3 kB / 320.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1108, allocations: 106.5 kB / 320.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1108, allocations: 4 kB / 320.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.111, allocations: 354.8 kB / 320.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.1114, allocations: 116.8 kB / 321 MB, free: 4.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.1119, allocations: 247.7 kB / 321.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.1124, allocations: 174.6 kB / 321.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.1125, allocations: 7.953 kB / 321.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001332/0.1138, allocations: 492.1 kB / 321.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.114, allocations: 224.1 kB / 322.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.114, allocations: 4 kB / 322.1 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.1144, allocations: 72.81 kB / 322.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.1149, allocations: 71.84 kB / 322.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.1172, allocations: 1.714 MB / 324 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.1177, allocations: 51.67 kB / 324 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.1177, allocations: 24.22 kB / 324 MB, free: 0.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.1178, allocations: 4 kB / 324 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/0.1188, allocations: 414.1 kB / 324.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1189, allocations: 8.469 kB / 324.5 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.1192, allocations: 76.81 kB / 324.5 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1196, allocations: 67.84 kB / 324.6 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.1219, allocations: 1.714 MB / 326.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1223, allocations: 47.58 kB / 326.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1224, allocations: 20 kB / 326.4 MB, free: 14.27 MB / 282.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.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,$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 (45): * Single equations (assignments): 43 * 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.0003376/0.1227, allocations: 259.2 kB / 326.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.1228, allocations: 39.53 kB / 326.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1229, allocations: 44.06 kB / 326.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1229, allocations: 0 / 326.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.123, allocations: 4 kB / 326.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.1232, allocations: 148.5 kB / 326.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.1233, allocations: 8 kB / 326.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1237, allocations: 35.98 kB / 326.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1238, allocations: 27.95 kB / 326.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/0.1256, allocations: 0.4905 MB / 327.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001566/0.1272, allocations: 0.6508 MB / 328.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004277/0.1276, allocations: 131.9 kB / 328.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.128, allocations: 235.2 kB / 328.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Backend: time 7.12e-07/0.128, allocations: 4 kB / 328.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.1301, allocations: 0.8548 MB / 329.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 0.002297/0.1324, allocations: 1.436 MB / 330.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of Templates: time 0.02009/0.1525, allocations: 6.174 MB / 336.9 MB, free: 3.613 MB / 282.7 MB "" Variables in the reference:time,inductor.i,meanCurrent.x,meanVoltage.x,meanCurrent.y,meanVoltage.y,chopperStepDown.vDC1,chopperStepDown.iDC1,chopperStepDown.vDC2,chopperStepDown.iDC2 Variables in the result:L,R,chopperStepDown.GoffDiode,chopperStepDown.GoffTransistor,chopperStepDown.RonDiode,chopperStepDown.RonTransistor,chopperStepDown.T,chopperStepDown.VkneeDiode,chopperStepDown.VkneeTransistor,chopperStepDown.andCondition_p.u2,chopperStepDown.constantEnable,chopperStepDown.dc_p1.v,chopperStepDown.diode.Goff,chopperStepDown.diode.Ron,chopperStepDown.diode.T,chopperStepDown.diode.T_heatPort,chopperStepDown.diode.Vknee,chopperStepDown.enableLogic.booleanReplicator.nout,chopperStepDown.enableLogic.booleanReplicator.u,chopperStepDown.enableLogic.booleanReplicator.y[1],chopperStepDown.enableLogic.constantEnable,chopperStepDown.enableLogic.enableConstantSource.k,chopperStepDown.enableLogic.enableConstantSource.y,chopperStepDown.enableLogic.internalEnable[1],chopperStepDown.enableLogic.m,chopperStepDown.enableLogic.useConstantEnable,chopperStepDown.iDC1,chopperStepDown.iDC2,chopperStepDown.m,chopperStepDown.transistor.Goff,chopperStepDown.transistor.Ron,chopperStepDown.transistor.T,chopperStepDown.transistor.T_heatPort,chopperStepDown.transistor.Vknee,chopperStepDown.transistor.p.v,chopperStepDown.useConstantEnable,chopperStepDown.vDC1,chopperStepDown.vDC2,constantVoltage.V,constantVoltage.p.v,constantVoltage.v,f,inductor.L,inductor.i,meanCurrent.f,meanCurrent.t0,meanCurrent.x,meanCurrent.x0,meanCurrent.y,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.x,meanVoltage.x0,meanVoltage.y,meanVoltage.yGreaterOrEqualZero,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,signalPWM.const.k,signalPWM.const.y,signalPWM.constantDutyCycle,signalPWM.f,signalPWM.limiter.limitsAtInit,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,time