Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.118e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.3902, allocations: 93.17 MB / 357 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.3906, allocations: 83.94 kB / 357 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3963/0.7869, allocations: 41.1 MB / 398.1 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.787, allocations: 0 / 398.1 MB, free: 75.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.7871, allocations: 47.94 kB / 398.2 MB, free: 75.81 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.00373/0.7909, allocations: 1.978 MB / 400.2 MB, free: 73.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7909, allocations: 12.03 kB / 400.2 MB, free: 73.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.7917, allocations: 265.2 kB / 400.4 MB, free: 73.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.7944, allocations: 1.364 MB / 401.8 MB, free: 72.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7945, allocations: 143.3 kB / 401.9 MB, free: 71.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.7949, allocations: 179.9 kB / 402.1 MB, free: 71.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.7991, allocations: 2.299 MB / 404.4 MB, free: 69.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.7992, allocations: 4 kB / 404.4 MB, free: 69.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.7995, allocations: 72 kB / 404.5 MB, free: 69.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/0.7996, allocations: 79.48 kB / 404.6 MB, free: 69.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.8033, allocations: 1.815 MB / 406.4 MB, free: 67.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.816, allocations: 7.465 MB / 413.9 MB, free: 59.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.8182, allocations: 1.279 MB / 415.1 MB, free: 58.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.8198, allocations: 0.8022 MB / 415.9 MB, free: 57.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.8201, allocations: 137.5 kB / 416.1 MB, free: 57.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8201, allocations: 51.28 kB / 416.1 MB, free: 57.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 4.073e-06/0.8201, allocations: 0 / 416.1 MB, free: 57.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.009128/0.8293, allocations: 4.084 MB / 420.2 MB, free: 53.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.8293, allocations: 68.41 kB / 420.3 MB, free: 53.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.8313, allocations: 1.165 MB / 421.4 MB, free: 52.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.8314, allocations: 41.7 kB / 421.5 MB, free: 52.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.8319, allocations: 0.893 MB / 422.4 MB, free: 51.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.8322, allocations: 362 kB / 422.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.8323, allocations: 24 kB / 422.7 MB, free: 50.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.8324, allocations: 353.9 kB / 423.1 MB, free: 50.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.8335, allocations: 0.6039 MB / 423.7 MB, free: 49.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.8348, allocations: 0.8883 MB / 424.6 MB, free: 48.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.8361, allocations: 0.7465 MB / 425.3 MB, free: 48.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.047e-06/0.8361, allocations: 4 kB / 425.3 MB, free: 48.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004843/0.8409, allocations: 2.359 MB / 427.7 MB, free: 45.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.841, allocations: 12.25 kB / 427.7 MB, free: 45.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.841, allocations: 12 kB / 427.7 MB, free: 45.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.8435, allocations: 0.7702 MB / 428.5 MB, free: 44.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.8447, allocations: 227.7 kB / 428.7 MB, free: 44.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.8571, allocations: 8.576 MB / 437.3 MB, free: 35.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8585, allocations: 84.06 kB / 437.4 MB, free: 35.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.8586, allocations: 48 kB / 437.4 MB, free: 35.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.8589, allocations: 172.7 kB / 437.6 MB, free: 35.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.8592, allocations: 142.2 kB / 437.7 MB, free: 35.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.8629, allocations: 1.866 MB / 439.6 MB, free: 33.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.863, allocations: 12 kB / 439.6 MB, free: 33.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.758e-06/0.863, allocations: 4 kB / 439.6 MB, free: 33.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.863, allocations: 3.984 kB / 439.6 MB, free: 33.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007867/0.8709, allocations: 3.964 MB / 443.6 MB, free: 29.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8709, allocations: 4 kB / 443.6 MB, free: 29.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.8722, allocations: 200 kB / 443.8 MB, free: 29.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.874, allocations: 458.9 kB / 444.2 MB, free: 28.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.8741, allocations: 27.98 kB / 444.2 MB, free: 28.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/0.8809, allocations: 6.16 MB / 450.4 MB, free: 22.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-06/0.8809, allocations: 12 kB / 450.4 MB, free: 22.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.8861, allocations: 2.861 MB / 453.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/0.887, allocations: 367.2 kB / 453.6 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.8873, allocations: 31.98 kB / 453.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.8884, allocations: 75.88 kB / 453.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.8886, allocations: 84.59 kB / 453.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.8887, allocations: 32 kB / 453.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.8903, allocations: 0.8938 MB / 454.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.25e-07/0.8903, allocations: 0 / 454.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001728/0.892, allocations: 476 kB / 455.2 MB, free: 17.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0004723/0.8925, allocations: 301.2 kB / 455.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003458/0.896, allocations: 1.954 MB / 457.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.467e-06/0.896, allocations: 5.875 kB / 457.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.8982, allocations: 1.307 MB / 458.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8999, allocations: 356.6 kB / 459.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.9058, allocations: 3.276 MB / 462.4 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.9073, allocations: 1.723 MB / 464.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0012/0.9085, allocations: 312 kB / 464.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.9089, allocations: 99.38 kB / 464.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of SimCode: time 2e-06/0.9089, allocations: 0 / 464.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of Templates: time 0.05823/0.9671, allocations: 24.3 MB / 488.8 MB, free: 15.4 MB / 346.7 MB