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.643/1.643, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.846e-05, allocations: 0 / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.426, allocations: 94.26 MB / 358 MB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005495/0.4267, allocations: 87.94 kB / 358.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3563/0.783, allocations: 40.5 MB / 398.6 MB, free: 75.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.7831, allocations: 0 / 398.6 MB, free: 75.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.7832, allocations: 47.94 kB / 398.6 MB, free: 75.16 MB / 314.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.004017/0.7872, allocations: 1.962 MB / 400.6 MB, free: 73.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7873, allocations: 12.03 kB / 400.6 MB, free: 73.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.7882, allocations: 265.1 kB / 400.9 MB, free: 72.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.7912, allocations: 1.336 MB / 402.2 MB, free: 71.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.7913, allocations: 143.8 kB / 402.4 MB, free: 71.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.7917, allocations: 191.9 kB / 402.5 MB, free: 71.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.7962, allocations: 2.331 MB / 404.9 MB, free: 68.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.7963, allocations: 7.906 kB / 404.9 MB, free: 68.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.7966, allocations: 87.97 kB / 405 MB, free: 68.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/0.7967, allocations: 83.59 kB / 405 MB, free: 68.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/0.8007, allocations: 1.803 MB / 406.9 MB, free: 66.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.8143, allocations: 7.786 MB / 414.6 MB, free: 58.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.8165, allocations: 1.357 MB / 416 MB, free: 57.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.8182, allocations: 0.8955 MB / 416.9 MB, free: 56.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.8185, allocations: 138 kB / 417 MB, free: 56.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.8186, allocations: 47.52 kB / 417.1 MB, free: 56.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 4.55e-06/0.8186, allocations: 4 kB / 417.1 MB, free: 56.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01254/0.8312, allocations: 5.104 MB / 422.2 MB, free: 51.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.8312, allocations: 72.66 kB / 422.3 MB, free: 51.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.833, allocations: 1.058 MB / 423.3 MB, free: 50.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.8331, allocations: 45.7 kB / 423.4 MB, free: 49.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.8336, allocations: 0.8479 MB / 424.2 MB, free: 49.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.834, allocations: 445.2 kB / 424.6 MB, free: 48.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.8341, allocations: 28 kB / 424.7 MB, free: 48.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8342, allocations: 366.7 kB / 425 MB, free: 48.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8354, allocations: 0.6521 MB / 425.7 MB, free: 47.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.8368, allocations: 0.9612 MB / 426.6 MB, free: 46.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.8383, allocations: 0.8091 MB / 427.4 MB, free: 45.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.8383, allocations: 4 kB / 427.4 MB, free: 45.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004306/0.8426, allocations: 2.164 MB / 429.6 MB, free: 43.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.8427, allocations: 8 kB / 429.6 MB, free: 43.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.8427, allocations: 12 kB / 429.6 MB, free: 43.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.8441, allocations: 0.4922 MB / 430.1 MB, free: 43.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.8458, allocations: 327.5 kB / 430.4 MB, free: 42.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.8529, allocations: 6.649 MB / 437.1 MB, free: 35.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8543, allocations: 87.83 kB / 437.2 MB, free: 35.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.8545, allocations: 56 kB / 437.2 MB, free: 35.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (153): * Single equations (assignments): 148 * 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,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.8548, allocations: 190.1 kB / 437.4 MB, free: 35.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.8551, allocations: 150.3 kB / 437.6 MB, free: 35.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.8593, allocations: 2.09 MB / 439.7 MB, free: 33.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.8593, allocations: 12 kB / 439.7 MB, free: 33.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8594, allocations: 4.109 kB / 439.7 MB, free: 33.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.8594, allocations: 15.86 kB / 439.7 MB, free: 33.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/0.8677, allocations: 4.266 MB / 444 MB, free: 28.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.075e-06/0.8677, allocations: 0 / 444 MB, free: 28.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.8691, allocations: 239.9 kB / 444.2 MB, free: 28.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.8709, allocations: 0.547 MB / 444.7 MB, free: 27.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.871, allocations: 35.97 kB / 444.8 MB, free: 27.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008429/0.8795, allocations: 8.166 MB / 452.9 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.001e-06/0.8795, allocations: 12.03 kB / 452.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.8851, allocations: 3.16 MB / 456.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/0.886, allocations: 367.2 kB / 456.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.8863, allocations: 31.95 kB / 456.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/0.8873, allocations: 75.92 kB / 456.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.8876, allocations: 104.9 kB / 456.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.8877, allocations: 32 kB / 456.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001382/0.8891, allocations: 0.8185 MB / 457.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.8891, allocations: 0 / 457.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001811/0.8909, allocations: 479.9 kB / 458 MB, free: 13.95 MB / 314.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 (100): * Single equations (assignments): 95 * 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,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/0.8915, allocations: 312 kB / 458.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.8951, allocations: 2.243 MB / 460.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.8952, allocations: 2 kB / 460.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.8976, allocations: 1.532 MB / 462.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.8997, allocations: 388.9 kB / 462.5 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.906, allocations: 3.481 MB / 465.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.9075, allocations: 1.674 MB / 467.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.908, allocations: 107.4 kB / 467.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of SimCode: time 1.702e-06/0.908, allocations: 0 / 467.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of Templates: time 0.3209/1.229, allocations: 67.24 MB / 0.5224 GB, free: 87.93 MB / 346.7 MB