Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.773e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2393, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.3799, allocations: 94.13 MB / 357.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.3802, allocations: 87.88 kB / 358 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3949/0.7752, allocations: 44.4 MB / 402.4 MB, free: 71.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.7752, allocations: 0 / 402.4 MB, free: 71.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.7754, allocations: 67.86 kB / 402.5 MB, free: 71.68 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.005163/0.7806, allocations: 2.181 MB / 404.6 MB, free: 69.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7807, allocations: 8.031 kB / 404.7 MB, free: 69.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.7819, allocations: 292.9 kB / 404.9 MB, free: 69.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.7853, allocations: 1.496 MB / 406.4 MB, free: 67.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.7855, allocations: 152 kB / 406.6 MB, free: 67.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004508/0.7859, allocations: 204 kB / 406.8 MB, free: 67.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/0.7913, allocations: 2.597 MB / 409.4 MB, free: 64.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.067e-05/0.7914, allocations: 7.906 kB / 409.4 MB, free: 64.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.7917, allocations: 84 kB / 409.5 MB, free: 64.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.409e-05/0.7918, allocations: 83.89 kB / 409.6 MB, free: 64.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/0.7966, allocations: 2.089 MB / 411.6 MB, free: 62.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.8125, allocations: 8.395 MB / 420 MB, free: 53.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.8149, allocations: 1.761 MB / 421.8 MB, free: 51.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.8167, allocations: 0.9606 MB / 422.8 MB, free: 50.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.817, allocations: 134 kB / 422.9 MB, free: 50.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.8171, allocations: 43.56 kB / 422.9 MB, free: 50.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 4.753e-06/0.8171, allocations: 0 / 422.9 MB, free: 50.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01318/0.8303, allocations: 5.242 MB / 428.2 MB, free: 45.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.8304, allocations: 64.41 kB / 428.2 MB, free: 45.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.8326, allocations: 1.277 MB / 429.5 MB, free: 43.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.8328, allocations: 45.7 kB / 429.6 MB, free: 43.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.8335, allocations: 0.9718 MB / 430.5 MB, free: 42.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.8338, allocations: 433.8 kB / 431 MB, free: 42.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.834, allocations: 24 kB / 431 MB, free: 42.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8341, allocations: 357.9 kB / 431.3 MB, free: 42.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.8353, allocations: 0.6989 MB / 432 MB, free: 41.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.8367, allocations: 0.9955 MB / 433 MB, free: 40.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.8382, allocations: 0.8364 MB / 433.9 MB, free: 39.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.501e-06/0.8382, allocations: 4 kB / 433.9 MB, free: 39.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004394/0.8426, allocations: 2.248 MB / 436.1 MB, free: 37.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.8427, allocations: 15.95 kB / 436.1 MB, free: 37.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.8427, allocations: 8 kB / 436.1 MB, free: 37.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.8439, allocations: 403.1 kB / 436.5 MB, free: 36.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8457, allocations: 339.5 kB / 436.9 MB, free: 36.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/0.8508, allocations: 4.637 MB / 441.5 MB, free: 31.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8524, allocations: 91.98 kB / 441.6 MB, free: 31.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.8526, allocations: 51.98 kB / 441.6 MB, free: 31.36 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.8529, allocations: 189.7 kB / 441.8 MB, free: 31.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.8533, allocations: 166 kB / 442 MB, free: 31.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.8576, allocations: 2.098 MB / 444.1 MB, free: 28.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.8577, allocations: 12 kB / 444.1 MB, free: 28.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.8577, allocations: 0 / 444.1 MB, free: 28.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.8577, allocations: 11.94 kB / 444.1 MB, free: 28.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009184/0.8669, allocations: 4.5 MB / 448.6 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.867, allocations: 4 kB / 448.6 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.8684, allocations: 236 kB / 448.8 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.87, allocations: 471.2 kB / 449.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.8701, allocations: 35.97 kB / 449.3 MB, free: 23.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.8766, allocations: 6.16 MB / 455.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.285e-06/0.8766, allocations: 0 / 455.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.8823, allocations: 3.297 MB / 458.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.8834, allocations: 406.9 kB / 459.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.8837, allocations: 28 kB / 459.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8848, allocations: 83.92 kB / 459.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.8851, allocations: 96.84 kB / 459.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.8853, allocations: 39.98 kB / 459.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.8871, allocations: 0.9878 MB / 460.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.78e-07/0.8872, allocations: 3.938 kB / 460.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002201/0.8894, allocations: 488.1 kB / 460.9 MB, free: 11.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.0005768/0.89, allocations: 315.4 kB / 461.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003723/0.8937, allocations: 2.163 MB / 463.4 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8938, allocations: 0 / 463.4 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.8963, allocations: 1.452 MB / 464.8 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.8987, allocations: 409.1 kB / 465.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.9062, allocations: 3.67 MB / 468.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.9079, allocations: 1.865 MB / 470.8 MB, free: 1.301 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001639/0.9096, allocations: 389.4 kB / 471.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.9101, allocations: 111.4 kB / 471.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of SimCode: time 1.766e-06/0.9101, allocations: 0 / 471.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of Templates: time 0.0677/0.9778, allocations: 25.54 MB / 496.8 MB, free: 7.285 MB / 346.7 MB