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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.526e-05, allocations: 3.984 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07537/0.07541, allocations: 44.49 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4386, allocations: 109 MB / 408.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4389, allocations: 81.33 kB / 409 MB, free: 14.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3455/0.7844, allocations: 82.82 MB / 491.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.458e-06/0.7844, allocations: 0 / 491.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002125/0.7847, allocations: 67.94 kB / 491.9 MB, free: 12.16 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.006381/0.7911, allocations: 2.605 MB / 494.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.7911, allocations: 12.03 kB / 494.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.7931, allocations: 416 kB / 494.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.7979, allocations: 1.823 MB / 496.7 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.7982, allocations: 185.4 kB / 496.9 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007683/0.799, allocations: 255.8 kB / 497.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007532/0.8065, allocations: 3.108 MB / 0.4885 GB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-05/0.8066, allocations: 3.938 kB / 0.4885 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.807, allocations: 107.9 kB / 0.4886 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.8072, allocations: 108.9 kB / 0.4887 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/0.8133, allocations: 2.415 MB / 0.4911 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02305/0.8364, allocations: 10.43 MB / 0.5013 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.8397, allocations: 1.738 MB / 0.503 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.8416, allocations: 0.8622 MB / 0.5038 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.8421, allocations: 223.1 kB / 0.504 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.8422, allocations: 47.5 kB / 0.5041 GB, free: 3.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 4.789e-06/0.8422, allocations: 0 / 0.5041 GB, free: 3.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.2552/1.097, allocations: 6.859 MB / 0.5108 GB, free: 82.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.098, allocations: 67.11 kB / 0.5108 GB, free: 82.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/1.101, allocations: 1.621 MB / 0.5124 GB, free: 82.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002822/1.102, allocations: 48.52 kB / 0.5125 GB, free: 82.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.103, allocations: 1.246 MB / 0.5137 GB, free: 81.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/1.103, allocations: 495 kB / 0.5142 GB, free: 81.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.103, allocations: 34.41 kB / 0.5142 GB, free: 81.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/1.103, allocations: 370.2 kB / 0.5145 GB, free: 81.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.105, allocations: 0.8053 MB / 0.5153 GB, free: 81.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/1.107, allocations: 1.277 MB / 0.5166 GB, free: 80.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/1.109, allocations: 1.015 MB / 0.5176 GB, free: 80.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/1.109, allocations: 7.75 kB / 0.5176 GB, free: 80.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.006848/1.116, allocations: 2.791 MB / 0.5203 GB, free: 80.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.116, allocations: 13.31 kB / 0.5203 GB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/1.116, allocations: 21.16 kB / 0.5203 GB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.118, allocations: 0.5862 MB / 0.5209 GB, free: 80.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/1.12, allocations: 408.5 kB / 0.5213 GB, free: 80.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009183/1.13, allocations: 5.443 MB / 0.5266 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.132, allocations: 133.6 kB / 0.5267 GB, free: 79.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/1.132, allocations: 77.7 kB / 0.5268 GB, free: 79.12 MB / 394.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 (186): * Single equations (assignments): 182 * 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.0003916/1.133, allocations: 206.2 kB / 0.527 GB, free: 79.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/1.133, allocations: 199.5 kB / 0.5272 GB, free: 78.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/1.138, allocations: 2.499 MB / 0.5296 GB, free: 78.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.138, allocations: 13.28 kB / 0.5296 GB, free: 78.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.138, allocations: 7.656 kB / 0.5297 GB, free: 78.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.138, allocations: 8.594 kB / 0.5297 GB, free: 78.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.151, allocations: 5.369 MB / 0.5349 GB, free: 78.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/1.151, allocations: 3.281 kB / 0.5349 GB, free: 78.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.152, allocations: 242.3 kB / 0.5351 GB, free: 78.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/1.155, allocations: 0.6539 MB / 0.5358 GB, free: 78.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/1.155, allocations: 40.25 kB / 0.5358 GB, free: 78.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.165, allocations: 7.127 MB / 0.5428 GB, free: 74.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1e-05/1.165, allocations: 10 kB / 0.5428 GB, free: 74.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009369/1.175, allocations: 3.901 MB / 0.5466 GB, free: 72.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.176, allocations: 475.5 kB / 0.5471 GB, free: 72.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.177, allocations: 34.72 kB / 0.5471 GB, free: 72.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.178, allocations: 113 kB / 0.5472 GB, free: 72.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/1.178, allocations: 122 kB / 0.5473 GB, free: 72.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.179, allocations: 41.23 kB / 0.5473 GB, free: 72.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002343/1.181, allocations: 1.244 MB / 0.5486 GB, free: 71.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.77e-07/1.181, allocations: 0 / 0.5486 GB, free: 71.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00288/1.184, allocations: 0.638 MB / 0.5492 GB, free: 71.59 MB / 394.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 (110): * Single equations (assignments): 106 * 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.0006968/1.185, allocations: 336.2 kB / 0.5495 GB, free: 71.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004682/1.189, allocations: 2.416 MB / 0.5519 GB, free: 70.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.139e-06/1.189, allocations: 5.219 kB / 0.5519 GB, free: 70.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003078/1.192, allocations: 1.531 MB / 0.5534 GB, free: 69.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.195, allocations: 400.6 kB / 0.5537 GB, free: 69.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/1.204, allocations: 4.159 MB / 0.5578 GB, free: 68.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/1.206, allocations: 2.074 MB / 0.5598 GB, free: 67.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001838/1.208, allocations: 410.3 kB / 0.5602 GB, free: 67.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/1.209, allocations: 131.9 kB / 0.5604 GB, free: 67.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.668e-06/1.209, allocations: 0 / 0.5604 GB, free: 67.1 MB / 394.7 MB Notification: Performance of Templates: time 0.09585/1.305, allocations: 31.03 MB / 0.5907 GB, free: 57.71 MB / 394.7 MB