Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.557e-05, allocations: 0 / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2147, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.3546, allocations: 92.71 MB / 356.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.3549, allocations: 83.95 kB / 356.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3354/0.6904, allocations: 40.28 MB / 396.8 MB, free: 76.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.129e-06/0.6904, allocations: 0 / 396.8 MB, free: 76.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001387/0.6906, allocations: 47.94 kB / 396.9 MB, free: 76.78 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004473/0.695, allocations: 1.937 MB / 398.8 MB, free: 74.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6951, allocations: 12.02 kB / 398.8 MB, free: 74.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6962, allocations: 249.4 kB / 399.1 MB, free: 74.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.6993, allocations: 1.281 MB / 400.4 MB, free: 73.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.6995, allocations: 135.5 kB / 400.5 MB, free: 73.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.6999, allocations: 196.2 kB / 400.7 MB, free: 72.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.7046, allocations: 2.251 MB / 402.9 MB, free: 70.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.7047, allocations: 11.92 kB / 403 MB, free: 70.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.7049, allocations: 72 kB / 403 MB, free: 70.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.714e-05/0.705, allocations: 83.5 kB / 403.1 MB, free: 70.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.709, allocations: 1.756 MB / 404.9 MB, free: 68.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.7229, allocations: 7.134 MB / 412 MB, free: 61.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.7249, allocations: 1.254 MB / 413.3 MB, free: 60.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.7262, allocations: 0.6937 MB / 413.9 MB, free: 59.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.7265, allocations: 133.7 kB / 414.1 MB, free: 59.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.7265, allocations: 47.34 kB / 414.1 MB, free: 59.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 4.076e-06/0.7265, allocations: 0 / 414.1 MB, free: 59.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.01612/0.7427, allocations: 5.949 MB / 420.1 MB, free: 53.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.7427, allocations: 64.41 kB / 420.1 MB, free: 53.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7445, allocations: 0.9987 MB / 421.1 MB, free: 52.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.7447, allocations: 45.7 kB / 421.2 MB, free: 52.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.7452, allocations: 0.8398 MB / 422 MB, free: 51.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.7455, allocations: 394 kB / 422.4 MB, free: 50.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.7456, allocations: 24 kB / 422.4 MB, free: 50.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7458, allocations: 366.8 kB / 422.8 MB, free: 50.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7469, allocations: 0.6312 MB / 423.4 MB, free: 49.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7482, allocations: 0.9242 MB / 424.3 MB, free: 48.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.7496, allocations: 0.7895 MB / 425.1 MB, free: 47.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.316e-06/0.7496, allocations: 4 kB / 425.1 MB, free: 47.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004594/0.7542, allocations: 2.219 MB / 427.3 MB, free: 45.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.7543, allocations: 16 kB / 427.4 MB, free: 45.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7543, allocations: 8 kB / 427.4 MB, free: 45.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.7563, allocations: 0.6295 MB / 428 MB, free: 45.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7577, allocations: 279.6 kB / 428.3 MB, free: 44.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.7661, allocations: 6.307 MB / 434.6 MB, free: 38.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.7675, allocations: 91.88 kB / 434.7 MB, free: 38.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.7677, allocations: 55.98 kB / 434.7 MB, free: 38.05 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.768, allocations: 180.6 kB / 434.9 MB, free: 37.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.7684, allocations: 134.3 kB / 435 MB, free: 37.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.7729, allocations: 2.181 MB / 437.2 MB, free: 35.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7729, allocations: 12 kB / 437.2 MB, free: 35.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.773, allocations: 4 kB / 437.2 MB, free: 35.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.773, allocations: 7.984 kB / 437.2 MB, free: 35.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/0.782, allocations: 4.322 MB / 441.6 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.7821, allocations: 4.125 kB / 441.6 MB, free: 31.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.783, allocations: 180.1 kB / 441.7 MB, free: 30.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/0.7855, allocations: 0.722 MB / 442.5 MB, free: 30.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.7857, allocations: 35.97 kB / 442.5 MB, free: 30.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.7968, allocations: 8.056 MB / 450.6 MB, free: 21.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.7969, allocations: 4 kB / 450.6 MB, free: 21.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.809, allocations: 3.26 MB / 453.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/0.8108, allocations: 355.3 kB / 454.2 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/0.8113, allocations: 28 kB / 454.2 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/0.8135, allocations: 83.91 kB / 454.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005678/0.8142, allocations: 104.7 kB / 454.4 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/0.8144, allocations: 35.98 kB / 454.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002959/0.8174, allocations: 0.7652 MB / 455.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.496e-06/0.8175, allocations: 4 kB / 455.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003997/0.8215, allocations: 479.9 kB / 455.6 MB, free: 16.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.8225, allocations: 305.7 kB / 455.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007754/0.8303, allocations: 2.16 MB / 458.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/0.8304, allocations: 4 kB / 458.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005592/0.836, allocations: 1.51 MB / 459.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003871/0.84, allocations: 336.3 kB / 460 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.8526, allocations: 3.284 MB / 463.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.8555, allocations: 1.661 MB / 464.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/0.8565, allocations: 103.4 kB / 465 MB, free: 6.914 MB / 314.7 MB Notification: Performance of SimCode: time 2.66e-06/0.8565, allocations: 0 / 465 MB, free: 6.914 MB / 314.7 MB Notification: Performance of Templates: time 0.2877/1.144, allocations: 56.63 MB / 0.5094 GB, free: 99.24 MB / 346.7 MB