Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.43e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2697, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.4337, allocations: 108.3 MB / 402.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.434, allocations: 83.95 kB / 402.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5182/0.9522, allocations: 81.71 MB / 484.3 MB, free: 66.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.9523, allocations: 0 / 484.3 MB, free: 66.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002478/0.9526, allocations: 67.94 kB / 484.3 MB, free: 66 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007118/0.9597, allocations: 2.597 MB / 486.9 MB, free: 63.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9598, allocations: 12.03 kB / 486.9 MB, free: 63.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.9622, allocations: 416.1 kB / 487.3 MB, free: 62.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005078/0.9673, allocations: 1.826 MB / 489.2 MB, free: 61.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.9675, allocations: 80 kB / 489.2 MB, free: 61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.9683, allocations: 144 kB / 489.4 MB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006102/0.9744, allocations: 2.303 MB / 491.7 MB, free: 58.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00777/0.9822, allocations: 2.779 MB / 494.5 MB, free: 55.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.9824, allocations: 11.84 kB / 494.5 MB, free: 55.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.9828, allocations: 0 / 494.5 MB, free: 55.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.983, allocations: 112.9 kB / 494.6 MB, free: 55.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/1.005, allocations: 9.944 MB / 0.4927 GB, free: 45.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/1.007, allocations: 1.721 MB / 0.4944 GB, free: 43.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.009, allocations: 0.8202 MB / 0.4952 GB, free: 42.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/1.009, allocations: 226.7 kB / 0.4954 GB, free: 42.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.009, allocations: 47.88 kB / 0.4954 GB, free: 42.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.44e-06/1.009, allocations: 0 / 0.4954 GB, free: 42.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.01345/1.023, allocations: 5.406 MB / 0.5007 GB, free: 36.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/1.023, allocations: 68.72 kB / 0.5008 GB, free: 36.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.025, allocations: 1.363 MB / 0.5021 GB, free: 35.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/1.026, allocations: 29.7 kB / 0.5021 GB, free: 35.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/1.026, allocations: 1.189 MB / 0.5033 GB, free: 34.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/1.027, allocations: 484.8 kB / 0.5038 GB, free: 33.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.027, allocations: 0 / 0.5038 GB, free: 33.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/1.027, allocations: 378.8 kB / 0.5041 GB, free: 33.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.028, allocations: 0.777 MB / 0.5049 GB, free: 32.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.03, allocations: 1.245 MB / 0.5061 GB, free: 31.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.032, allocations: 0.9899 MB / 0.5071 GB, free: 30.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.032, allocations: 4 kB / 0.5071 GB, free: 30.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005182/1.037, allocations: 2.552 MB / 0.5096 GB, free: 27.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.037, allocations: 12 kB / 0.5096 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/1.037, allocations: 19.98 kB / 0.5096 GB, free: 27.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/1.039, allocations: 0.5758 MB / 0.5102 GB, free: 26.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/1.041, allocations: 407.3 kB / 0.5106 GB, free: 26.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008346/1.049, allocations: 5.217 MB / 0.5156 GB, free: 21.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.051, allocations: 99.78 kB / 0.5157 GB, free: 21.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.052, allocations: 80.03 kB / 0.5158 GB, free: 21.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003602/1.052, allocations: 152.3 kB / 0.516 GB, free: 20.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/1.053, allocations: 177.8 kB / 0.5161 GB, free: 20.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/1.058, allocations: 2.387 MB / 0.5185 GB, free: 18.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.058, allocations: 15.98 kB / 0.5185 GB, free: 18.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.058, allocations: 8 kB / 0.5185 GB, free: 18.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/1.058, allocations: 3.984 kB / 0.5185 GB, free: 18.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.069, allocations: 4.955 MB / 0.5233 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/1.069, allocations: 4 kB / 0.5233 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.07, allocations: 260.2 kB / 0.5236 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/1.072, allocations: 0.6299 MB / 0.5242 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/1.073, allocations: 19.98 kB / 0.5242 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/1.084, allocations: 6.873 MB / 0.5309 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.137e-06/1.084, allocations: 4 kB / 0.5309 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007027/1.091, allocations: 3.766 MB / 0.5346 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.093, allocations: 446.7 kB / 0.535 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/1.093, allocations: 19.92 kB / 0.5351 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.095, allocations: 91.88 kB / 0.5351 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.096, allocations: 121 kB / 0.5353 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.096, allocations: 43.98 kB / 0.5353 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002425/1.098, allocations: 1.026 MB / 0.5363 GB, free: 15.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.036e-06/1.098, allocations: 0 / 0.5363 GB, free: 15.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003613/1.102, allocations: 0.5312 MB / 0.5368 GB, free: 15.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008805/1.103, allocations: 326.7 kB / 0.5371 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005456/1.108, allocations: 2.372 MB / 0.5394 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.109, allocations: 4 kB / 0.5395 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003598/1.112, allocations: 1.527 MB / 0.5409 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.115, allocations: 313.5 kB / 0.5412 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/1.125, allocations: 4.123 MB / 0.5453 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/1.128, allocations: 2.049 MB / 0.5473 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/1.129, allocations: 127.4 kB / 0.5474 GB, free: 4.039 MB / 378.7 MB Notification: Performance of SimCode: time 1.859e-06/1.129, allocations: 0 / 0.5474 GB, free: 4.039 MB / 378.7 MB Notification: Performance of Templates: time 0.3008/1.43, allocations: 54.34 MB / 0.6005 GB, free: 94.45 MB / 394.7 MB