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.707/1.707, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.795e-05, allocations: 7.984 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08219, allocations: 38.78 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01181/0.09405, allocations: 6.955 MB / 273.9 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.1007, allocations: 2.526 MB / 276.4 MB, free: 6.945 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1019, allocations: 51.81 kB / 276.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.1034, allocations: 449.5 kB / 276.9 MB, free: 6.453 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1055, allocations: 0.5372 MB / 277.4 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.1063, allocations: 211.7 kB / 277.6 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.1091, allocations: 1.08 MB / 278.7 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.1109, allocations: 0.9217 MB / 279.6 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1119, allocations: 0.5727 MB / 280.2 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.1137, allocations: 0.7982 MB / 281 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.1145, allocations: 143.9 kB / 281.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.1149, allocations: 76 kB / 281.2 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000843/0.1157, allocations: 0.5024 MB / 281.7 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.1164, allocations: 180 kB / 281.9 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004316/0.1207, allocations: 2.774 MB / 284.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1208, allocations: 0 / 284.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1208, allocations: 0 / 284.7 MB, free: 14.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.1209, allocations: 4 kB / 284.7 MB, free: 14.63 MB / 250.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.006992/0.1279, allocations: 1.945 MB / 286.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.128, allocations: 8.031 kB / 286.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.129, allocations: 241.4 kB / 286.9 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.1319, allocations: 1.165 MB / 288 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.1322, allocations: 135.5 kB / 288.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.1326, allocations: 176 kB / 288.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.139, allocations: 2.347 MB / 290.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.196e-05/0.1391, allocations: 11.84 kB / 290.7 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.1394, allocations: 76 kB / 290.8 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.1395, allocations: 87.5 kB / 290.9 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/0.1453, allocations: 1.958 MB / 292.8 MB, free: 6.359 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2488/0.3942, allocations: 7.079 MB / 299.9 MB, free: 26.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.3973, allocations: 1.289 MB / 301.2 MB, free: 26.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.3977, allocations: 117.7 kB / 301.3 MB, free: 26.33 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3978, allocations: 43.3 kB / 301.3 MB, free: 26.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.997e-06/0.3978, allocations: 0 / 301.3 MB, free: 26.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=107): time 0.02757/0.4254, allocations: 6.974 MB / 308.3 MB, free: 24.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.4255, allocations: 67.89 kB / 308.4 MB, free: 24.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.4276, allocations: 0.9992 MB / 309.4 MB, free: 23.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.4279, allocations: 46.42 kB / 309.4 MB, free: 23.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006464/0.4285, allocations: 0.8501 MB / 310.3 MB, free: 23.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.4289, allocations: 380.1 kB / 310.6 MB, free: 22.87 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4291, allocations: 20.12 kB / 310.7 MB, free: 22.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4292, allocations: 366.7 kB / 311 MB, free: 22.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.431, allocations: 0.6628 MB / 311.7 MB, free: 22.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.433, allocations: 0.9525 MB / 312.6 MB, free: 21.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.4351, allocations: 0.8076 MB / 313.4 MB, free: 21.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4352, allocations: 2.688 kB / 313.5 MB, free: 21.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006225/0.4414, allocations: 2.342 MB / 315.8 MB, free: 20.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.4415, allocations: 17.3 kB / 315.8 MB, free: 20.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.4415, allocations: 7.875 kB / 315.8 MB, free: 20.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.4439, allocations: 0.5918 MB / 316.4 MB, free: 19.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.4458, allocations: 276.3 kB / 316.7 MB, free: 19.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4564, allocations: 6.415 MB / 323.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4582, allocations: 91.97 kB / 323.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.4584, allocations: 51.98 kB / 323.2 MB, free: 14.23 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.4597, allocations: 0.5872 MB / 323.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.46, allocations: 138.3 kB / 324 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.4659, allocations: 2.176 MB / 326.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4659, allocations: 12 kB / 326.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4659, allocations: 7.953 kB / 326.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.466, allocations: 3.984 kB / 326.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4766, allocations: 4.267 MB / 330.4 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4767, allocations: 4 kB / 330.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.4782, allocations: 173.7 kB / 330.6 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.4812, allocations: 0.6517 MB / 331.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.4814, allocations: 35.97 kB / 331.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.4947, allocations: 7.911 MB / 339.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4947, allocations: 10.28 kB / 339.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009234/0.504, allocations: 3.221 MB / 342.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.5052, allocations: 351.2 kB / 342.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.5056, allocations: 35.11 kB / 342.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.5071, allocations: 88.19 kB / 342.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.5074, allocations: 84.81 kB / 343 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.5076, allocations: 28 kB / 343 MB, free: 9.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001824/0.5094, allocations: 0.7716 MB / 343.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5094, allocations: 0 / 343.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002274/0.5117, allocations: 424 kB / 344.2 MB, free: 8.672 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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 {(5,84.0%) 20,(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.0005035/0.5123, allocations: 156.5 kB / 344.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006412/0.5187, allocations: 2.224 MB / 346.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5187, allocations: 8 kB / 346.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.5231, allocations: 1.494 MB / 348.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.526, allocations: 335.4 kB / 348.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.5374, allocations: 4.64 MB / 353 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.5397, allocations: 1.665 MB / 354.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001703/0.5415, allocations: 295.9 kB / 355 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.542, allocations: 91.44 kB / 355.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.542, allocations: 0 / 355.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Templates: time 0.06745/0.6094, allocations: 21.1 MB / 376.2 MB, free: 8.547 MB / 298.7 MB