Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.819e-05, allocations: 7.156 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07455/0.0746, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.415, allocations: 97.79 MB / 397.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4153, allocations: 87.86 kB / 397.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1434/0.5587, allocations: 40.22 MB / 438 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5587, allocations: 7.938 kB / 438 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.5589, allocations: 43.94 kB / 438 MB, free: 15.66 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00509/0.564, allocations: 1.938 MB / 439.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.564, allocations: 8.031 kB / 440 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5653, allocations: 253.2 kB / 440.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.5691, allocations: 1.33 MB / 441.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.5693, allocations: 134 kB / 441.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/0.5699, allocations: 185.4 kB / 441.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.5759, allocations: 2.261 MB / 444.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.576, allocations: 18.41 kB / 444.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.5763, allocations: 73.44 kB / 444.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.5764, allocations: 83.02 kB / 444.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.5813, allocations: 1.765 MB / 446 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.5983, allocations: 7.167 MB / 453.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.6012, allocations: 1.246 MB / 454.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.6029, allocations: 0.6977 MB / 455.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.6032, allocations: 133.8 kB / 455.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.6033, allocations: 47.34 kB / 455.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 4.604e-06/0.6033, allocations: 0 / 455.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01934/0.6226, allocations: 5.961 MB / 461.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.6227, allocations: 64.36 kB / 461.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.6252, allocations: 1.018 MB / 462.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.6255, allocations: 45.7 kB / 462.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007824/0.6262, allocations: 0.836 MB / 463.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.6268, allocations: 398.3 kB / 463.6 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.6269, allocations: 28 kB / 463.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.6271, allocations: 362.8 kB / 464 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.6287, allocations: 0.6312 MB / 464.7 MB, free: 7.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.6306, allocations: 0.932 MB / 465.6 MB, free: 6.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.6326, allocations: 0.7856 MB / 466.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-06/0.6326, allocations: 3.938 kB / 466.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005868/0.6385, allocations: 2.223 MB / 468.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.6386, allocations: 8 kB / 468.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6386, allocations: 8 kB / 468.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.641, allocations: 0.6375 MB / 469.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6425, allocations: 279.6 kB / 469.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.654, allocations: 6.308 MB / 475.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6555, allocations: 95.88 kB / 475.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.6557, allocations: 55.98 kB / 476 MB, free: 11.71 MB / 362.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.0003646/0.6561, allocations: 176.6 kB / 476.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.6565, allocations: 142.3 kB / 476.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/0.6623, allocations: 2.177 MB / 478.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.6623, allocations: 12 kB / 478.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.6624, allocations: 8 kB / 478.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.6624, allocations: 3.984 kB / 478.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.6738, allocations: 4.35 MB / 482.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.6738, allocations: 4.344 kB / 482.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6749, allocations: 175.8 kB / 483 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/0.6778, allocations: 0.7214 MB / 483.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.678, allocations: 39.94 kB / 483.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.6921, allocations: 8.037 MB / 491.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.337e-06/0.6922, allocations: 4 kB / 491.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007621/0.6998, allocations: 3.252 MB / 495.1 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/0.7008, allocations: 359.3 kB / 495.4 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.7011, allocations: 35.92 kB / 495.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7022, allocations: 83.91 kB / 495.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.7025, allocations: 100.9 kB / 495.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.7026, allocations: 36 kB / 495.7 MB, free: 7.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001878/0.7045, allocations: 0.7964 MB / 496.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.7045, allocations: 0 / 496.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00195/0.7065, allocations: 471.9 kB / 496.9 MB, free: 6.07 MB / 378.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.00061/0.7071, allocations: 292.8 kB / 497.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.7125, allocations: 2.175 MB / 499.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.7126, allocations: 0 / 499.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003565/0.7162, allocations: 1.491 MB / 0.4891 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.7183, allocations: 352.2 kB / 0.4895 GB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008234/0.7266, allocations: 3.315 MB / 0.4927 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.7289, allocations: 1.673 MB / 0.4944 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.7294, allocations: 99.42 kB / 0.4944 GB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.679e-06/0.7294, allocations: 0 / 0.4944 GB, free: 12.46 MB / 394.7 MB Notification: Performance of Templates: time 0.2846/1.014, allocations: 57.1 MB / 0.5502 GB, free: 89.75 MB / 394.7 MB