Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.299e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08536, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01197/0.09739, allocations: 7.012 MB / 273.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.1042, allocations: 2.546 MB / 276.5 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.1056, allocations: 51.81 kB / 276.5 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1074, allocations: 449.5 kB / 276.9 MB, free: 7.039 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.1102, allocations: 0.5606 MB / 277.5 MB, free: 6.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.1112, allocations: 195.8 kB / 277.7 MB, free: 6.285 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.1145, allocations: 1.154 MB / 278.8 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.1165, allocations: 0.9135 MB / 279.8 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.1179, allocations: 0.6194 MB / 280.4 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1198, allocations: 0.8372 MB / 281.2 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.1206, allocations: 139.9 kB / 281.4 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.121, allocations: 80 kB / 281.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.1219, allocations: 0.5374 MB / 282 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007734/0.1227, allocations: 188 kB / 282.2 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.1273, allocations: 2.906 MB / 285.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1274, allocations: 0 / 285.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1275, allocations: 0 / 285.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001269/0.1276, allocations: 0 / 285.1 MB, free: 14.89 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.006417/0.134, allocations: 2.008 MB / 287.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1341, allocations: 8.031 kB / 287.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.1355, allocations: 253.2 kB / 287.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.1392, allocations: 1.244 MB / 288.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.1395, allocations: 135.6 kB / 288.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.14, allocations: 183.8 kB / 288.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/0.1473, allocations: 2.378 MB / 291.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.639e-05/0.1474, allocations: 0 / 291.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.1478, allocations: 72 kB / 291.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.1479, allocations: 83.48 kB / 291.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.1547, allocations: 2.012 MB / 293.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2428/0.3976, allocations: 7.413 MB / 300.8 MB, free: 26.06 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.4009, allocations: 1.281 MB / 302.1 MB, free: 25.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.4013, allocations: 118.5 kB / 302.2 MB, free: 25.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4014, allocations: 43.73 kB / 302.3 MB, free: 25.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=84): time 3.616e-06/0.4014, allocations: 2.812 kB / 302.3 MB, free: 25.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=100): time 0.01689/0.4183, allocations: 5.059 MB / 307.3 MB, free: 24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4184, allocations: 63.83 kB / 307.4 MB, free: 23.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.4216, allocations: 1.157 MB / 308.6 MB, free: 23.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.4219, allocations: 42.3 kB / 308.6 MB, free: 23.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/0.4227, allocations: 0.8574 MB / 309.5 MB, free: 22.72 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/0.4233, allocations: 350.4 kB / 309.8 MB, free: 22.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.4235, allocations: 27.38 kB / 309.8 MB, free: 22.44 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4236, allocations: 353.2 kB / 310.2 MB, free: 22.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.4256, allocations: 0.6454 MB / 310.8 MB, free: 21.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.4277, allocations: 0.9259 MB / 311.7 MB, free: 21.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.4299, allocations: 0.7738 MB / 312.5 MB, free: 21.01 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.4299, allocations: 2.75 kB / 312.5 MB, free: 21.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007067/0.437, allocations: 2.338 MB / 314.9 MB, free: 20.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.4371, allocations: 8.688 kB / 314.9 MB, free: 20.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.4371, allocations: 9.188 kB / 314.9 MB, free: 20.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/0.4409, allocations: 0.742 MB / 315.6 MB, free: 19.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4425, allocations: 236.2 kB / 315.8 MB, free: 19.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.4585, allocations: 8.543 MB / 324.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.4604, allocations: 87.97 kB / 324.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4606, allocations: 47.8 kB / 324.5 MB, free: 13.25 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001508/0.4622, allocations: 0.63 MB / 325.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/0.4627, allocations: 146.2 kB / 325.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/0.4677, allocations: 1.914 MB / 327.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.4678, allocations: 12 kB / 327.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4678, allocations: 0 / 327.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.4678, allocations: 11.94 kB / 327.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.478, allocations: 3.979 MB / 331.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.4781, allocations: 4.984 kB / 331.2 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.4796, allocations: 179.8 kB / 331.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.4816, allocations: 474.9 kB / 331.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.4818, allocations: 35.97 kB / 331.9 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008547/0.4904, allocations: 6.256 MB / 338.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4904, allocations: 0 / 338.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008006/0.4985, allocations: 2.921 MB / 341.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.4999, allocations: 359.2 kB / 341.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/0.5005, allocations: 23.95 kB / 341.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.502, allocations: 75.92 kB / 341.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.5025, allocations: 80.88 kB / 341.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.5026, allocations: 31.98 kB / 341.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002209/0.5048, allocations: 0.8918 MB / 342.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.5049, allocations: 0 / 342.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002574/0.5075, allocations: 434.8 kB / 342.9 MB, free: 10.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005253/0.508, allocations: 146.7 kB / 343.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006187/0.5142, allocations: 2.044 MB / 345.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.5143, allocations: 0 / 345.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003825/0.5181, allocations: 1.361 MB / 346.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.5212, allocations: 360.7 kB / 346.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5328, allocations: 4.771 MB / 351.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.5352, allocations: 1.706 MB / 353.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/0.536, allocations: 95.42 kB / 353.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.536, allocations: 4 kB / 353.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.09839/0.6344, allocations: 49.26 MB / 402.7 MB, free: 14.25 MB / 330.7 MB