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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.221e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08527, allocations: 47.58 MB / 317 MB, free: 6.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.427, allocations: 84.52 MB / 401.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4274, allocations: 86.77 kB / 401.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07726/0.5046, allocations: 20.4 MB / 422 MB, free: 2.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.518e-06/0.5047, allocations: 8 kB / 422 MB, free: 2.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.5048, allocations: 31.92 kB / 422 MB, free: 2.332 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002927/0.5077, allocations: 1.282 MB / 423.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5078, allocations: 8.031 kB / 423.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.5082, allocations: 138.4 kB / 423.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/0.5136, allocations: 1.671 MB / 425.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.5137, allocations: 71.69 kB / 425.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.514, allocations: 95.69 kB / 425.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.5169, allocations: 1.379 MB / 426.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.5169, allocations: 0 / 426.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.5171, allocations: 52.72 kB / 426.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.5172, allocations: 38 kB / 426.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.5197, allocations: 1.17 MB / 427.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008321/0.528, allocations: 4.328 MB / 432.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.5306, allocations: 1.929 MB / 434.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.5321, allocations: 0.7294 MB / 434.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.248e-05/0.5322, allocations: 12.73 kB / 434.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.5334, allocations: 0.5697 MB / 435.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 4.501e-06/0.5334, allocations: 0 / 435.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.002796/0.5362, allocations: 1.227 MB / 436.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.5363, allocations: 111.6 kB / 436.8 MB, free: 6.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5377, allocations: 0.7237 MB / 437.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.5378, allocations: 40.77 kB / 437.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/0.5384, allocations: 494.5 kB / 438 MB, free: 5.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.5387, allocations: 237.6 kB / 438.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.5388, allocations: 13.31 kB / 438.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002868/0.5391, allocations: 399.3 kB / 438.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.5399, allocations: 373.4 kB / 439 MB, free: 4.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/0.5409, allocations: 0.5098 MB / 439.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.5417, allocations: 419 kB / 440 MB, free: 3.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.254e-06/0.5418, allocations: 4 kB / 440 MB, free: 3.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002825/0.5446, allocations: 1.233 MB / 441.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.5447, allocations: 11.95 kB / 441.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5447, allocations: 4 kB / 441.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.5462, allocations: 472.7 kB / 441.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.5467, allocations: 83.89 kB / 441.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00956/0.5563, allocations: 5.102 MB / 446.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.5572, allocations: 95.34 kB / 447 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.5573, allocations: 27.94 kB / 447 MB, free: 12.7 MB / 362.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 () * 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.0002692/0.5576, allocations: 150.9 kB / 447.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5578, allocations: 90.95 kB / 447.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.5581, allocations: 112.6 kB / 447.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5581, allocations: 8 kB / 447.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-06/0.5582, allocations: 3.938 kB / 447.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5582, allocations: 3.984 kB / 447.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/0.5638, allocations: 2.588 MB / 449.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.158e-06/0.5639, allocations: 4 kB / 449.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.5643, allocations: 63.91 kB / 450 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.5658, allocations: 460.7 kB / 450.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.5659, allocations: 12 kB / 450.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009336/0.5752, allocations: 5.048 MB / 455.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.299e-06/0.5753, allocations: 0 / 455.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.5791, allocations: 1.857 MB / 457.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.5798, allocations: 287.8 kB / 457.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.58, allocations: 12 kB / 457.7 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.5806, allocations: 43.95 kB / 457.7 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.5808, allocations: 76.66 kB / 457.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.5809, allocations: 16 kB / 457.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.5821, allocations: 0.581 MB / 458.4 MB, free: 1.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.5821, allocations: 4 kB / 458.4 MB, free: 1.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001314/0.5834, allocations: 351 kB / 458.7 MB, free: 0.7031 MB / 362.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) * 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.0002625/0.5837, allocations: 127.2 kB / 458.8 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.5863, allocations: 1.197 MB / 460 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.791e-06/0.5864, allocations: 4 kB / 460 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.588, allocations: 0.7671 MB / 460.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.5893, allocations: 251 kB / 461.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.5938, allocations: 1.79 MB / 462.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.5953, allocations: 1.341 MB / 464.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006297/0.5959, allocations: 147.2 kB / 464.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5961, allocations: 47.44 kB / 464.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.732e-06/0.5962, allocations: 0 / 464.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.0433/0.6395, allocations: 17.63 MB / 482 MB, free: 9.387 MB / 394.7 MB