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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepDown_ChopperStepDown_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.225/2.225, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3054, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.452, allocations: 78.03 MB / 386.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/0.4524, allocations: 91.88 kB / 386.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0313/0.4837, allocations: 6.933 MB / 393.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4838, allocations: 0 / 393.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.31e-05/0.4839, allocations: 19.98 kB / 393.7 MB, free: 7.562 MB / 330.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.002327/0.4862, allocations: 0.7354 MB / 394.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.4863, allocations: 8.031 kB / 394.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.4865, allocations: 74.53 kB / 394.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4867, allocations: 67.28 kB / 394.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.4875, allocations: 355.1 kB / 394.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.4876, allocations: 33 kB / 394.9 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4878, allocations: 47.92 kB / 395 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.4892, allocations: 464.6 kB / 395.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4892, allocations: 0 / 395.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.4893, allocations: 19.98 kB / 395.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4893, allocations: 8 kB / 395.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4905, allocations: 327.7 kB / 395.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.4949, allocations: 1.678 MB / 397.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4961, allocations: 302.8 kB / 397.7 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.4961, allocations: 4 kB / 397.7 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006825/0.4968, allocations: 244.7 kB / 398 MB, free: 2.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.726e-06/0.4968, allocations: 0 / 398 MB, free: 2.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002267/0.4991, allocations: 0.569 MB / 398.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.4992, allocations: 106.8 kB / 398.7 MB, free: 2.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.4999, allocations: 328.8 kB / 399 MB, free: 1.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.5, allocations: 37.7 kB / 399 MB, free: 1.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.5002, allocations: 220.4 kB / 399.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5004, allocations: 106.6 kB / 399.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.5004, allocations: 8 kB / 399.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.5007, allocations: 350.8 kB / 399.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.5012, allocations: 124.8 kB / 399.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.5018, allocations: 242.8 kB / 400 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.5024, allocations: 175.9 kB / 400.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5024, allocations: 0 / 400.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001498/0.5039, allocations: 498.5 kB / 400.7 MB, free: 104 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006919/0.5046, allocations: 1.333 MB / 402 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.5046, allocations: 4 kB / 402 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.5052, allocations: 72.81 kB / 402.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.5058, allocations: 71.84 kB / 402.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.5084, allocations: 1.71 MB / 403.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.5092, allocations: 71.62 kB / 404 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.5093, allocations: 23.98 kB / 404 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5093, allocations: 6.031 kB / 404 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.5105, allocations: 414.5 kB / 404.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5106, allocations: 4 kB / 404.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.5109, allocations: 68.83 kB / 404.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5113, allocations: 64.34 kB / 404.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.5138, allocations: 1.726 MB / 406.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.5144, allocations: 51.72 kB / 406.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5145, allocations: 20 kB / 406.3 MB, free: 10.09 MB / 346.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.0004365/0.5149, allocations: 255.3 kB / 406.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.5151, allocations: 39.52 kB / 406.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.5152, allocations: 40.06 kB / 406.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5152, allocations: 4 kB / 406.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5152, allocations: 7.953 kB / 406.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5152, allocations: 0 / 406.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.5173, allocations: 0.8853 MB / 407.5 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5173, allocations: 0 / 407.5 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.5177, allocations: 39.92 kB / 407.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.5181, allocations: 68.78 kB / 407.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.5181, allocations: 11.95 kB / 407.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.5206, allocations: 1.698 MB / 409.4 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5206, allocations: 0 / 409.4 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5223, allocations: 0.5913 MB / 410 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.5226, allocations: 148.6 kB / 410.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.5227, allocations: 7.984 kB / 410.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5232, allocations: 31.98 kB / 410.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5234, allocations: 43.88 kB / 410.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.5234, allocations: 12 kB / 410.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005185/0.524, allocations: 255.2 kB / 410.4 MB, free: 5.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.524, allocations: 0 / 410.4 MB, free: 5.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001195/0.5252, allocations: 207.5 kB / 410.6 MB, free: 5.523 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.002129/0.5273, allocations: 1.147 MB / 411.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.5297, allocations: 0.8812 MB / 412.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5297, allocations: 0 / 412.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.5304, allocations: 291.2 kB / 413 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.531, allocations: 65.27 kB / 413 MB, free: 3.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2792/0.8102, allocations: 3.475 MB / 416.5 MB, free: 94.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.8111, allocations: 0.8292 MB / 417.3 MB, free: 93.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.8117, allocations: 43.58 kB / 417.4 MB, free: 93.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.8123, allocations: 139.3 kB / 417.5 MB, free: 93.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8123, allocations: 0.5938 kB / 417.5 MB, free: 93.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.8551, allocations: 9.249 MB / 426.8 MB, free: 92.26 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.8554, allocations: 251 kB / 427 MB, free: 91.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.804, allocations: 3.906 kB / 427 MB, free: 91.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat does not exist to compare? outputFormat=mat