Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.081e-05, allocations: 0 / 258.8 MB, free: 8.031 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3002, allocations: 44.49 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01337/0.3136, allocations: 7.692 MB / 311 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007332/0.321, allocations: 2.725 MB / 313.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.3225, allocations: 55.81 kB / 313.8 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3242, allocations: 461.3 kB / 314.2 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3271, allocations: 0.5995 MB / 314.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3281, allocations: 235.7 kB / 315.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.3315, allocations: 1.209 MB / 316.3 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.3334, allocations: 0.9299 MB / 317.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3347, allocations: 0.6233 MB / 317.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.3365, allocations: 0.8371 MB / 318.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.3373, allocations: 147.9 kB / 318.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.3377, allocations: 80 kB / 318.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008399/0.3385, allocations: 0.5101 MB / 319.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.3392, allocations: 203.9 kB / 319.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.3437, allocations: 2.867 MB / 322.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3437, allocations: 0 / 322.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3437, allocations: 0 / 322.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.3439, allocations: 0 / 322.5 MB, free: 10.38 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006269/0.3501, allocations: 2.005 MB / 324.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3502, allocations: 8.031 kB / 324.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3516, allocations: 261.2 kB / 324.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.3553, allocations: 1.232 MB / 326 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.3556, allocations: 143.8 kB / 326.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006068/0.3562, allocations: 192 kB / 326.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007181/0.3634, allocations: 2.383 MB / 328.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.229e-05/0.3635, allocations: 7.906 kB / 328.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.3638, allocations: 83.98 kB / 328.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.364, allocations: 99.56 kB / 328.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.37, allocations: 1.947 MB / 330.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.3902, allocations: 7.856 MB / 338.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.3932, allocations: 1.22 MB / 339.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.3936, allocations: 122 kB / 340 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.3937, allocations: 43.56 kB / 340.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 4.127e-06/0.3937, allocations: 0 / 340.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.02216/0.4159, allocations: 5.887 MB / 345.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.416, allocations: 60.41 kB / 346 MB, free: 2.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.4185, allocations: 1.108 MB / 347.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.4187, allocations: 41.7 kB / 347.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009522/0.4197, allocations: 0.9238 MB / 348.1 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/0.4202, allocations: 386.6 kB / 348.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4204, allocations: 28 kB / 348.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4206, allocations: 361.9 kB / 348.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.4224, allocations: 0.6364 MB / 349.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.4244, allocations: 0.9924 MB / 350.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.4265, allocations: 0.7877 MB / 351.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.4265, allocations: 0 / 351.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006752/0.4333, allocations: 2.234 MB / 353.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.4334, allocations: 12 kB / 353.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4334, allocations: 12 kB / 353.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.4355, allocations: 487.9 kB / 354 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.4378, allocations: 299.5 kB / 354.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.4489, allocations: 6.606 MB / 360.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4508, allocations: 95.77 kB / 361 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.451, allocations: 51.98 kB / 361 MB, free: 2.57 MB / 298.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 (idealCloser.control,idealOpener.control) * 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.001604/0.4526, allocations: 0.599 MB / 361.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.4531, allocations: 146.2 kB / 361.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005767/0.4589, allocations: 1.953 MB / 363.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.4589, allocations: 12 kB / 363.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.459, allocations: 4 kB / 363.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.459, allocations: 7.984 kB / 363.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.4707, allocations: 4.076 MB / 367.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.4708, allocations: 0 / 367.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.4724, allocations: 179.8 kB / 368 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.475, allocations: 0.5351 MB / 368.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.4753, allocations: 27.98 kB / 368.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.4882, allocations: 8.116 MB / 376.7 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.4883, allocations: 3.953 kB / 376.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/0.4961, allocations: 2.964 MB / 379.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.4973, allocations: 351.2 kB / 380 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/0.4978, allocations: 27.98 kB / 380 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.4992, allocations: 75.92 kB / 380.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/0.4996, allocations: 96.98 kB / 380.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.4997, allocations: 31.98 kB / 380.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001921/0.5016, allocations: 0.8452 MB / 381.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5017, allocations: 4 kB / 381.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002346/0.504, allocations: 439.9 kB / 381.5 MB, free: 13.29 MB / 330.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 (idealCloser.control,idealOpener.control) * 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.0004542/0.5045, allocations: 155.3 kB / 381.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005787/0.5103, allocations: 2.225 MB / 383.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.5104, allocations: 4 kB / 383.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.5143, allocations: 1.502 MB / 385.4 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.5174, allocations: 380.3 kB / 385.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5286, allocations: 4.886 MB / 390.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.5308, allocations: 1.693 MB / 392.3 MB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.5326, allocations: 328.8 kB / 392.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.5331, allocations: 95.44 kB / 392.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5331, allocations: 0 / 392.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of Templates: time 0.06515/0.5983, allocations: 21.42 MB / 414.2 MB, free: 12.38 MB / 362.7 MB