Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.794e-05, allocations: 8 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0793/0.07935, allocations: 44.49 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.4682, allocations: 99.34 MB / 399.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4685, allocations: 82.48 kB / 399.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1632/0.6317, allocations: 44.52 MB / 443.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.6318, allocations: 0 / 443.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.632, allocations: 59.94 kB / 443.9 MB, free: 10 MB / 330.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.00614/0.6382, allocations: 2.184 MB / 446.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6382, allocations: 8.031 kB / 446.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.6396, allocations: 292.8 kB / 446.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.6439, allocations: 1.545 MB / 447.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.6441, allocations: 149.8 kB / 448.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.6446, allocations: 206.5 kB / 448.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006168/0.6508, allocations: 2.625 MB / 450.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-05/0.6509, allocations: 7.938 kB / 450.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.6512, allocations: 87.38 kB / 451 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.6513, allocations: 86.62 kB / 451.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/0.6564, allocations: 2.106 MB / 453.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.6756, allocations: 8.442 MB / 461.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.6788, allocations: 1.769 MB / 463.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.681, allocations: 0.9566 MB / 464.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003919/0.6814, allocations: 142 kB / 464.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.6815, allocations: 43.56 kB / 464.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 7.134e-06/0.6815, allocations: 3.984 kB / 464.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.01588/0.6974, allocations: 5.242 MB / 469.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.6975, allocations: 68.41 kB / 469.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.7004, allocations: 1.297 MB / 471.1 MB, free: 400 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.7007, allocations: 45.7 kB / 471.2 MB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.7018, allocations: 0.9875 MB / 472.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.7023, allocations: 417.9 kB / 472.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.7025, allocations: 32 kB / 472.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.7027, allocations: 353.9 kB / 472.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.7044, allocations: 0.6989 MB / 473.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.7065, allocations: 0.9915 MB / 474.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.7085, allocations: 0.8481 MB / 475.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.7086, allocations: 4 kB / 475.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005661/0.7142, allocations: 2.244 MB / 477.7 MB, free: 9.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.7143, allocations: 11.94 kB / 477.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.7143, allocations: 8 kB / 477.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7157, allocations: 407.4 kB / 478.1 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.7178, allocations: 339.5 kB / 478.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007208/0.725, allocations: 4.629 MB / 483.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.7267, allocations: 99.83 kB / 483.2 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.727, allocations: 59.92 kB / 483.3 MB, free: 3.793 MB / 362.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.0004136/0.7274, allocations: 180.6 kB / 483.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.7279, allocations: 162 kB / 483.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/0.7331, allocations: 2.106 MB / 485.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.7332, allocations: 15.98 kB / 485.7 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.7332, allocations: 3.984 kB / 485.7 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.7332, allocations: 7.984 kB / 485.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.7448, allocations: 4.509 MB / 490.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.7449, allocations: 0 / 490.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.7464, allocations: 243.9 kB / 490.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.7482, allocations: 466.9 kB / 490.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.7484, allocations: 35.98 kB / 491 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009008/0.7574, allocations: 6.164 MB / 497.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.646e-06/0.7575, allocations: 7.969 kB / 497.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/0.7647, allocations: 3.285 MB / 0.4887 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.7662, allocations: 411 kB / 0.4891 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.7667, allocations: 28 kB / 0.4891 GB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.7681, allocations: 79.91 kB / 0.4892 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/0.7685, allocations: 120.9 kB / 0.4893 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.7686, allocations: 35.98 kB / 0.4893 GB, free: 1.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002367/0.771, allocations: 1.003 MB / 0.4903 GB, free: 248 kB / 378.7 MB Notification: Performance of sort global known variables: time 9.95e-07/0.771, allocations: 0 / 0.4903 GB, free: 248 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002465/0.7735, allocations: 488 kB / 0.4908 GB, free: 15.76 MB / 394.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.0007718/0.7743, allocations: 306.2 kB / 0.4911 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005056/0.7794, allocations: 2.157 MB / 0.4932 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.7794, allocations: 4 kB / 0.4932 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.7827, allocations: 1.45 MB / 0.4946 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.7855, allocations: 421.1 kB / 0.495 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009273/0.7948, allocations: 3.693 MB / 0.4986 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.7973, allocations: 1.873 MB / 0.5004 GB, free: 5.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001922/0.7992, allocations: 393.5 kB / 0.5008 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.7999, allocations: 111.4 kB / 0.5009 GB, free: 5.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.897e-06/0.7999, allocations: 0 / 0.5009 GB, free: 5.156 MB / 394.7 MB Notification: Performance of Templates: time 0.3155/1.115, allocations: 25.88 MB / 0.5262 GB, free: 95.77 MB / 394.7 MB