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.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 2.447/2.447, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5508, allocations: 78.66 MB / 387.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5512, allocations: 91.91 kB / 387.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09717/0.6484, allocations: 20.96 MB / 408.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.6485, allocations: 0 / 408.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.6487, allocations: 35.28 kB / 408.8 MB, free: 10.29 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007205/0.6559, allocations: 1.53 MB / 410.3 MB, free: 9.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.656, allocations: 11.56 kB / 410.3 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.657, allocations: 155.7 kB / 410.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.6612, allocations: 0.9554 MB / 411.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.6614, allocations: 84.22 kB / 411.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.662, allocations: 102.5 kB / 411.6 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/0.6673, allocations: 1.524 MB / 413.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.6675, allocations: 4 kB / 413.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.6677, allocations: 49.42 kB / 413.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/0.6678, allocations: 40.94 kB / 413.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005031/0.6729, allocations: 1.378 MB / 414.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.6856, allocations: 4.982 MB / 419.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.6881, allocations: 1.455 MB / 421.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.948e-05/0.6882, allocations: 4.406 kB / 421.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.6897, allocations: 0.6152 MB / 421.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.316e-06/0.6897, allocations: 0 / 421.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.01602/0.7057, allocations: 2.466 MB / 424.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.7058, allocations: 89.48 kB / 424.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.7078, allocations: 0.9268 MB / 425.2 MB, free: 3.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.708, allocations: 42.22 kB / 425.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.7086, allocations: 0.5149 MB / 425.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.7089, allocations: 233.5 kB / 425.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.709, allocations: 16.5 kB / 426 MB, free: 2.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.7091, allocations: 333.2 kB / 426.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.7103, allocations: 422.2 kB / 426.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.7115, allocations: 0.5498 MB / 427.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.7127, allocations: 448.3 kB / 427.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.7128, allocations: 3.875 kB / 427.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00331/0.7161, allocations: 1.292 MB / 429 MB, free: 1.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7161, allocations: 7.75 kB / 429 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7162, allocations: 7.859 kB / 429 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.7176, allocations: 400.6 kB / 429.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.7184, allocations: 108.6 kB / 429.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/0.7265, allocations: 4.254 MB / 433.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7275, allocations: 90.14 kB / 433.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.7276, allocations: 23.53 kB / 433.9 MB, free: 14.93 MB / 330.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.00113/0.7288, allocations: 494 kB / 434.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.729, allocations: 97.08 kB / 434.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.7293, allocations: 119.7 kB / 434.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7293, allocations: 7.781 kB / 434.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7293, allocations: 3.953 kB / 434.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7293, allocations: 3.984 kB / 434.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/0.7354, allocations: 2.584 MB / 437.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7355, allocations: 3.938 kB / 437.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.7362, allocations: 89.84 kB / 437.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.7376, allocations: 382.7 kB / 437.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.7377, allocations: 19.8 kB / 437.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00894/0.7467, allocations: 4.225 MB / 441.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7467, allocations: 0 / 441.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.752, allocations: 1.974 MB / 443.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.7529, allocations: 283.8 kB / 444.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.7531, allocations: 12 kB / 444.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/0.754, allocations: 47.95 kB / 444.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.7543, allocations: 80.53 kB / 444.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.7544, allocations: 19.98 kB / 444.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001464/0.7559, allocations: 0.6629 MB / 444.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7559, allocations: 0 / 444.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001511/0.7574, allocations: 358.8 kB / 445.3 MB, free: 5.215 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.7577, allocations: 123.2 kB / 445.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.7614, allocations: 1.299 MB / 446.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.7615, allocations: 0 / 446.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.7636, allocations: 0.8072 MB / 447.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7652, allocations: 241.5 kB / 447.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.7802, allocations: 3.056 MB / 450.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.7827, allocations: 1.403 MB / 452.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009504/0.7837, allocations: 179.2 kB / 452.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.784, allocations: 55.42 kB / 452.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.784, allocations: 0 / 452.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of Templates: time 0.04889/0.8329, allocations: 16.43 MB / 468.9 MB, free: 13.6 MB / 362.7 MB