Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PI.x|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.541e-05, allocations: 0 / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08254, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01311/0.0957, allocations: 7.578 MB / 274.5 MB, free: 8.852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008228/0.104, allocations: 2.994 MB / 277.5 MB, free: 5.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.1056, allocations: 55.81 kB / 277.5 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.1078, allocations: 485.2 kB / 278 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.1109, allocations: 0.619 MB / 278.6 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1122, allocations: 255.6 kB / 278.9 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003738/0.1159, allocations: 1.303 MB / 280.2 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.118, allocations: 0.9816 MB / 281.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.1196, allocations: 0.6934 MB / 281.9 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.1219, allocations: 0.954 MB / 282.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1232, allocations: 211.8 kB / 283 MB, free: 296 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.1237, allocations: 96 kB / 283.1 MB, free: 200 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.125, allocations: 0.701 MB / 283.8 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009714/0.126, allocations: 212 kB / 284 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.1315, allocations: 3.3 MB / 287.3 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1316, allocations: 4 kB / 287.3 MB, free: 11.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1316, allocations: 0 / 287.3 MB, free: 11.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.1317, allocations: 0 / 287.3 MB, free: 11.97 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.007701/0.1395, allocations: 2.395 MB / 289.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1395, allocations: 8.031 kB / 289.7 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.1411, allocations: 324.3 kB / 290.1 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.1457, allocations: 1.514 MB / 291.6 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.146, allocations: 156 kB / 291.7 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007205/0.1467, allocations: 199.9 kB / 291.9 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/0.1552, allocations: 2.635 MB / 294.6 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/0.1553, allocations: 8 kB / 294.6 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.1556, allocations: 79.98 kB / 294.6 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.1559, allocations: 99.81 kB / 294.7 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007911/0.1638, allocations: 2.252 MB / 297 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2337/0.3975, allocations: 8.124 MB / 305.1 MB, free: 24.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.4021, allocations: 1.555 MB / 306.7 MB, free: 24.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/0.4025, allocations: 122.4 kB / 306.8 MB, free: 24.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.4026, allocations: 49.31 kB / 306.8 MB, free: 24.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=112): time 4.368e-06/0.4026, allocations: 0 / 306.8 MB, free: 24.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=128): time 0.02297/0.4256, allocations: 6.614 MB / 313.4 MB, free: 20.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4257, allocations: 68.06 kB / 313.5 MB, free: 20.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/0.4296, allocations: 1.852 MB / 315.4 MB, free: 19.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.4299, allocations: 49.67 kB / 315.4 MB, free: 19.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009106/0.4308, allocations: 1.102 MB / 316.5 MB, free: 18.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/0.4314, allocations: 440.4 kB / 316.9 MB, free: 18.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.4316, allocations: 24.88 kB / 317 MB, free: 18.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4317, allocations: 361.3 kB / 317.3 MB, free: 17.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.4338, allocations: 0.7468 MB / 318.1 MB, free: 17.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.436, allocations: 1.007 MB / 319.1 MB, free: 16.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.4384, allocations: 0.9046 MB / 320 MB, free: 16.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4384, allocations: 7.688 kB / 320 MB, free: 16.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.008291/0.4467, allocations: 2.794 MB / 322.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.4468, allocations: 37.66 kB / 322.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.4469, allocations: 8 kB / 322.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.4501, allocations: 0.8111 MB / 323.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4523, allocations: 263.6 kB / 323.9 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.4698, allocations: 9.285 MB / 333.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.4719, allocations: 99.95 kB / 333.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.4721, allocations: 55.98 kB / 333.3 MB, free: 3.578 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.4737, allocations: 0.7355 MB / 334.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.4743, allocations: 197.6 kB / 334.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/0.481, allocations: 2.484 MB / 336.7 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.4811, allocations: 12 kB / 336.8 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.4811, allocations: 8 kB / 336.8 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.4812, allocations: 8.625 kB / 336.8 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/0.504, allocations: 4.831 MB / 341.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/0.5041, allocations: 4.156 kB / 341.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/0.5073, allocations: 211.7 kB / 341.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/0.5126, allocations: 0.6702 MB / 342.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003922/0.5131, allocations: 35.97 kB / 342.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.5319, allocations: 8.321 MB / 350.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5319, allocations: 4.031 kB / 350.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.5431, allocations: 3.598 MB / 354.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.5447, allocations: 438.4 kB / 354.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.5453, allocations: 28 kB / 354.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.5471, allocations: 95.89 kB / 355 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/0.5475, allocations: 99.67 kB / 355.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.5477, allocations: 39.97 kB / 355.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003478/0.5512, allocations: 1.441 MB / 356.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.527e-06/0.5513, allocations: 0 / 356.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002858/0.5541, allocations: 0.5115 MB / 357.1 MB, free: 11.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009737/0.5552, allocations: 261.8 kB / 357.3 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007518/0.5627, allocations: 2.442 MB / 359.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5627, allocations: 3.938 kB / 359.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004888/0.5676, allocations: 1.625 MB / 361.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.571, allocations: 406.1 kB / 361.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.5854, allocations: 5.915 MB / 367.7 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/0.5885, allocations: 1.989 MB / 369.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002257/0.5908, allocations: 383.3 kB / 370.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/0.5916, allocations: 119.4 kB / 370.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5916, allocations: 0 / 370.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.07796/0.6696, allocations: 26.03 MB / 396.2 MB, free: 3.938 MB / 314.7 MB