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.755/1.755, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.2e-05, allocations: 10.12 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08373, allocations: 38.78 MB / 266.9 MB, free: 464 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01544/0.09922, allocations: 9.06 MB / 276 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009037/0.1083, allocations: 3.397 MB / 279.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.1103, allocations: 71.81 kB / 279.5 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.1128, allocations: 0.5943 MB / 280.1 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.1165, allocations: 0.7475 MB / 280.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1181, allocations: 311.6 kB / 281.1 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.1226, allocations: 1.56 MB / 282.7 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.1257, allocations: 1.332 MB / 284 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.1279, allocations: 0.8375 MB / 284.8 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.131, allocations: 1.137 MB / 286 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.1327, allocations: 211.9 kB / 286.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007021/0.1335, allocations: 112 kB / 286.3 MB, free: 13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.1349, allocations: 0.7087 MB / 287 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.1361, allocations: 248 kB / 287.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.1428, allocations: 3.931 MB / 291.2 MB, free: 8.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1429, allocations: 0 / 291.2 MB, free: 8.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1429, allocations: 0 / 291.2 MB, free: 8.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000139/0.1431, allocations: 0 / 291.2 MB, free: 8.105 MB / 250.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.008867/0.1519, allocations: 2.614 MB / 293.8 MB, free: 5.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.152, allocations: 12.03 kB / 293.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.1545, allocations: 412 kB / 294.2 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.1594, allocations: 1.632 MB / 295.8 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.1597, allocations: 185 kB / 296 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007399/0.1604, allocations: 251.8 kB / 296.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2254/0.3859, allocations: 3.203 MB / 299.5 MB, free: 26.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.3861, allocations: 5.094 kB / 299.5 MB, free: 26.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.3865, allocations: 103.1 kB / 299.6 MB, free: 26.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002541/0.3868, allocations: 115 kB / 299.7 MB, free: 26.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009451/0.3962, allocations: 2.686 MB / 302.4 MB, free: 25.67 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02688/0.4232, allocations: 10.34 MB / 312.7 MB, free: 19.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.4268, allocations: 1.754 MB / 314.5 MB, free: 18.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.4272, allocations: 130.1 kB / 314.6 MB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4273, allocations: 43.69 kB / 314.6 MB, free: 18.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=113): time 4.789e-06/0.4273, allocations: 0 / 314.6 MB, free: 18.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=135): time 0.03265/0.46, allocations: 8.528 MB / 323.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.46, allocations: 68.72 kB / 323.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.4632, allocations: 1.582 MB / 324.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.4635, allocations: 45.7 kB / 324.9 MB, free: 11.67 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.4644, allocations: 1.232 MB / 326.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.4649, allocations: 472.4 kB / 326.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.465, allocations: 36 kB / 326.6 MB, free: 9.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4652, allocations: 370.8 kB / 326.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.4673, allocations: 0.8511 MB / 327.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.4696, allocations: 1.334 MB / 329.1 MB, free: 7.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.4721, allocations: 1.046 MB / 330.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.4721, allocations: 4 kB / 330.2 MB, free: 6.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007306/0.4794, allocations: 2.904 MB / 333.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4795, allocations: 13.69 kB / 333.1 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.4796, allocations: 20 kB / 333.1 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.4817, allocations: 0.5409 MB / 333.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.4847, allocations: 399.4 kB / 334 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4959, allocations: 5.261 MB / 339.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.4986, allocations: 135.8 kB / 339.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.4989, allocations: 75.98 kB / 339.5 MB, free: 12.64 MB / 266.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 (183): * Single equations (assignments): 179 * 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.002219/0.5011, allocations: 0.7744 MB / 340.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.5018, allocations: 201.6 kB / 340.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/0.5097, allocations: 2.503 MB / 343 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.5098, allocations: 12 kB / 343 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.5098, allocations: 11.95 kB / 343 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.5099, allocations: 7.969 kB / 343 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.5266, allocations: 5.297 MB / 348.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.5266, allocations: 6.156 kB / 348.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/0.5288, allocations: 248 kB / 348.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.5316, allocations: 0.5798 MB / 349.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.5319, allocations: 31.98 kB / 349.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.5461, allocations: 6.735 MB / 355.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.5462, allocations: 3.938 kB / 355.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.5571, allocations: 3.914 MB / 359.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.5587, allocations: 454.5 kB / 360.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/0.5593, allocations: 31.98 kB / 360.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/0.5613, allocations: 111.9 kB / 360.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.5617, allocations: 113 kB / 360.5 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.5619, allocations: 42.11 kB / 360.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00294/0.5648, allocations: 1.224 MB / 361.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5649, allocations: 0 / 361.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002663/0.5675, allocations: 0.5504 MB / 362.3 MB, free: 5.281 MB / 282.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 (108): * Single equations (assignments): 104 * 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.0004983/0.5681, allocations: 167.5 kB / 362.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007276/0.5754, allocations: 2.46 MB / 365 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.5754, allocations: 4 kB / 365 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004702/0.5801, allocations: 1.496 MB / 366.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.5833, allocations: 403.5 kB / 366.9 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.5981, allocations: 5.986 MB / 372.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.601, allocations: 2.064 MB / 374.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002336/0.6034, allocations: 411.5 kB / 375.3 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/0.604, allocations: 127.4 kB / 375.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6041, allocations: 0 / 375.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of Templates: time 0.07762/0.6817, allocations: 25.86 MB / 401.3 MB, free: 14.23 MB / 330.7 MB