Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.751e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0821/0.08215, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01338/0.09559, allocations: 7.665 MB / 274.6 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007001/0.1026, allocations: 2.612 MB / 277.2 MB, free: 6.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.1041, allocations: 55.81 kB / 277.3 MB, free: 6.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.1059, allocations: 465.3 kB / 277.7 MB, free: 5.637 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.1084, allocations: 0.5762 MB / 278.3 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.1095, allocations: 231.7 kB / 278.5 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.1132, allocations: 1.213 MB / 279.7 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.1154, allocations: 0.926 MB / 280.6 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.1169, allocations: 0.6311 MB / 281.3 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.119, allocations: 0.8215 MB / 282.1 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/0.12, allocations: 143.9 kB / 282.2 MB, free: 1.078 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.1204, allocations: 80 kB / 282.3 MB, free: 1 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009321/0.1214, allocations: 0.514 MB / 282.8 MB, free: 496 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007895/0.1222, allocations: 196 kB / 283 MB, free: 300 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.127, allocations: 2.844 MB / 285.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.127, allocations: 0 / 285.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.127, allocations: 0 / 285.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.1272, allocations: 0 / 285.9 MB, free: 13.44 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006419/0.1336, allocations: 1.997 MB / 287.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1336, allocations: 8.031 kB / 287.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.1349, allocations: 261.2 kB / 288.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.1385, allocations: 1.197 MB / 289.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.1387, allocations: 147.7 kB / 289.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005811/0.1393, allocations: 199.8 kB / 289.7 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/0.1464, allocations: 2.371 MB / 292 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/0.1466, allocations: 7.906 kB / 292 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.1469, allocations: 76 kB / 292.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.147, allocations: 83.66 kB / 292.2 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.1535, allocations: 1.939 MB / 294.1 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2356/0.3892, allocations: 7.796 MB / 301.9 MB, free: 24.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.3922, allocations: 1.226 MB / 303.2 MB, free: 24.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.3926, allocations: 121.4 kB / 303.3 MB, free: 24.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3927, allocations: 49.19 kB / 303.3 MB, free: 24.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=95): time 3.586e-06/0.3927, allocations: 0 / 303.3 MB, free: 24.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=111): time 0.02271/0.4154, allocations: 5.887 MB / 309.2 MB, free: 22.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4155, allocations: 63.09 kB / 309.3 MB, free: 22.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.4181, allocations: 1.084 MB / 310.4 MB, free: 21.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.4184, allocations: 45.7 kB / 310.4 MB, free: 21.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.4193, allocations: 0.8991 MB / 311.3 MB, free: 21.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000523/0.4198, allocations: 390.7 kB / 311.7 MB, free: 20.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4199, allocations: 34.19 kB / 311.7 MB, free: 20.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4201, allocations: 359 kB / 312.1 MB, free: 20.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.4219, allocations: 0.6342 MB / 312.7 MB, free: 20.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.424, allocations: 0.9909 MB / 313.7 MB, free: 19.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.4262, allocations: 0.7864 MB / 314.5 MB, free: 19.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.4263, allocations: 2.469 kB / 314.5 MB, free: 19.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006194/0.4325, allocations: 2.234 MB / 316.7 MB, free: 18.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.4325, allocations: 7.938 kB / 316.7 MB, free: 18.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.4326, allocations: 11.75 kB / 316.7 MB, free: 18.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.4345, allocations: 487.6 kB / 317.2 MB, free: 17.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.4366, allocations: 302.9 kB / 317.5 MB, free: 17.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009015/0.4457, allocations: 6.606 MB / 324.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4476, allocations: 83.11 kB / 324.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.4479, allocations: 63.3 kB / 324.3 MB, free: 12.25 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00158/0.4495, allocations: 0.5961 MB / 324.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.4499, allocations: 147.9 kB / 325 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/0.4552, allocations: 1.955 MB / 327 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4552, allocations: 12 kB / 327 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4552, allocations: 4 kB / 327 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.4553, allocations: 7.969 kB / 327 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.4657, allocations: 4.045 MB / 331 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4658, allocations: 0 / 331 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4674, allocations: 192 kB / 331.2 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/0.4698, allocations: 0.5374 MB / 331.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.47, allocations: 31.98 kB / 331.8 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.4819, allocations: 8.112 MB / 339.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.482, allocations: 4 kB / 339.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008181/0.4902, allocations: 2.97 MB / 342.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.4915, allocations: 351.2 kB / 343.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.492, allocations: 27.98 kB / 343.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.4936, allocations: 75.92 kB / 343.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/0.494, allocations: 92.86 kB / 343.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.4942, allocations: 27.98 kB / 343.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001955/0.4962, allocations: 0.8329 MB / 344.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4962, allocations: 384 / 344.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002484/0.4987, allocations: 434.4 kB / 344.7 MB, free: 7.777 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004984/0.4993, allocations: 157.7 kB / 344.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006011/0.5053, allocations: 2.207 MB / 347 MB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/0.5054, allocations: 7.938 kB / 347.1 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004076/0.5095, allocations: 1.503 MB / 348.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.5126, allocations: 371.8 kB / 348.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5245, allocations: 4.857 MB / 353.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.5268, allocations: 1.681 MB / 355.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001805/0.5287, allocations: 320.6 kB / 355.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.5292, allocations: 96.84 kB / 355.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5292, allocations: 0 / 355.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of Templates: time 0.06494/0.5941, allocations: 21.08 MB / 376.9 MB, free: 7.34 MB / 298.7 MB