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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.221e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2187, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.3616, allocations: 92.73 MB / 356.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.3619, allocations: 83.95 kB / 356.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.335/0.697, allocations: 40.29 MB / 396.9 MB, free: 76.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.697, allocations: 0 / 396.9 MB, free: 76.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.6971, allocations: 51.84 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.003909/0.7011, allocations: 1.93 MB / 398.9 MB, free: 74.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7011, allocations: 12.03 kB / 398.9 MB, free: 74.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.702, allocations: 249.3 kB / 399.1 MB, free: 74.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.7046, allocations: 1.288 MB / 400.4 MB, free: 73.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.7048, allocations: 131.6 kB / 400.5 MB, free: 73.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.7051, allocations: 180.2 kB / 400.7 MB, free: 72.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.7095, allocations: 2.263 MB / 403 MB, free: 70.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.488e-05/0.7096, allocations: 3.938 kB / 403 MB, free: 70.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.7098, allocations: 79.91 kB / 403.1 MB, free: 70.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-05/0.7099, allocations: 79.5 kB / 403.1 MB, free: 70.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.7136, allocations: 1.76 MB / 404.9 MB, free: 68.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.7261, allocations: 7.132 MB / 412 MB, free: 61.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.7281, allocations: 1.258 MB / 413.3 MB, free: 60.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.7294, allocations: 0.6975 MB / 414 MB, free: 59.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.7297, allocations: 133.3 kB / 414.1 MB, free: 59.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.7298, allocations: 43.34 kB / 414.2 MB, free: 59.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 4.131e-06/0.7298, allocations: 0 / 414.2 MB, free: 59.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.02314/0.7529, allocations: 5.945 MB / 420.1 MB, free: 53.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.753, allocations: 64.41 kB / 420.2 MB, free: 53.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.7548, allocations: 0.9987 MB / 421.2 MB, free: 52.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.755, allocations: 49.7 kB / 421.2 MB, free: 52.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.7556, allocations: 0.8627 MB / 422.1 MB, free: 51.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.7559, allocations: 395.2 kB / 422.5 MB, free: 50.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.756, allocations: 24 kB / 422.5 MB, free: 50.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7562, allocations: 357.9 kB / 422.8 MB, free: 50.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.7573, allocations: 0.6312 MB / 423.5 MB, free: 49.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.7587, allocations: 0.9281 MB / 424.4 MB, free: 48.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.7601, allocations: 0.7856 MB / 425.2 MB, free: 47.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.721e-06/0.7601, allocations: 4 kB / 425.2 MB, free: 47.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004789/0.7649, allocations: 2.296 MB / 427.5 MB, free: 45.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.765, allocations: 8 kB / 427.5 MB, free: 45.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.765, allocations: 12 kB / 427.5 MB, free: 45.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.767, allocations: 0.6336 MB / 428.1 MB, free: 44.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7684, allocations: 279.5 kB / 428.4 MB, free: 44.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008341/0.7768, allocations: 6.31 MB / 434.7 MB, free: 38.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.7783, allocations: 91.88 kB / 434.8 MB, free: 38.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.7785, allocations: 51.98 kB / 434.8 MB, free: 37.96 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.000301/0.7788, allocations: 180.6 kB / 435 MB, free: 37.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.7792, allocations: 138.4 kB / 435.2 MB, free: 37.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.7836, allocations: 2.181 MB / 437.3 MB, free: 35.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7837, allocations: 16 kB / 437.4 MB, free: 35.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.7837, allocations: 4 kB / 437.4 MB, free: 35.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.7837, allocations: 3.984 kB / 437.4 MB, free: 35.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008746/0.7925, allocations: 4.33 MB / 441.7 MB, free: 31.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7925, allocations: 4 kB / 441.7 MB, free: 31.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.7935, allocations: 171.8 kB / 441.9 MB, free: 30.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.796, allocations: 0.7301 MB / 442.6 MB, free: 30.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.7961, allocations: 31.98 kB / 442.6 MB, free: 30.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.8062, allocations: 8.041 MB / 450.7 MB, free: 21.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.868e-06/0.8062, allocations: 7.938 kB / 450.7 MB, free: 21.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.812, allocations: 3.252 MB / 453.9 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/0.8129, allocations: 367.3 kB / 454.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.8131, allocations: 28 kB / 454.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8142, allocations: 83.84 kB / 454.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.8145, allocations: 104.8 kB / 454.5 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.8146, allocations: 35.98 kB / 454.5 MB, free: 17.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.8159, allocations: 0.769 MB / 455.3 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.8159, allocations: 0 / 455.3 MB, free: 16.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001782/0.8177, allocations: 483.9 kB / 455.8 MB, free: 16.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.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.0005261/0.8183, allocations: 296.9 kB / 456.1 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.8222, allocations: 2.174 MB / 458.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.209e-06/0.8222, allocations: 2 kB / 458.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.825, allocations: 1.506 MB / 459.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.827, allocations: 344.5 kB / 460.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.8331, allocations: 3.221 MB / 463.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.8346, allocations: 1.677 MB / 465 MB, free: 6.965 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001283/0.8359, allocations: 299.8 kB / 465.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.8363, allocations: 95.42 kB / 465.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of SimCode: time 1.763e-06/0.8363, allocations: 0 / 465.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of Templates: time 0.073/0.9093, allocations: 24.62 MB / 490 MB, free: 14 MB / 346.7 MB