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.946/1.946, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.292e-05, allocations: 0 / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 44.51 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01557/0.315, allocations: 9.061 MB / 312.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009149/0.3242, allocations: 3.437 MB / 315.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.3262, allocations: 71.81 kB / 315.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.3287, allocations: 0.5943 MB / 316.5 MB, free: 400 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.3325, allocations: 0.7436 MB / 317.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3343, allocations: 327.5 kB / 317.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004522/0.3388, allocations: 1.552 MB / 319.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.3416, allocations: 1.32 MB / 320.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.3435, allocations: 0.822 MB / 321.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.3463, allocations: 1.164 MB / 322.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.3479, allocations: 295.7 kB / 322.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.3485, allocations: 112 kB / 322.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.3496, allocations: 0.7048 MB / 323.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.3509, allocations: 248 kB / 323.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006645/0.3575, allocations: 3.989 MB / 327.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3576, allocations: 0 / 327.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3576, allocations: 0 / 327.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001543/0.3578, allocations: 3.938 kB / 327.8 MB, free: 5.082 MB / 266.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.009094/0.3669, allocations: 2.625 MB / 330.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.367, allocations: 8.031 kB / 330.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.3696, allocations: 408.1 kB / 330.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.3747, allocations: 1.671 MB / 332.5 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.375, allocations: 193 kB / 332.7 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008899/0.3759, allocations: 255.9 kB / 332.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009913/0.3859, allocations: 3.188 MB / 336.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.3861, allocations: 11.84 kB / 336.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.3865, allocations: 111.9 kB / 336.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.3867, allocations: 112.9 kB / 336.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009037/0.3957, allocations: 2.678 MB / 339 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.4258, allocations: 10.37 MB / 349.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.4298, allocations: 1.768 MB / 351.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.4303, allocations: 203.2 kB / 351.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.4304, allocations: 51.56 kB / 351.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=114): time 4.508e-06/0.4304, allocations: 0 / 351.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.03641/0.4668, allocations: 8.658 MB / 360 MB, free: 3.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.467, allocations: 72.72 kB / 360.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.4711, allocations: 1.636 MB / 361.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.4715, allocations: 45.7 kB / 361.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.4728, allocations: 1.241 MB / 363 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/0.4735, allocations: 469.2 kB / 363.5 MB, free: 468 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.4737, allocations: 39.98 kB / 363.5 MB, free: 428 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.474, allocations: 373.9 kB / 363.9 MB, free: 48 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.4766, allocations: 0.855 MB / 364.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.4797, allocations: 1.338 MB / 366.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.4828, allocations: 1.049 MB / 367.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.4829, allocations: 4 kB / 367.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.009264/0.4921, allocations: 2.901 MB / 370 MB, free: 9.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.4922, allocations: 12 kB / 370.1 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/0.4923, allocations: 19.95 kB / 370.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/0.4947, allocations: 0.5444 MB / 370.6 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.4978, allocations: 403.4 kB / 371 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.5099, allocations: 5.23 MB / 376.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/0.5129, allocations: 139.8 kB / 376.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.5132, allocations: 71.98 kB / 376.5 MB, free: 3.121 MB / 314.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 (184): * Single equations (assignments): 180 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002252/0.5155, allocations: 0.7822 MB / 377.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/0.5162, allocations: 197.7 kB / 377.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007741/0.524, allocations: 2.525 MB / 380 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/0.5241, allocations: 16 kB / 380 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.5241, allocations: 4 kB / 380 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.5241, allocations: 3.984 kB / 380 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.5406, allocations: 5.339 MB / 385.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.5407, allocations: 384 / 385.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/0.5429, allocations: 247.6 kB / 385.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/0.5458, allocations: 0.5873 MB / 386.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/0.5462, allocations: 35.98 kB / 386.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.5602, allocations: 6.735 MB / 392.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.5603, allocations: 11.88 kB / 392.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.5714, allocations: 3.915 MB / 396.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.573, allocations: 454.6 kB / 397.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005697/0.5736, allocations: 32 kB / 397.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/0.5758, allocations: 111.9 kB / 397.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.5762, allocations: 112.7 kB / 397.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.5764, allocations: 39.98 kB / 397.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003406/0.5798, allocations: 1.263 MB / 398.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5799, allocations: 0 / 398.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003039/0.5829, allocations: 0.5624 MB / 399.4 MB, free: 11.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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,72.2%) 20,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006087/0.5836, allocations: 182.9 kB / 399.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007557/0.5912, allocations: 2.467 MB / 402 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.5912, allocations: 4 kB / 402 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.5961, allocations: 1.494 MB / 403.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.5996, allocations: 402.1 kB / 403.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.615, allocations: 6.048 MB / 410 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.6179, allocations: 2.053 MB / 412 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002455/0.6204, allocations: 423.6 kB / 412.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/0.6212, allocations: 127.4 kB / 412.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6212, allocations: 3.938 kB / 412.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Templates: time 0.3326/0.9538, allocations: 26.84 MB / 439.4 MB, free: 100.9 MB / 362.7 MB