Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.376e-05, allocations: 7.984 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08712, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.4665, allocations: 107.2 MB / 424.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4669, allocations: 95.55 kB / 424.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2095/0.6764, allocations: 50.13 MB / 474.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.46e-06/0.6764, allocations: 3.938 kB / 474.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002872/0.6767, allocations: 59.94 kB / 474.4 MB, free: 1.777 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008184/0.6849, allocations: 2.503 MB / 476.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.685, allocations: 8.031 kB / 476.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.6869, allocations: 332.3 kB / 477.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005837/0.6927, allocations: 1.772 MB / 479 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.6931, allocations: 176.6 kB / 479.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009933/0.6941, allocations: 239.8 kB / 479.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009439/0.7036, allocations: 3.001 MB / 482.4 MB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.7037, allocations: 7.906 kB / 482.4 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005818/0.7043, allocations: 104 kB / 482.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.7045, allocations: 104.6 kB / 482.6 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00775/0.7123, allocations: 2.426 MB / 485.1 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/0.7382, allocations: 9.771 MB / 494.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.7424, allocations: 2.15 MB / 497 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.7447, allocations: 0.9294 MB / 497.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.7452, allocations: 219.2 kB / 498.1 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.7453, allocations: 43.56 kB / 498.2 MB, free: 9.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 5.104e-06/0.7453, allocations: 4.562 kB / 498.2 MB, free: 9.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.02121/0.7665, allocations: 6.519 MB / 0.4929 GB, free: 2.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.7666, allocations: 64.72 kB / 0.4929 GB, free: 2.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.7705, allocations: 1.508 MB / 0.4944 GB, free: 1.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003092/0.7709, allocations: 49.7 kB / 0.4945 GB, free: 1.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.7722, allocations: 1.132 MB / 0.4956 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007622/0.773, allocations: 488.9 kB / 0.496 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.7732, allocations: 32 kB / 0.4961 GB, free: 15.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.7735, allocations: 365.9 kB / 0.4964 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.7754, allocations: 0.8044 MB / 0.4972 GB, free: 14.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.7779, allocations: 1.166 MB / 0.4983 GB, free: 12.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.7803, allocations: 0.9808 MB / 0.4993 GB, free: 11.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.7803, allocations: 4 kB / 0.4993 GB, free: 11.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.007284/0.7876, allocations: 2.7 MB / 0.5019 GB, free: 9.156 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.7877, allocations: 8.25 kB / 0.5019 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.7878, allocations: 16 kB / 0.502 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.79, allocations: 0.5847 MB / 0.5025 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.7922, allocations: 367.4 kB / 0.5029 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.8039, allocations: 6.315 MB / 0.509 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.8059, allocations: 112 kB / 0.5091 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000379/0.8064, allocations: 68.05 kB / 0.5092 GB, free: 1.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005067/0.8069, allocations: 196.5 kB / 0.5094 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006357/0.8075, allocations: 201.6 kB / 0.5096 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2399/1.047, allocations: 2.508 MB / 0.512 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.048, allocations: 19.88 kB / 0.5121 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.048, allocations: 5.312 kB / 0.5121 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/1.048, allocations: 6.797 kB / 0.5121 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/1.07, allocations: 5.26 MB / 0.5172 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/1.07, allocations: 3.188 kB / 0.5172 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/1.073, allocations: 233.3 kB / 0.5174 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01753/1.091, allocations: 0.6376 MB / 0.5181 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005468/1.091, allocations: 38.48 kB / 0.5181 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04516/1.136, allocations: 8.052 MB / 0.526 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.65e-05/1.137, allocations: 9.781 kB / 0.526 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.151, allocations: 3.819 MB / 0.5297 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.153, allocations: 455 kB / 0.5301 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/1.154, allocations: 33.72 kB / 0.5302 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.155, allocations: 103.8 kB / 0.5303 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/1.156, allocations: 125.1 kB / 0.5304 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.156, allocations: 41.5 kB / 0.5304 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00252/1.159, allocations: 1.157 MB / 0.5316 GB, free: 107.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.065e-06/1.159, allocations: 0 / 0.5316 GB, free: 107.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002852/1.162, allocations: 0.5683 MB / 0.5321 GB, free: 107.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000855/1.162, allocations: 340.5 kB / 0.5324 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005002/1.167, allocations: 2.427 MB / 0.5348 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.494e-06/1.167, allocations: 0 / 0.5348 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.171, allocations: 1.594 MB / 0.5364 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.174, allocations: 441.5 kB / 0.5368 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/1.184, allocations: 4.149 MB / 0.5408 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.186, allocations: 2.061 MB / 0.5428 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002017/1.188, allocations: 432.3 kB / 0.5433 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/1.189, allocations: 122.8 kB / 0.5434 GB, free: 104.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.702e-06/1.189, allocations: 3.719 kB / 0.5434 GB, free: 104.6 MB / 426.7 MB Notification: Performance of Templates: time 0.07125/1.26, allocations: 30.31 MB / 0.573 GB, free: 99.32 MB / 426.7 MB