Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 171.1 MB / 186.3 MB, free: 1.34 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.267e-05, allocations: 3.984 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09, allocations: 38.78 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0139/0.104, allocations: 7.648 MB / 274.5 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007557/0.1116, allocations: 2.632 MB / 277.2 MB, free: 6.801 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.1134, allocations: 55.81 kB / 277.2 MB, free: 6.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1159, allocations: 461.3 kB / 277.7 MB, free: 6.293 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.1209, allocations: 0.5684 MB / 278.3 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.123, allocations: 239.7 kB / 278.5 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005346/0.1284, allocations: 1.205 MB / 279.7 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.1312, allocations: 0.9221 MB / 280.6 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.133, allocations: 0.6388 MB / 281.3 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.1352, allocations: 0.8176 MB / 282.1 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1363, allocations: 143.9 kB / 282.2 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.1369, allocations: 80 kB / 282.3 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009767/0.1379, allocations: 0.514 MB / 282.8 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008362/0.1387, allocations: 196 kB / 283 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.1437, allocations: 2.84 MB / 285.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1438, allocations: 4 kB / 285.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1438, allocations: 0 / 285.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.1439, allocations: 0 / 285.8 MB, free: 14.11 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.006736/0.1507, allocations: 2.001 MB / 287.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1508, allocations: 12.03 kB / 287.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.1522, allocations: 257.2 kB / 288.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.156, allocations: 1.201 MB / 289.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.1563, allocations: 139.8 kB / 289.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007583/0.1571, allocations: 195.9 kB / 289.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007805/0.1649, allocations: 2.379 MB / 292 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.165, allocations: 7.906 kB / 292 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.1653, allocations: 76 kB / 292.1 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.1655, allocations: 87.64 kB / 292.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/0.1724, allocations: 1.935 MB / 294.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.412, allocations: 7.786 MB / 301.9 MB, free: 24.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.4151, allocations: 1.224 MB / 303.1 MB, free: 24.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/0.4155, allocations: 120.9 kB / 303.2 MB, free: 24.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.4156, allocations: 43.98 kB / 303.3 MB, free: 24.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=95): time 4.218e-06/0.4156, allocations: 0.6562 kB / 303.3 MB, free: 24.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=111): time 0.02264/0.4383, allocations: 5.89 MB / 309.2 MB, free: 22.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4383, allocations: 63.03 kB / 309.2 MB, free: 22.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.4409, allocations: 1.076 MB / 310.3 MB, free: 22.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.4412, allocations: 46.52 kB / 310.4 MB, free: 21.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.4418, allocations: 0.8853 MB / 311.2 MB, free: 21.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.4423, allocations: 391.1 kB / 311.6 MB, free: 20.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.4424, allocations: 25.78 kB / 311.7 MB, free: 20.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4425, allocations: 369.3 kB / 312 MB, free: 20.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.4442, allocations: 0.636 MB / 312.6 MB, free: 20.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.446, allocations: 0.9913 MB / 313.6 MB, free: 19.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.448, allocations: 0.7832 MB / 314.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.448, allocations: 2.75 kB / 314.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005637/0.4537, allocations: 2.142 MB / 316.6 MB, free: 18.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4538, allocations: 11.75 kB / 316.6 MB, free: 18.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.4538, allocations: 12.69 kB / 316.6 MB, free: 18.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.4557, allocations: 491.1 kB / 317.1 MB, free: 18.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.4578, allocations: 300 kB / 317.4 MB, free: 18.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008847/0.4666, allocations: 6.613 MB / 324 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4685, allocations: 85.25 kB / 324.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.4687, allocations: 54.19 kB / 324.1 MB, free: 12.5 MB / 250.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 (booleanStep.y,greaterThreshold.y) * 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.001393/0.4701, allocations: 0.6036 MB / 324.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.4705, allocations: 147.8 kB / 324.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/0.4756, allocations: 1.954 MB / 326.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.4757, allocations: 12 kB / 326.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.4757, allocations: 4 kB / 326.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.4757, allocations: 3.984 kB / 326.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.4861, allocations: 4.051 MB / 330.9 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.4862, allocations: 4 kB / 330.9 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4878, allocations: 191.3 kB / 331.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/0.4902, allocations: 0.5311 MB / 331.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.4904, allocations: 31.94 kB / 331.6 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.502, allocations: 8.122 MB / 339.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.502, allocations: 0 / 339.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/0.5099, allocations: 2.963 MB / 342.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.5112, allocations: 351.2 kB / 343.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/0.5117, allocations: 31.98 kB / 343.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.513, allocations: 71.92 kB / 343.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.5134, allocations: 84.88 kB / 343.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.5136, allocations: 35.98 kB / 343.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001901/0.5155, allocations: 0.8329 MB / 344.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5155, allocations: 0 / 344.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002514/0.518, allocations: 434.6 kB / 344.5 MB, free: 8.383 MB / 266.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 (booleanStep.y,greaterThreshold.y) * 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.0005157/0.5186, allocations: 157 kB / 344.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005799/0.5244, allocations: 2.214 MB / 346.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.5245, allocations: 0 / 346.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.5285, allocations: 1.503 MB / 348.4 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.5316, allocations: 376.7 kB / 348.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5429, allocations: 4.893 MB / 353.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.5449, allocations: 1.672 MB / 355.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.5456, allocations: 107.4 kB / 355.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5456, allocations: 0 / 355.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Templates: time 0.1211/0.6667, allocations: 65.88 MB / 421.3 MB, free: 11.28 MB / 346.7 MB