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_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 171.1 MB / 186.3 MB, free: 1.34 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.337e-05, allocations: 6.188 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.0986, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005222/0.1039, allocations: 2.969 MB / 269.9 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1066, allocations: 0.8888 MB / 270.7 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.1069, allocations: 15.94 kB / 270.8 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1073, allocations: 111.3 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000834/0.1081, allocations: 215.3 kB / 271.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1084, allocations: 75.92 kB / 271.2 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1095, allocations: 0.5768 MB / 271.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.1103, allocations: 404.8 kB / 272.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.1109, allocations: 327.1 kB / 272.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.1118, allocations: 410.7 kB / 272.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.112, allocations: 44 kB / 272.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.1122, allocations: 47.94 kB / 272.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.1125, allocations: 255.1 kB / 273.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1129, allocations: 100 kB / 273.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.1147, allocations: 1.29 MB / 274.6 MB, free: 9.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1148, allocations: 4 kB / 274.6 MB, free: 9.398 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1148, allocations: 0 / 274.6 MB, free: 9.398 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.794e-05/0.1148, allocations: 0 / 274.6 MB, free: 9.398 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.003284/0.1181, allocations: 1.178 MB / 275.8 MB, free: 8.168 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1182, allocations: 8.031 kB / 275.8 MB, free: 8.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.1186, allocations: 122.5 kB / 275.9 MB, free: 8.039 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.1204, allocations: 0.6741 MB / 276.6 MB, free: 7.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.1205, allocations: 65.95 kB / 276.6 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.1207, allocations: 88 kB / 276.7 MB, free: 7.172 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.1243, allocations: 1.231 MB / 277.9 MB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.1244, allocations: 0 / 277.9 MB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.1245, allocations: 36 kB / 278 MB, free: 5.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.1245, allocations: 20 kB / 278 MB, free: 5.855 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.128, allocations: 1.116 MB / 279.1 MB, free: 4.742 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.1406, allocations: 3.814 MB / 282.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.1449, allocations: 1.995 MB / 284.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1451, allocations: 4.656 kB / 284.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.1452, allocations: 39.22 kB / 285 MB, free: 14.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 5.23e-06/0.1452, allocations: 0 / 285 MB, free: 14.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.015/0.1602, allocations: 3.361 MB / 288.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.1603, allocations: 60.06 kB / 288.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.1622, allocations: 0.632 MB / 289 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.1625, allocations: 41.7 kB / 289.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.163, allocations: 426.5 kB / 289.5 MB, free: 9.902 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.1634, allocations: 244.4 kB / 289.7 MB, free: 9.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.1635, allocations: 8 kB / 289.7 MB, free: 9.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1637, allocations: 338.8 kB / 290.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.1653, allocations: 365 kB / 290.4 MB, free: 8.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.1669, allocations: 421.5 kB / 290.8 MB, free: 8.539 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.1686, allocations: 395 kB / 291.2 MB, free: 8.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1686, allocations: 3.938 kB / 291.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004703/0.1733, allocations: 1.164 MB / 292.4 MB, free: 6.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.1734, allocations: 4 kB / 292.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1734, allocations: 4 kB / 292.4 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.176, allocations: 459 kB / 292.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.1772, allocations: 99.81 kB / 292.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2452/0.4224, allocations: 8.593 MB / 301.5 MB, free: 27.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.4233, allocations: 35.73 kB / 301.6 MB, free: 27.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4233, allocations: 25 kB / 301.6 MB, free: 27.36 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.0008331/0.4242, allocations: 398.4 kB / 302 MB, free: 27.24 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.4244, allocations: 82.95 kB / 302 MB, free: 27.24 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.4247, allocations: 107.2 kB / 302.2 MB, free: 27.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4247, allocations: 7.906 kB / 302.2 MB, free: 27.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4247, allocations: 1.609 kB / 302.2 MB, free: 27.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4247, allocations: 3.141 kB / 302.2 MB, free: 27.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.4316, allocations: 2.521 MB / 304.7 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4317, allocations: 0.9375 kB / 304.7 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.4325, allocations: 81.47 kB / 304.8 MB, free: 26.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.4342, allocations: 460.4 kB / 305.2 MB, free: 26.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.063e-05/0.4344, allocations: 19.55 kB / 305.2 MB, free: 26.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.4463, allocations: 8.519 MB / 313.8 MB, free: 19.58 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4464, allocations: 0 / 313.8 MB, free: 19.58 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.451, allocations: 1.892 MB / 315.6 MB, free: 18.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.4517, allocations: 239 kB / 315.9 MB, free: 18.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.4519, allocations: 16.56 kB / 315.9 MB, free: 18.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.4525, allocations: 38.77 kB / 315.9 MB, free: 18.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.4528, allocations: 76.8 kB / 316 MB, free: 18.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.4529, allocations: 17.16 kB / 316 MB, free: 18.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009402/0.4539, allocations: 0.511 MB / 316.5 MB, free: 18.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4539, allocations: 1.719 kB / 316.5 MB, free: 18.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00145/0.4553, allocations: 251.4 kB / 316.8 MB, free: 18.32 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.0002105/0.4556, allocations: 117.2 kB / 316.9 MB, free: 18.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.4589, allocations: 1.48 MB / 318.4 MB, free: 17.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.459, allocations: 5.156 kB / 318.4 MB, free: 17.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.4613, allocations: 1.099 MB / 319.5 MB, free: 16.39 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.4628, allocations: 206.7 kB / 319.7 MB, free: 16.29 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.468, allocations: 2.623 MB / 322.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/0.469, allocations: 1.243 MB / 323.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.4692, allocations: 46.72 kB / 323.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4692, allocations: 0 / 323.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of Templates: time 0.05093/0.5202, allocations: 29.73 MB / 353.3 MB, free: 232 kB / 266.7 MB