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.795/1.795, allocations: 171.1 MB / 186.3 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.326e-05, allocations: 4 kB / 228.1 MB, free: 7.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.0902, allocations: 38.76 MB / 266.9 MB, free: 1.117 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01229/0.1025, allocations: 6.953 MB / 273.8 MB, free: 10.12 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.1094, allocations: 2.526 MB / 276.4 MB, free: 7.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1107, allocations: 51.81 kB / 276.4 MB, free: 7.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.1125, allocations: 449.5 kB / 276.9 MB, free: 7.102 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.1151, allocations: 0.5451 MB / 277.4 MB, free: 6.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.1161, allocations: 203.7 kB / 277.6 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003079/0.1192, allocations: 1.08 MB / 278.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.1211, allocations: 0.9256 MB / 279.6 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.1223, allocations: 0.5727 MB / 280.2 MB, free: 3.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.124, allocations: 0.8021 MB / 281 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.1248, allocations: 143.9 kB / 281.1 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.1252, allocations: 76 kB / 281.2 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008541/0.1261, allocations: 0.5024 MB / 281.7 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006395/0.1267, allocations: 180 kB / 281.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.1309, allocations: 2.774 MB / 284.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.131, allocations: 0 / 284.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.131, allocations: 4 kB / 284.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.553e-05/0.1311, allocations: 0 / 284.7 MB, free: 15.27 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.006185/0.1373, allocations: 1.945 MB / 286.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1373, allocations: 8.031 kB / 286.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1386, allocations: 241.4 kB / 286.8 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.1418, allocations: 1.168 MB / 288 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.142, allocations: 135.6 kB / 288.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.1425, allocations: 172 kB / 288.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006806/0.1493, allocations: 2.343 MB / 290.7 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.989e-05/0.1495, allocations: 11.84 kB / 290.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.1498, allocations: 72 kB / 290.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.1499, allocations: 83.5 kB / 290.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006313/0.1563, allocations: 1.966 MB / 292.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/0.3944, allocations: 7.075 MB / 299.9 MB, free: 26.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.3978, allocations: 1.29 MB / 301.2 MB, free: 26.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.3982, allocations: 124.8 kB / 301.3 MB, free: 26.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3983, allocations: 43.84 kB / 301.3 MB, free: 26.53 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.637e-06/0.3983, allocations: 3.438 kB / 301.3 MB, free: 26.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=107): time 0.02826/0.4266, allocations: 6.967 MB / 308.3 MB, free: 24.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4267, allocations: 67.16 kB / 308.4 MB, free: 24.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.4289, allocations: 0.9996 MB / 309.4 MB, free: 24.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.4292, allocations: 46.52 kB / 309.4 MB, free: 24.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/0.4299, allocations: 0.8352 MB / 310.2 MB, free: 23.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.4304, allocations: 376.2 kB / 310.6 MB, free: 23.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4305, allocations: 24.66 kB / 310.6 MB, free: 23.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4307, allocations: 362.7 kB / 311 MB, free: 22.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.4325, allocations: 0.6578 MB / 311.6 MB, free: 22.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.4348, allocations: 0.9576 MB / 312.6 MB, free: 21.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.4374, allocations: 0.8083 MB / 313.4 MB, free: 21.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/0.4374, allocations: 2.406 kB / 313.4 MB, free: 21.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007362/0.4448, allocations: 2.263 MB / 315.7 MB, free: 20.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.4449, allocations: 7.906 kB / 315.7 MB, free: 20.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4449, allocations: 11.88 kB / 315.7 MB, free: 20.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.4474, allocations: 0.5959 MB / 316.3 MB, free: 20.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.4493, allocations: 276.3 kB / 316.6 MB, free: 20.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.4601, allocations: 6.414 MB / 323 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.462, allocations: 91.97 kB / 323.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.4621, allocations: 51.98 kB / 323.1 MB, free: 15.2 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.001338/0.4635, allocations: 0.5871 MB / 323.7 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.4638, allocations: 137.5 kB / 323.8 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.4695, allocations: 2.181 MB / 326 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4696, allocations: 8 kB / 326 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4696, allocations: 8 kB / 326 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4696, allocations: 3.984 kB / 326 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.4803, allocations: 4.273 MB / 330.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4803, allocations: 4.875 kB / 330.3 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.4817, allocations: 175.8 kB / 330.5 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/0.4845, allocations: 0.6556 MB / 331.1 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.4847, allocations: 23.98 kB / 331.2 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.4972, allocations: 7.92 MB / 339.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.4972, allocations: 7.938 kB / 339.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009012/0.5062, allocations: 3.229 MB / 342.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.5075, allocations: 343.4 kB / 342.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.5078, allocations: 27.98 kB / 342.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.5092, allocations: 83.92 kB / 342.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/0.5095, allocations: 88.77 kB / 342.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.5097, allocations: 31.98 kB / 342.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001734/0.5114, allocations: 0.7716 MB / 343.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5114, allocations: 0 / 343.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002193/0.5136, allocations: 428 kB / 344.1 MB, free: 9.621 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.0004666/0.5141, allocations: 151.4 kB / 344.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.5204, allocations: 2.229 MB / 346.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5204, allocations: 0 / 346.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004268/0.5247, allocations: 1.501 MB / 347.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.5275, allocations: 332.6 kB / 348.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.538, allocations: 4.678 MB / 353 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.5401, allocations: 1.649 MB / 354.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.5407, allocations: 99.42 kB / 354.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5407, allocations: 0 / 354.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of Templates: time 0.103/0.6438, allocations: 55.53 MB / 410.2 MB, free: 7.184 MB / 330.7 MB