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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.596e-05, allocations: 0 / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07689, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4548, allocations: 97.79 MB / 397.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4551, allocations: 90.66 kB / 397.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1479/0.6031, allocations: 40.22 MB / 438 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6031, allocations: 4 kB / 438 MB, free: 15.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.6033, allocations: 47.69 kB / 438 MB, free: 15.28 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.00543/0.6087, allocations: 1.931 MB / 440 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6088, allocations: 8.031 kB / 440 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.61, allocations: 253.2 kB / 440.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.6138, allocations: 1.328 MB / 441.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.614, allocations: 132.8 kB / 441.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.6145, allocations: 191 kB / 441.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.6202, allocations: 2.261 MB / 444.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.93e-05/0.6203, allocations: 18.03 kB / 444.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/0.6206, allocations: 76.55 kB / 444.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.6207, allocations: 82.14 kB / 444.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/0.6253, allocations: 1.766 MB / 446.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.642, allocations: 7.167 MB / 453.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.6446, allocations: 1.247 MB / 454.5 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.6462, allocations: 0.6975 MB / 455.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.6466, allocations: 129.8 kB / 455.3 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.6467, allocations: 51.33 kB / 455.4 MB, free: 456 kB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 4.556e-06/0.6467, allocations: 0 / 455.4 MB, free: 456 kB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01913/0.6658, allocations: 5.95 MB / 461.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.6659, allocations: 64.36 kB / 461.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.6682, allocations: 1.026 MB / 462.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.6685, allocations: 41.7 kB / 462.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.6694, allocations: 0.8652 MB / 463.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.6699, allocations: 398.3 kB / 463.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.67, allocations: 24 kB / 463.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.6703, allocations: 357.9 kB / 464.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.6717, allocations: 0.6351 MB / 464.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.6734, allocations: 0.9281 MB / 465.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.6752, allocations: 0.7855 MB / 466.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.887e-06/0.6752, allocations: 4 kB / 466.4 MB, free: 5.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005728/0.6809, allocations: 2.303 MB / 468.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.681, allocations: 17.86 kB / 468.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.681, allocations: 8 kB / 468.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.6833, allocations: 0.6297 MB / 469.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.6848, allocations: 283.6 kB / 469.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6962, allocations: 6.312 MB / 476 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.698, allocations: 91.97 kB / 476 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.6981, allocations: 52 kB / 476.1 MB, free: 11.14 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.0003673/0.6985, allocations: 183.5 kB / 476.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.6989, allocations: 142.3 kB / 476.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.7042, allocations: 2.174 MB / 478.6 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.7043, allocations: 12 kB / 478.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7043, allocations: 4 kB / 478.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.7043, allocations: 7.969 kB / 478.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.7237, allocations: 4.358 MB / 483 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.7238, allocations: 352 / 483 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.7258, allocations: 175.8 kB / 483.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005168/0.731, allocations: 0.7214 MB / 483.9 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/0.7314, allocations: 35.94 kB / 483.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/0.7562, allocations: 8.029 MB / 491.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.7563, allocations: 8 kB / 491.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.7699, allocations: 3.256 MB / 495.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/0.7718, allocations: 363.2 kB / 495.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/0.7724, allocations: 24 kB / 495.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.7746, allocations: 87.91 kB / 495.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/0.7752, allocations: 100.8 kB / 495.8 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/0.7754, allocations: 35.98 kB / 495.8 MB, free: 6.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003133/0.7786, allocations: 0.7886 MB / 496.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.25e-06/0.7786, allocations: 4 kB / 496.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003813/0.7825, allocations: 471.9 kB / 497 MB, free: 5.5 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.001059/0.7835, allocations: 303.1 kB / 497.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009201/0.7928, allocations: 2.18 MB / 499.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.7928, allocations: 0 / 499.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/0.797, allocations: 1.491 MB / 0.4893 GB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.7992, allocations: 350.3 kB / 0.4896 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.8066, allocations: 3.264 MB / 0.4928 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/0.8088, allocations: 1.685 MB / 0.4944 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001381/0.8102, allocations: 300.1 kB / 0.4947 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.8106, allocations: 91.42 kB / 0.4948 GB, free: 11.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.819e-06/0.8106, allocations: 0 / 0.4948 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Templates: time 0.283/1.094, allocations: 24.94 MB / 0.5192 GB, free: 99.65 MB / 394.7 MB