Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.934e-05/4.959e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.525, allocations: 120.7 MB / 420.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5253, allocations: 88.69 kB / 420.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2081/0.7334, allocations: 55.01 MB / 475.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7334, allocations: 4 kB / 475.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002458/0.7337, allocations: 71.92 kB / 475.8 MB, free: 12.12 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.007216/0.7409, allocations: 2.546 MB / 478.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.741, allocations: 8.031 kB / 478.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.7434, allocations: 432.3 kB / 478.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/0.7488, allocations: 1.706 MB / 480.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.7491, allocations: 176.7 kB / 480.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008583/0.7499, allocations: 251.9 kB / 480.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/0.7577, allocations: 2.899 MB / 483.8 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-05/0.7579, allocations: 7.906 kB / 483.8 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.7582, allocations: 104 kB / 483.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.7584, allocations: 96.55 kB / 484 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006153/0.7645, allocations: 2.317 MB / 486.3 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/0.7874, allocations: 10.08 MB / 496.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00468/0.7921, allocations: 2.7 MB / 499.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.7943, allocations: 1.109 MB / 0.4884 GB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.7948, allocations: 138.3 kB / 0.4886 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.7948, allocations: 47.88 kB / 0.4886 GB, free: 2.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 5.756e-06/0.7948, allocations: 4 kB / 0.4886 GB, free: 2.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=174): time 0.022/0.8169, allocations: 7.316 MB / 0.4958 GB, free: 11.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.817, allocations: 172.2 kB / 0.4959 GB, free: 11.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.8205, allocations: 1.578 MB / 0.4975 GB, free: 9.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003118/0.8208, allocations: 57.7 kB / 0.4975 GB, free: 9.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.8221, allocations: 1.145 MB / 0.4986 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007551/0.8229, allocations: 0.5775 MB / 0.4992 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.823, allocations: 40 kB / 0.4993 GB, free: 7.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.8233, allocations: 385.9 kB / 0.4996 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.8254, allocations: 0.8825 MB / 0.5005 GB, free: 6.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.8278, allocations: 1.301 MB / 0.5018 GB, free: 5.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.8302, allocations: 1.079 MB / 0.5028 GB, free: 4.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.8302, allocations: 7.938 kB / 0.5028 GB, free: 4.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.00768/0.8379, allocations: 3.205 MB / 0.5059 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2691/1.107, allocations: 4.7 MB / 0.5105 GB, free: 80.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/1.107, allocations: 13.05 kB / 0.5105 GB, free: 80.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/1.112, allocations: 0.9585 MB / 0.5115 GB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.116, allocations: 370.5 kB / 0.5118 GB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/1.145, allocations: 11.96 MB / 0.5235 GB, free: 75.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/1.148, allocations: 109.5 kB / 0.5236 GB, free: 75.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/1.148, allocations: 72.31 kB / 0.5237 GB, free: 75.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.148, allocations: 3.969 kB / 0.5237 GB, free: 75.18 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007015/1.155, allocations: 3 MB / 0.5266 GB, free: 75.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/1.155, allocations: 15.56 kB / 0.5266 GB, free: 75.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003167/1.158, allocations: 0.9575 MB / 0.5276 GB, free: 75.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.16, allocations: 362.7 kB / 0.5279 GB, free: 75.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/1.176, allocations: 11.97 MB / 0.5396 GB, free: 69.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.178, allocations: 101 kB / 0.5397 GB, free: 69.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.179, allocations: 74.38 kB / 0.5398 GB, free: 69.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004996/1.179, allocations: 221.4 kB / 0.54 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/1.18, allocations: 218.6 kB / 0.5402 GB, free: 69.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.186, allocations: 2.913 MB / 0.543 GB, free: 69.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.186, allocations: 15.75 kB / 0.5431 GB, free: 69.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.186, allocations: 10.64 kB / 0.5431 GB, free: 69.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.186, allocations: 11.58 kB / 0.5431 GB, free: 69.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.198, allocations: 5.821 MB / 0.5488 GB, free: 66.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.198, allocations: 3.812 kB / 0.5488 GB, free: 66.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.2, allocations: 227.5 kB / 0.549 GB, free: 66.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/1.203, allocations: 1.015 MB / 0.55 GB, free: 66.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/1.203, allocations: 45.8 kB / 0.55 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.221, allocations: 13.66 MB / 0.5634 GB, free: 57.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.276e-06/1.221, allocations: 3.531 kB / 0.5634 GB, free: 57.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008219/1.229, allocations: 4.352 MB / 0.5676 GB, free: 55.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.231, allocations: 489 kB / 0.5681 GB, free: 54.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/1.231, allocations: 41.5 kB / 0.5681 GB, free: 54.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.233, allocations: 104.9 kB / 0.5682 GB, free: 54.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.233, allocations: 142.2 kB / 0.5683 GB, free: 54.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.233, allocations: 54.23 kB / 0.5684 GB, free: 54.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002284/1.235, allocations: 1.206 MB / 0.5696 GB, free: 54.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.028e-06/1.235, allocations: 3.531 kB / 0.5696 GB, free: 54.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00515/1.241, allocations: 1.196 MB / 0.5708 GB, free: 54.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * 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 (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008308/1.242, allocations: 379.8 kB / 0.5711 GB, free: 54.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009693/1.251, allocations: 5.283 MB / 0.5763 GB, free: 51.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.251, allocations: 0 / 0.5763 GB, free: 51.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.255, allocations: 2.046 MB / 0.5783 GB, free: 50.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/1.258, allocations: 0.5197 MB / 0.5788 GB, free: 50.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.269, allocations: 4.654 MB / 0.5833 GB, free: 48.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/1.271, allocations: 2.042 MB / 0.5853 GB, free: 47.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003212/1.274, allocations: 0.6883 MB / 0.586 GB, free: 47.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/1.275, allocations: 96.25 kB / 0.5861 GB, free: 47.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.76e-06/1.275, allocations: 4 kB / 0.5861 GB, free: 47.34 MB / 394.7 MB Notification: Performance of Templates: time 0.09565/1.371, allocations: 48.41 MB / 0.6334 GB, free: 11.01 MB / 394.7 MB