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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.141e-05, allocations: 7.906 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 44.5 MB / 303.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01374/0.346, allocations: 7.777 MB / 311.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007854/0.354, allocations: 2.764 MB / 313.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.3559, allocations: 67.75 kB / 313.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.3582, allocations: 497.2 kB / 314.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.3617, allocations: 0.6307 MB / 315 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3631, allocations: 235.7 kB / 315.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004292/0.3674, allocations: 1.466 MB / 316.7 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.3703, allocations: 1.201 MB / 317.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3723, allocations: 0.7636 MB / 318.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.3751, allocations: 1.055 MB / 319.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3765, allocations: 163.9 kB / 319.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005795/0.3771, allocations: 104 kB / 320 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.3785, allocations: 0.6581 MB / 320.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3797, allocations: 240 kB / 320.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.3864, allocations: 3.74 MB / 324.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3864, allocations: 0 / 324.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3864, allocations: 0 / 324.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001758/0.3866, allocations: 0 / 324.6 MB, free: 8.242 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.008945/0.3956, allocations: 2.495 MB / 327.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.3957, allocations: 12.03 kB / 327.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.3975, allocations: 320.4 kB / 327.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.4025, allocations: 1.572 MB / 329 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.4028, allocations: 172.5 kB / 329.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009014/0.4037, allocations: 231.9 kB / 329.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.4146, allocations: 3.165 MB / 332.6 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.4148, allocations: 15.92 kB / 332.6 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.4153, allocations: 92.08 kB / 332.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.4155, allocations: 96.44 kB / 332.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009869/0.4253, allocations: 2.754 MB / 335.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03022/0.4556, allocations: 9.895 MB / 345.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/0.4619, allocations: 2.086 MB / 347.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.4625, allocations: 138.9 kB / 347.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.849e-05/0.4626, allocations: 43.56 kB / 347.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 6.082e-06/0.4626, allocations: 0 / 347.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.04612/0.5088, allocations: 8.103 MB / 355.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.5089, allocations: 64.72 kB / 355.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/0.5136, allocations: 1.441 MB / 357.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004107/0.5141, allocations: 49.7 kB / 357.4 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.5154, allocations: 1.031 MB / 358.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.5165, allocations: 485 kB / 358.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.5167, allocations: 28 kB / 358.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.517, allocations: 374.8 kB / 359.3 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.5209, allocations: 0.9174 MB / 360.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004271/0.5252, allocations: 1.271 MB / 361.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.5296, allocations: 1.076 MB / 362.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.5297, allocations: 4 kB / 362.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01046/0.5402, allocations: 2.952 MB / 365.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.5403, allocations: 8 kB / 365.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.5403, allocations: 12.44 kB / 365.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.5441, allocations: 0.8517 MB / 366.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.5466, allocations: 303.6 kB / 366.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.5655, allocations: 9.331 MB / 376 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/0.5691, allocations: 99.84 kB / 376.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/0.5697, allocations: 60 kB / 376.1 MB, free: 3.328 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.003729/0.5735, allocations: 0.8096 MB / 376.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/0.5746, allocations: 185.7 kB / 377.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.588, allocations: 2.874 MB / 380 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.588, allocations: 16 kB / 380 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.5881, allocations: 11.94 kB / 380 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-05/0.5881, allocations: 7.969 kB / 380 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.6054, allocations: 5.661 MB / 385.7 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.6055, allocations: 4 kB / 385.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.6073, allocations: 195.7 kB / 385.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004219/0.6116, allocations: 0.887 MB / 386.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003304/0.612, allocations: 35.97 kB / 386.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/0.6324, allocations: 10.85 MB / 397.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.6325, allocations: 4.375 kB / 397.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.6449, allocations: 4.339 MB / 402 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.6466, allocations: 454.8 kB / 402.5 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000602/0.6472, allocations: 32 kB / 402.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.6492, allocations: 95.84 kB / 402.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006001/0.6498, allocations: 141 kB / 402.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.65, allocations: 40 kB / 402.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002721/0.6527, allocations: 1.106 MB / 403.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.203e-06/0.6528, allocations: 0 / 403.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003058/0.6559, allocations: 0.5663 MB / 404.4 MB, free: 6.184 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.0006158/0.6565, allocations: 151 kB / 404.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008332/0.6649, allocations: 3.032 MB / 407.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.6649, allocations: 0 / 407.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005702/0.6706, allocations: 2.054 MB / 409.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/0.6748, allocations: 474.8 kB / 410.1 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.6915, allocations: 6.094 MB / 416.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/0.6952, allocations: 2.036 MB / 418.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/0.6962, allocations: 119.4 kB / 418.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6962, allocations: 0 / 418.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of Templates: time 0.3947/1.091, allocations: 86.94 MB / 0.4935 GB, free: 32.39 MB / 362.7 MB