Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.812e-05, allocations: 4 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 50.42 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4956, allocations: 85.73 MB / 428.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4959, allocations: 87.44 kB / 428.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07695/0.5729, allocations: 20.8 MB / 449.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.982e-06/0.573, allocations: 0 / 449.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.919e-05/0.5731, allocations: 31.94 kB / 449.2 MB, free: 6.914 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002948/0.576, allocations: 1.301 MB / 450.5 MB, free: 5.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5761, allocations: 12.03 kB / 450.5 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.5765, allocations: 134.4 kB / 450.7 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005699/0.5822, allocations: 1.672 MB / 452.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.5823, allocations: 75 kB / 452.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.5825, allocations: 102.3 kB / 452.5 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.5854, allocations: 1.373 MB / 453.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.5855, allocations: 3.984 kB / 453.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.5857, allocations: 44.06 kB / 453.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.818e-05/0.5857, allocations: 38 kB / 454 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.5884, allocations: 1.16 MB / 455.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008934/0.5973, allocations: 4.363 MB / 459.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.6, allocations: 1.928 MB / 461.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.6015, allocations: 0.724 MB / 462.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.6016, allocations: 8.781 kB / 462.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.6028, allocations: 0.5708 MB / 462.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 4.116e-06/0.6028, allocations: 4 kB / 462.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.002849/0.6056, allocations: 1.226 MB / 464 MB, free: 8.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.6058, allocations: 115.6 kB / 464.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6072, allocations: 0.7302 MB / 464.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.6073, allocations: 41.7 kB / 464.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.6079, allocations: 487.8 kB / 465.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.6082, allocations: 240.6 kB / 465.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.6082, allocations: 12 kB / 465.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.6085, allocations: 398.8 kB / 466 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.6093, allocations: 373.4 kB / 466.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.6106, allocations: 0.5137 MB / 466.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.6115, allocations: 415 kB / 467.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6115, allocations: 0 / 467.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002721/0.6142, allocations: 1.24 MB / 468.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6143, allocations: 8 kB / 468.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6143, allocations: 4 kB / 468.5 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.6158, allocations: 468.8 kB / 468.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.6163, allocations: 95.83 kB / 469 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.6258, allocations: 5.088 MB / 474.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.6267, allocations: 91.39 kB / 474.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.6268, allocations: 27.98 kB / 474.2 MB, free: 14.19 MB / 394.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.627, allocations: 150.6 kB / 474.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6272, allocations: 86.97 kB / 474.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.6276, allocations: 116.5 kB / 474.6 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6276, allocations: 8 kB / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-06/0.6276, allocations: 0 / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.6276, allocations: 7.984 kB / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.6331, allocations: 2.584 MB / 477.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.843e-06/0.6332, allocations: 0 / 477.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.6336, allocations: 67.89 kB / 477.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.635, allocations: 448.7 kB / 477.7 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.6351, allocations: 16 kB / 477.7 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.6443, allocations: 5.067 MB / 482.8 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.271e-06/0.6444, allocations: 0 / 482.8 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.6481, allocations: 1.854 MB / 484.6 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.6488, allocations: 279.9 kB / 484.9 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.649, allocations: 12 kB / 484.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.6496, allocations: 43.95 kB / 485 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.6498, allocations: 84.66 kB / 485 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.6499, allocations: 16 kB / 485.1 MB, free: 3.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.6511, allocations: 0.585 MB / 485.6 MB, free: 2.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.6511, allocations: 0 / 485.6 MB, free: 2.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001331/0.6524, allocations: 347 kB / 486 MB, free: 2.195 MB / 394.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002802/0.6527, allocations: 138.9 kB / 486.1 MB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.6554, allocations: 1.202 MB / 487.3 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.378e-06/0.6554, allocations: 4.312 kB / 487.3 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.6571, allocations: 0.7663 MB / 488.1 MB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6586, allocations: 250.9 kB / 488.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.6632, allocations: 1.794 MB / 490.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.6647, allocations: 1.349 MB / 491.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006276/0.6653, allocations: 135.2 kB / 491.6 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.6656, allocations: 55.42 kB / 491.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.995e-06/0.6656, allocations: 4 kB / 491.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of Templates: time 0.05397/0.7196, allocations: 17.65 MB / 0.4974 GB, free: 11.03 MB / 426.7 MB