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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.418e-05, allocations: 7.984 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3041, allocations: 38.78 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4443, allocations: 94.26 MB / 358.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4446, allocations: 87.94 kB / 358.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.344/0.7886, allocations: 40.49 MB / 398.6 MB, free: 75.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.161e-06/0.7887, allocations: 0 / 398.6 MB, free: 75.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.7888, allocations: 55.88 kB / 398.7 MB, free: 75.18 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.003765/0.7926, allocations: 1.962 MB / 400.6 MB, free: 73.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7926, allocations: 8.031 kB / 400.7 MB, free: 73.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/0.7935, allocations: 269.1 kB / 400.9 MB, free: 72.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.7963, allocations: 1.336 MB / 402.3 MB, free: 71.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.7964, allocations: 139.8 kB / 402.4 MB, free: 71.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.7968, allocations: 191.9 kB / 402.6 MB, free: 71.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00446/0.8013, allocations: 2.327 MB / 404.9 MB, free: 68.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.8014, allocations: 11.84 kB / 404.9 MB, free: 68.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.8017, allocations: 87.98 kB / 405 MB, free: 68.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-05/0.8018, allocations: 75.66 kB / 405.1 MB, free: 68.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.8055, allocations: 1.803 MB / 406.9 MB, free: 66.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.8193, allocations: 7.785 MB / 414.7 MB, free: 58.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.8215, allocations: 1.366 MB / 416 MB, free: 57.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.8232, allocations: 0.8994 MB / 416.9 MB, free: 56.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.8235, allocations: 138 kB / 417.1 MB, free: 56.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8236, allocations: 47.52 kB / 417.1 MB, free: 56.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 4.423e-06/0.8236, allocations: 4 kB / 417.1 MB, free: 56.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01262/0.8362, allocations: 5.107 MB / 422.2 MB, free: 51.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.8363, allocations: 68.72 kB / 422.3 MB, free: 51.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.8382, allocations: 1.054 MB / 423.3 MB, free: 50.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.8384, allocations: 45.7 kB / 423.4 MB, free: 50 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.8389, allocations: 0.8717 MB / 424.3 MB, free: 49.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.8393, allocations: 445.5 kB / 424.7 MB, free: 48.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8394, allocations: 32 kB / 424.7 MB, free: 48.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8396, allocations: 365.9 kB / 425.1 MB, free: 48.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8408, allocations: 0.6482 MB / 425.7 MB, free: 47.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.8421, allocations: 0.965 MB / 426.7 MB, free: 46.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.8436, allocations: 0.8053 MB / 427.5 MB, free: 45.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.37e-06/0.8436, allocations: 3.938 kB / 427.5 MB, free: 45.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006351/0.85, allocations: 2.253 MB / 429.8 MB, free: 43.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.8501, allocations: 8 kB / 429.8 MB, free: 43.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.8501, allocations: 12 kB / 429.8 MB, free: 43.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.8525, allocations: 0.4885 MB / 430.3 MB, free: 42.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.8554, allocations: 331.5 kB / 430.6 MB, free: 42.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.868, allocations: 6.648 MB / 437.2 MB, free: 35.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.8706, allocations: 87.83 kB / 437.3 MB, free: 35.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.8709, allocations: 56 kB / 437.4 MB, free: 35.4 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.0005374/0.8715, allocations: 196.6 kB / 437.6 MB, free: 35.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.872, allocations: 146.2 kB / 437.7 MB, free: 35.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007569/0.8796, allocations: 2.082 MB / 439.8 MB, free: 32.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.8797, allocations: 12 kB / 439.8 MB, free: 32.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/0.8797, allocations: 4.109 kB / 439.8 MB, free: 32.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.8798, allocations: 15.86 kB / 439.8 MB, free: 32.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.8949, allocations: 4.276 MB / 444.1 MB, free: 28.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.895, allocations: 0 / 444.1 MB, free: 28.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.8974, allocations: 228 kB / 444.3 MB, free: 28.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/0.9009, allocations: 0.5426 MB / 444.9 MB, free: 27.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.9012, allocations: 43.91 kB / 444.9 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.9163, allocations: 8.176 MB / 453.1 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.099e-06/0.9163, allocations: 7.969 kB / 453.1 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.9264, allocations: 3.152 MB / 456.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.928, allocations: 371.2 kB / 456.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/0.9285, allocations: 27.95 kB / 456.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/0.9304, allocations: 75.92 kB / 456.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/0.9308, allocations: 104.9 kB / 456.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/0.9311, allocations: 36 kB / 456.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002291/0.9334, allocations: 0.8146 MB / 457.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.9334, allocations: 0 / 457.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003319/0.9368, allocations: 479.9 kB / 458.1 MB, free: 13.85 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.0008287/0.9376, allocations: 304.8 kB / 458.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006567/0.9442, allocations: 2.254 MB / 460.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.361e-06/0.9443, allocations: 2 kB / 460.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.9488, allocations: 1.524 MB / 462.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.9528, allocations: 392.5 kB / 462.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.9639, allocations: 3.433 MB / 466 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.9663, allocations: 1.686 MB / 467.7 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002505/0.9689, allocations: 328.9 kB / 468 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.9695, allocations: 99.42 kB / 468.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of SimCode: time 2.69e-06/0.9696, allocations: 0 / 468.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of Templates: time 0.07776/1.047, allocations: 24.86 MB / 493 MB, free: 10.76 MB / 346.7 MB