Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.234e-05, allocations: 6.188 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09074, allocations: 38.76 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01343/0.1042, allocations: 7.401 MB / 274.3 MB, free: 9.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007422/0.1117, allocations: 2.639 MB / 276.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1134, allocations: 55.81 kB / 277 MB, free: 6.992 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.1156, allocations: 473.3 kB / 277.4 MB, free: 6.527 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.1192, allocations: 0.5879 MB / 278 MB, free: 5.938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.1206, allocations: 219.7 kB / 278.3 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.1247, allocations: 1.295 MB / 279.5 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.127, allocations: 1.013 MB / 280.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.1288, allocations: 0.6778 MB / 281.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.1313, allocations: 0.9267 MB / 282.2 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1325, allocations: 155.9 kB / 282.3 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004968/0.1331, allocations: 88 kB / 282.4 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.1341, allocations: 0.5958 MB / 283 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007991/0.1349, allocations: 212 kB / 283.2 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005026/0.1399, allocations: 3.198 MB / 286.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.14, allocations: 4 kB / 286.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.14, allocations: 3.938 kB / 286.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.1402, allocations: 0 / 286.4 MB, free: 13.53 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007062/0.1472, allocations: 2.201 MB / 288.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1473, allocations: 8.031 kB / 288.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.1488, allocations: 292.8 kB / 288.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.1528, allocations: 1.36 MB / 290.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.1531, allocations: 155.9 kB / 290.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007242/0.1538, allocations: 203.9 kB / 290.6 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008993/0.1628, allocations: 2.681 MB / 293.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.163, allocations: 4 kB / 293.3 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.1634, allocations: 83.98 kB / 293.4 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.1635, allocations: 91.89 kB / 293.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008338/0.1719, allocations: 2.307 MB / 295.8 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2528/0.4247, allocations: 8.341 MB / 304.1 MB, free: 24.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.4288, allocations: 1.775 MB / 305.9 MB, free: 23.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.4293, allocations: 127.9 kB / 306 MB, free: 23.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.4293, allocations: 45.47 kB / 306.1 MB, free: 23.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=104): time 4.438e-06/0.4294, allocations: 0 / 306.1 MB, free: 23.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=120): time 0.02488/0.4542, allocations: 6.192 MB / 312.3 MB, free: 21.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.4544, allocations: 63.25 kB / 312.3 MB, free: 21.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.4578, allocations: 1.28 MB / 313.6 MB, free: 20.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.4582, allocations: 49.34 kB / 313.6 MB, free: 20.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008264/0.459, allocations: 0.9235 MB / 314.6 MB, free: 19.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007144/0.4597, allocations: 418.5 kB / 315 MB, free: 19.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.4599, allocations: 26.47 kB / 315 MB, free: 19.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.46, allocations: 365.1 kB / 315.4 MB, free: 18.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.4623, allocations: 0.743 MB / 316.1 MB, free: 18.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.4647, allocations: 1.066 MB / 317.2 MB, free: 17.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.4672, allocations: 0.8922 MB / 318.1 MB, free: 17.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/0.4673, allocations: 3.906 kB / 318.1 MB, free: 17.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006665/0.4739, allocations: 2.265 MB / 320.3 MB, free: 16.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.474, allocations: 9.312 kB / 320.3 MB, free: 16.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.4741, allocations: 10.09 kB / 320.3 MB, free: 16.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.4757, allocations: 414.6 kB / 320.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.4783, allocations: 326.2 kB / 321.1 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/0.4855, allocations: 4.75 MB / 325.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.4878, allocations: 95.86 kB / 325.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.4882, allocations: 58.19 kB / 326 MB, free: 11.53 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002128/0.4903, allocations: 0.7041 MB / 326.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.491, allocations: 158 kB / 326.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/0.497, allocations: 2.166 MB / 329 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.4971, allocations: 17.84 kB / 329 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.4971, allocations: 4 kB / 329 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.4972, allocations: 5.766 kB / 329 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5097, allocations: 4.549 MB / 333.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.5098, allocations: 0 / 333.6 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.5117, allocations: 224 kB / 333.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.5138, allocations: 471.5 kB / 334.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/0.514, allocations: 35.98 kB / 334.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009585/0.5236, allocations: 6.273 MB / 340.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5237, allocations: 4.031 kB / 340.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009495/0.5332, allocations: 3.361 MB / 343.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.5348, allocations: 399 kB / 344.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004801/0.5353, allocations: 28 kB / 344.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.5368, allocations: 87.86 kB / 344.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.5372, allocations: 96.8 kB / 344.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.5374, allocations: 35.98 kB / 344.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002389/0.5398, allocations: 0.9892 MB / 345.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5398, allocations: 0 / 345.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002558/0.5424, allocations: 458.8 kB / 346 MB, free: 6.871 MB / 266.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005141/0.543, allocations: 151.7 kB / 346.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00645/0.5494, allocations: 2.29 MB / 348.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.5495, allocations: 5.406 kB / 348.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004428/0.5539, allocations: 1.51 MB / 349.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/0.5575, allocations: 409 kB / 350.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.5711, allocations: 5.311 MB / 355.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.574, allocations: 1.826 MB / 357.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009249/0.575, allocations: 119.4 kB / 357.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.575, allocations: 0 / 357.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Templates: time 0.1392/0.7142, allocations: 65.37 MB / 423 MB, free: 9.602 MB / 346.7 MB