Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.723/1.723, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/5.007e-05, allocations: 11.98 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.3769, allocations: 103.7 MB / 367.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.3772, allocations: 79.95 kB / 367.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4941/0.8713, allocations: 82.36 MB / 449.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.606e-06/0.8714, allocations: 0 / 449.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001865/0.8716, allocations: 67.94 kB / 450 MB, free: 25.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.005626/0.8772, allocations: 2.598 MB / 452.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8773, allocations: 12.03 kB / 452.6 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.8792, allocations: 416 kB / 453 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/0.8855, allocations: 1.752 MB / 454.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.8858, allocations: 185 kB / 454.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009207/0.8867, allocations: 255.9 kB / 455.2 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.8995, allocations: 3.115 MB / 458.3 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.8997, allocations: 3.984 kB / 458.3 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006497/0.9004, allocations: 104.3 kB / 458.4 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.9006, allocations: 112.9 kB / 458.5 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.9112, allocations: 2.415 MB / 460.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/0.9454, allocations: 10.41 MB / 471.3 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/0.95, allocations: 1.717 MB / 473 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.9528, allocations: 0.8622 MB / 473.9 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004865/0.9533, allocations: 138 kB / 474 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.9534, allocations: 44.12 kB / 474.1 MB, free: 368 kB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 8.06e-06/0.9534, allocations: 3.938 kB / 474.1 MB, free: 364 kB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.03759/0.991, allocations: 6.869 MB / 480.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.9912, allocations: 68.72 kB / 481 MB, free: 9.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/0.9971, allocations: 1.57 MB / 482.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.9975, allocations: 45.7 kB / 482.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.9995, allocations: 1.233 MB / 483.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.001, allocations: 492.9 kB / 484.3 MB, free: 6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/1.001, allocations: 32 kB / 484.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/1.001, allocations: 373.9 kB / 484.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/1.005, allocations: 0.8044 MB / 485.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01628/1.021, allocations: 1.276 MB / 486.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/1.033, allocations: 1.008 MB / 487.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/1.033, allocations: 4 kB / 487.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.02505/1.058, allocations: 2.789 MB / 490.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.058, allocations: 16.03 kB / 490.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.118e-05/1.058, allocations: 16 kB / 490.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/1.061, allocations: 0.5794 MB / 491.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.063, allocations: 407.4 kB / 491.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.075, allocations: 5.457 MB / 497.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.078, allocations: 139.8 kB / 497.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/1.078, allocations: 68 kB / 497.3 MB, free: 8.676 MB / 346.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 (185): * Single equations (assignments): 181 * 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.0004741/1.078, allocations: 212.4 kB / 497.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/1.079, allocations: 197.6 kB / 497.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006314/1.085, allocations: 2.49 MB / 0.4884 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.085, allocations: 16 kB / 0.4885 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.085, allocations: 8 kB / 0.4885 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.085, allocations: 7.969 kB / 0.4885 GB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.099, allocations: 5.345 MB / 0.4937 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/1.099, allocations: 4.438 kB / 0.4937 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.1, allocations: 243.7 kB / 0.4939 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2157/1.316, allocations: 0.6458 MB / 0.4946 GB, free: 74.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003765/1.316, allocations: 35.72 kB / 0.4946 GB, free: 74.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.334, allocations: 7.136 MB / 0.5016 GB, free: 71.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.334, allocations: 5.844 kB / 0.5016 GB, free: 71.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.347, allocations: 3.896 MB / 0.5054 GB, free: 71.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/1.349, allocations: 467.9 kB / 0.5058 GB, free: 71.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/1.35, allocations: 31.92 kB / 0.5059 GB, free: 71.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/1.352, allocations: 117.4 kB / 0.506 GB, free: 71.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/1.353, allocations: 117 kB / 0.5061 GB, free: 71.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/1.353, allocations: 48.38 kB / 0.5061 GB, free: 71.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003606/1.357, allocations: 1.204 MB / 0.5073 GB, free: 71.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.579e-06/1.357, allocations: 0 / 0.5073 GB, free: 71.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004621/1.362, allocations: 0.6198 MB / 0.5079 GB, free: 71.07 MB / 346.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 (109): * Single equations (assignments): 105 * 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.0009226/1.363, allocations: 305 kB / 0.5082 GB, free: 70.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007698/1.37, allocations: 2.411 MB / 0.5106 GB, free: 70.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.37, allocations: 0 / 0.5106 GB, free: 70.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005278/1.376, allocations: 1.542 MB / 0.5121 GB, free: 70.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/1.38, allocations: 404.3 kB / 0.5124 GB, free: 70.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.392, allocations: 4.105 MB / 0.5164 GB, free: 69.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/1.394, allocations: 2.068 MB / 0.5185 GB, free: 68.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001996/1.396, allocations: 403.3 kB / 0.5189 GB, free: 68.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/1.396, allocations: 125 kB / 0.519 GB, free: 68.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.695e-06/1.396, allocations: 0 / 0.519 GB, free: 68.63 MB / 346.7 MB Notification: Performance of Templates: time 0.06804/1.465, allocations: 30.03 MB / 0.5483 GB, free: 63.65 MB / 346.7 MB