Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.735e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09179, allocations: 38.78 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01739/0.1092, allocations: 7.738 MB / 274.7 MB, free: 8.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009009/0.1183, allocations: 2.748 MB / 277.4 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.1202, allocations: 55.81 kB / 277.5 MB, free: 5.879 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1227, allocations: 489.2 kB / 277.9 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.126, allocations: 0.6385 MB / 278.6 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1275, allocations: 239.7 kB / 278.8 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.1319, allocations: 1.462 MB / 280.3 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.1343, allocations: 1.205 MB / 281.5 MB, free: 1.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.136, allocations: 0.7713 MB / 282.3 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.1383, allocations: 1.04 MB / 283.3 MB, free: 24 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.1393, allocations: 171.9 kB / 283.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004982/0.1399, allocations: 104 kB / 283.6 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.1409, allocations: 0.6464 MB / 284.2 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.1418, allocations: 240 kB / 284.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.1475, allocations: 3.701 MB / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1476, allocations: 0 / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1476, allocations: 0 / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.1477, allocations: 4 kB / 288.2 MB, free: 11.16 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.007852/0.1556, allocations: 2.48 MB / 290.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1557, allocations: 12.02 kB / 290.6 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1571, allocations: 324.4 kB / 291 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.1616, allocations: 1.557 MB / 292.5 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.1619, allocations: 172.5 kB / 292.7 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006657/0.1626, allocations: 228 kB / 292.9 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009666/0.1723, allocations: 3.133 MB / 296 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.1724, allocations: 19.77 kB / 296.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.1728, allocations: 92 kB / 296.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.173, allocations: 100.4 kB / 296.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009227/0.1822, allocations: 2.726 MB / 299 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2809/0.4632, allocations: 9.815 MB / 308.8 MB, free: 22.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.4673, allocations: 2.101 MB / 310.9 MB, free: 21.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.4677, allocations: 120.9 kB / 311 MB, free: 21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4678, allocations: 54.03 kB / 311.1 MB, free: 20.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=126): time 3.957e-06/0.4678, allocations: 0 / 311.1 MB, free: 20.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=142): time 0.02981/0.4976, allocations: 8.099 MB / 319.2 MB, free: 16.47 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4977, allocations: 71.41 kB / 319.2 MB, free: 16.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.5006, allocations: 1.42 MB / 320.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.501, allocations: 45.42 kB / 320.7 MB, free: 15.6 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/0.5018, allocations: 1.077 MB / 321.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.5023, allocations: 490.7 kB / 322.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.5024, allocations: 31.72 kB / 322.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5026, allocations: 369.5 kB / 322.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.5049, allocations: 0.9189 MB / 323.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5074, allocations: 1.277 MB / 324.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.5099, allocations: 1.068 MB / 325.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.51, allocations: 4 kB / 325.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008152/0.5181, allocations: 3.064 MB / 329 MB, free: 7.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5182, allocations: 8 kB / 329 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.5182, allocations: 12 kB / 329 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.5215, allocations: 0.8489 MB / 329.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.5237, allocations: 303.5 kB / 330.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.54, allocations: 9.34 MB / 339.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.5421, allocations: 104 kB / 339.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.5423, allocations: 56 kB / 339.6 MB, free: 12.72 MB / 266.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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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.00209/0.5444, allocations: 0.8025 MB / 340.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.545, allocations: 193.7 kB / 340.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008579/0.5536, allocations: 2.863 MB / 343.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.5537, allocations: 12 kB / 343.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.5537, allocations: 12 kB / 343.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.5537, allocations: 7.969 kB / 343.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.57, allocations: 5.658 MB / 349.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5701, allocations: 0 / 349.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.5718, allocations: 191.8 kB / 349.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004034/0.5758, allocations: 0.9059 MB / 350.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.576, allocations: 38.42 kB / 350.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/0.5962, allocations: 10.85 MB / 361.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5962, allocations: 0 / 361.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.6081, allocations: 4.336 MB / 365.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.6097, allocations: 470.7 kB / 366 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.6102, allocations: 31.95 kB / 366 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.6118, allocations: 87.91 kB / 366.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.6123, allocations: 133.1 kB / 366.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.6125, allocations: 45.62 kB / 366.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002523/0.615, allocations: 1.083 MB / 367.3 MB, free: 240 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.615, allocations: 0 / 367.3 MB, free: 240 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002716/0.6177, allocations: 0.569 MB / 367.9 MB, free: 15.66 MB / 298.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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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.0004653/0.6182, allocations: 152.2 kB / 368.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.008007/0.6263, allocations: 3.026 MB / 371.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6263, allocations: 0.625 kB / 371.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005512/0.6318, allocations: 2.061 MB / 373.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.6354, allocations: 464 kB / 373.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.6492, allocations: 6.038 MB / 379.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/0.6521, allocations: 2.066 MB / 381.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002133/0.6542, allocations: 407.2 kB / 382.1 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.6548, allocations: 111.4 kB / 382.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6548, allocations: 0 / 382.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of Templates: time 0.09942/0.7542, allocations: 29.17 MB / 411.4 MB, free: 4.012 MB / 330.7 MB