Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.63e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.07987, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4519, allocations: 104.1 MB / 404 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4522, allocations: 92.59 kB / 404.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1982/0.6505, allocations: 51.39 MB / 455.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.6505, allocations: 4 kB / 455.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.6507, allocations: 59.92 kB / 455.6 MB, free: 15.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006204/0.6569, allocations: 2.449 MB / 458 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.657, allocations: 12.03 kB / 458 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.6584, allocations: 336.3 kB / 458.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.6635, allocations: 1.754 MB / 460.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.6637, allocations: 148.3 kB / 460.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005789/0.6643, allocations: 204.2 kB / 460.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006219/0.6705, allocations: 2.577 MB / 463 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/0.6706, allocations: 4 kB / 463 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.671, allocations: 91.92 kB / 463.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.6711, allocations: 91.94 kB / 463.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.6764, allocations: 2.03 MB / 465.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.6968, allocations: 8.322 MB / 473.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.7007, allocations: 1.59 MB / 475.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.703, allocations: 0.9689 MB / 476.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.7034, allocations: 142 kB / 476.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.7035, allocations: 43.56 kB / 476.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.946e-06/0.7035, allocations: 4 kB / 476.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01383/0.7174, allocations: 5.032 MB / 481.3 MB, free: 6.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.7175, allocations: 68.7 kB / 481.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.7218, allocations: 1.862 MB / 483.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.722, allocations: 45.7 kB / 483.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.7233, allocations: 1.088 MB / 484.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000633/0.724, allocations: 469.2 kB / 484.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7241, allocations: 32 kB / 484.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.7244, allocations: 361.9 kB / 485.2 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.726, allocations: 0.7107 MB / 486 MB, free: 1.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.728, allocations: 0.9512 MB / 486.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.73, allocations: 0.881 MB / 487.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.909e-06/0.73, allocations: 0 / 487.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007142/0.7371, allocations: 2.735 MB / 490.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.7372, allocations: 37.64 kB / 490.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.7373, allocations: 8.25 kB / 490.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/0.7404, allocations: 0.8379 MB / 491.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.7421, allocations: 275.6 kB / 491.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.7604, allocations: 9.285 MB / 0.4892 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.7622, allocations: 95.89 kB / 0.4893 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.7624, allocations: 55.98 kB / 0.4894 GB, free: 1.969 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.7628, allocations: 176.7 kB / 0.4895 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/0.7634, allocations: 201.5 kB / 0.4897 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/0.7698, allocations: 2.47 MB / 0.4921 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.7699, allocations: 12 kB / 0.4921 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.7699, allocations: 12 kB / 0.4922 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/0.7699, allocations: 7.969 kB / 0.4922 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.7828, allocations: 5 MB / 0.497 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.7829, allocations: 3.984 kB / 0.497 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7844, allocations: 219.9 kB / 0.4973 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/0.7873, allocations: 0.7008 MB / 0.4979 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.7875, allocations: 39.98 kB / 0.498 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.802, allocations: 8.46 MB / 0.5062 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.443e-06/0.802, allocations: 0 / 0.5062 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.228/1.03, allocations: 3.6 MB / 0.5098 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.031, allocations: 477.7 kB / 0.5102 GB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.032, allocations: 38.61 kB / 0.5103 GB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.034, allocations: 89.45 kB / 0.5103 GB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008433/1.035, allocations: 111.2 kB / 0.5104 GB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004234/1.035, allocations: 42.5 kB / 0.5105 GB, free: 93.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005152/1.041, allocations: 1.441 MB / 0.5119 GB, free: 92.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.897e-06/1.041, allocations: 0 / 0.5119 GB, free: 92.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003718/1.044, allocations: 0.5955 MB / 0.5125 GB, free: 92.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/1.046, allocations: 490.1 kB / 0.5129 GB, free: 92.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006202/1.053, allocations: 2.391 MB / 0.5153 GB, free: 92.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.23e-06/1.053, allocations: 0.9688 kB / 0.5153 GB, free: 92.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003495/1.056, allocations: 1.642 MB / 0.5169 GB, free: 91.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.059, allocations: 411.5 kB / 0.5173 GB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009189/1.068, allocations: 4.263 MB / 0.5214 GB, free: 91.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/1.07, allocations: 2.004 MB / 0.5234 GB, free: 90.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002044/1.072, allocations: 401.6 kB / 0.5238 GB, free: 90.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/1.073, allocations: 133.4 kB / 0.5239 GB, free: 90.21 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/1.073, allocations: 0 / 0.5239 GB, free: 90.21 MB / 394.7 MB Notification: Performance of Templates: time 0.07487/1.148, allocations: 31.26 MB / 0.5544 GB, free: 88.29 MB / 394.7 MB