Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.514e-05, allocations: 10.19 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08299, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.00497/0.08801, allocations: 2.982 MB / 269.9 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.09032, allocations: 0.8811 MB / 270.8 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.09064, allocations: 19.94 kB / 270.8 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.09098, allocations: 111.3 kB / 270.9 MB, free: 12.46 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007846/0.09178, allocations: 211.3 kB / 271.1 MB, free: 12.26 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.09209, allocations: 83.91 kB / 271.2 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.09319, allocations: 0.569 MB / 271.8 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.09399, allocations: 400.8 kB / 272.1 MB, free: 11.21 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.09462, allocations: 331.1 kB / 272.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008253/0.09546, allocations: 422.6 kB / 272.9 MB, free: 10.47 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.09568, allocations: 44 kB / 272.9 MB, free: 10.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.09583, allocations: 40 kB / 273 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.0962, allocations: 255.2 kB / 273.2 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.09655, allocations: 100 kB / 273.3 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.09839, allocations: 1.286 MB / 274.6 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09841, allocations: 0 / 274.6 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.09843, allocations: 0 / 274.6 MB, free: 8.754 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.09847, allocations: 4 kB / 274.6 MB, free: 8.75 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003177/0.1017, allocations: 1.174 MB / 275.8 MB, free: 7.523 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1017, allocations: 12.03 kB / 275.8 MB, free: 7.512 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.1021, allocations: 122.5 kB / 275.9 MB, free: 7.391 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.1037, allocations: 0.6741 MB / 276.6 MB, free: 6.672 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.1039, allocations: 69.95 kB / 276.6 MB, free: 6.605 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.1041, allocations: 87.98 kB / 276.7 MB, free: 6.52 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.1074, allocations: 1.227 MB / 278 MB, free: 5.262 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.1075, allocations: 0 / 278 MB, free: 5.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1076, allocations: 39.94 kB / 278 MB, free: 5.223 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.1077, allocations: 24 kB / 278 MB, free: 5.199 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.1111, allocations: 1.116 MB / 279.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009788/0.1209, allocations: 3.814 MB / 283 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.124, allocations: 1.987 MB / 284.9 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.1241, allocations: 8.656 kB / 284.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1242, allocations: 39.22 kB / 285 MB, free: 13.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 3.156e-06/0.1242, allocations: 0 / 285 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.01112/0.1353, allocations: 3.357 MB / 288.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1354, allocations: 64 kB / 288.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.1373, allocations: 0.6321 MB / 289 MB, free: 9.723 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.1376, allocations: 37.69 kB / 289.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006451/0.1383, allocations: 404.1 kB / 289.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/0.1388, allocations: 244.5 kB / 289.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1389, allocations: 12 kB / 289.7 MB, free: 9.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003477/0.1393, allocations: 386.8 kB / 290.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.1411, allocations: 361 kB / 290.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.1429, allocations: 425.4 kB / 290.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.1447, allocations: 399 kB / 291.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.1448, allocations: 0 / 291.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004888/0.1497, allocations: 1.206 MB / 292.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.1498, allocations: 4 kB / 292.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1498, allocations: 4 kB / 292.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.1517, allocations: 458.9 kB / 292.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.1525, allocations: 95.88 kB / 293 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2195/0.3721, allocations: 8.594 MB / 301.6 MB, free: 27.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.3729, allocations: 43.23 kB / 301.6 MB, free: 27.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.373, allocations: 20.94 kB / 301.7 MB, free: 27.31 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007531/0.3738, allocations: 404.1 kB / 302.1 MB, free: 27.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.374, allocations: 77.12 kB / 302.1 MB, free: 27.2 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.3743, allocations: 105.3 kB / 302.2 MB, free: 27.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3743, allocations: 8.719 kB / 302.3 MB, free: 27.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3743, allocations: 2.219 kB / 302.3 MB, free: 27.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3743, allocations: 5.25 kB / 302.3 MB, free: 27.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006855/0.3812, allocations: 2.515 MB / 304.8 MB, free: 26.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.3812, allocations: 1.906 kB / 304.8 MB, free: 26.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.382, allocations: 84.48 kB / 304.9 MB, free: 26.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.3838, allocations: 465.2 kB / 305.3 MB, free: 26.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.3839, allocations: 15.19 kB / 305.3 MB, free: 26.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.3957, allocations: 8.518 MB / 313.8 MB, free: 19.39 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3957, allocations: 4.812 kB / 313.8 MB, free: 19.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/0.4004, allocations: 1.892 MB / 315.7 MB, free: 18.6 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.4011, allocations: 237.3 kB / 316 MB, free: 18.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.4013, allocations: 20.55 kB / 316 MB, free: 18.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006896/0.4021, allocations: 39.86 kB / 316 MB, free: 18.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.4024, allocations: 72.72 kB / 316.1 MB, free: 18.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.4025, allocations: 20.91 kB / 316.1 MB, free: 18.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009799/0.4034, allocations: 0.505 MB / 316.6 MB, free: 18.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4035, allocations: 3.938 kB / 316.6 MB, free: 18.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001658/0.4051, allocations: 251.4 kB / 316.9 MB, free: 18.08 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002294/0.4054, allocations: 126.1 kB / 317 MB, free: 17.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.4087, allocations: 1.481 MB / 318.5 MB, free: 16.97 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4088, allocations: 3.938 kB / 318.5 MB, free: 16.96 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.4111, allocations: 1.096 MB / 319.6 MB, free: 16.15 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.4127, allocations: 209.2 kB / 319.8 MB, free: 16.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.4181, allocations: 2.61 MB / 322.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.4191, allocations: 1.264 MB / 323.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0006033/0.4197, allocations: 127.5 kB / 323.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.4199, allocations: 44.88 kB / 323.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of SimCode: time 2.355e-06/0.4199, allocations: 0 / 323.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of Templates: time 0.03632/0.4562, allocations: 14.92 MB / 338.8 MB, free: 14.55 MB / 266.7 MB