Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.037e-05, allocations: 0 / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2811, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01253/0.2937, allocations: 7.775 MB / 311.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.3005, allocations: 2.772 MB / 313.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3016, allocations: 59.75 kB / 313.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.3031, allocations: 0.4894 MB / 314.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.3053, allocations: 0.6269 MB / 315.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.3062, allocations: 231.7 kB / 315.3 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.3091, allocations: 1.474 MB / 316.8 MB, free: 136 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.3112, allocations: 1.201 MB / 318 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.3125, allocations: 0.7753 MB / 318.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.3145, allocations: 1.047 MB / 319.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007377/0.3152, allocations: 163.9 kB / 319.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.3156, allocations: 104 kB / 320 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009273/0.3166, allocations: 0.6503 MB / 320.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007349/0.3173, allocations: 240 kB / 320.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.3223, allocations: 3.736 MB / 324.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3223, allocations: 0 / 324.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3223, allocations: 4 kB / 324.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.35e-05/0.3224, allocations: 0 / 324.7 MB, free: 8.191 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.007181/0.3296, allocations: 2.488 MB / 327.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3297, allocations: 8.031 kB / 327.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.3309, allocations: 328.3 kB / 327.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.3349, allocations: 1.584 MB / 329.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3351, allocations: 172.6 kB / 329.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.3357, allocations: 231.9 kB / 329.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008068/0.3437, allocations: 3.173 MB / 332.6 MB, free: 0 / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.3439, allocations: 7.984 kB / 332.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.3442, allocations: 92 kB / 332.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.3444, allocations: 108.4 kB / 332.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007648/0.3521, allocations: 2.742 MB / 335.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.3751, allocations: 9.895 MB / 345.5 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/0.3792, allocations: 2.094 MB / 347.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.3796, allocations: 122.9 kB / 347.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.3797, allocations: 47.56 kB / 347.7 MB, free: 476 kB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 4.348e-06/0.3797, allocations: 0 / 347.7 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.03048/0.4102, allocations: 8.099 MB / 355.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.4103, allocations: 68.7 kB / 355.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.4134, allocations: 1.445 MB / 357.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.4136, allocations: 49.7 kB / 357.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.4147, allocations: 1.089 MB / 358.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/0.4153, allocations: 481 kB / 359 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.4155, allocations: 32 kB / 359 MB, free: 5.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4157, allocations: 369.9 kB / 359.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.4182, allocations: 0.9174 MB / 360.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.4209, allocations: 1.267 MB / 361.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.4237, allocations: 1.08 MB / 362.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4237, allocations: 0 / 362.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008626/0.4324, allocations: 3.064 MB / 365.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4324, allocations: 8.438 kB / 365.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4325, allocations: 16 kB / 365.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/0.4359, allocations: 0.8478 MB / 366.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.4381, allocations: 299.5 kB / 366.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.4553, allocations: 9.336 MB / 376.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.4574, allocations: 99.81 kB / 376.3 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.4576, allocations: 67.92 kB / 376.3 MB, free: 3.094 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.4595, allocations: 0.8096 MB / 377.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.46, allocations: 177.8 kB / 377.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008156/0.4681, allocations: 2.87 MB / 380.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.4682, allocations: 19.98 kB / 380.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.4682, allocations: 4 kB / 380.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.4682, allocations: 7.984 kB / 380.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.4832, allocations: 5.673 MB / 385.9 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.4832, allocations: 0 / 385.9 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.4849, allocations: 192 kB / 386.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003919/0.4888, allocations: 0.8947 MB / 387 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.489, allocations: 35.98 kB / 387 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.5079, allocations: 10.85 MB / 397.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.5079, allocations: 4.031 kB / 397.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.5191, allocations: 4.343 MB / 402.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.5205, allocations: 458.7 kB / 402.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.5209, allocations: 35.98 kB / 402.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.5226, allocations: 83.92 kB / 402.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005225/0.5231, allocations: 145 kB / 402.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.5233, allocations: 39.98 kB / 403 MB, free: 7.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00235/0.5256, allocations: 1.106 MB / 404.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5256, allocations: 4 kB / 404.1 MB, free: 6.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002389/0.528, allocations: 0.5624 MB / 404.6 MB, free: 5.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004288/0.5285, allocations: 157.8 kB / 404.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007422/0.5359, allocations: 3.026 MB / 407.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.536, allocations: 0 / 407.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005084/0.541, allocations: 2.054 MB / 409.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.5444, allocations: 469.7 kB / 410.3 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.557, allocations: 6.065 MB / 416.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.5595, allocations: 2.067 MB / 418.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002098/0.5617, allocations: 411.3 kB / 418.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.5622, allocations: 107.4 kB / 419 MB, free: 7.371 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5622, allocations: 0 / 419 MB, free: 7.371 MB / 362.7 MB Notification: Performance of Templates: time 0.3103/0.8726, allocations: 29.55 MB / 448.5 MB, free: 91.45 MB / 362.7 MB