Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.078e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01301/0.3149, allocations: 7.65 MB / 311 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008001/0.323, allocations: 3.034 MB / 314 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3242, allocations: 55.81 kB / 314.1 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3258, allocations: 489.2 kB / 314.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.3284, allocations: 0.6268 MB / 315.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3296, allocations: 263.6 kB / 315.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.3329, allocations: 1.311 MB / 316.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.3348, allocations: 0.9816 MB / 317.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.3361, allocations: 0.6895 MB / 318.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.338, allocations: 0.9852 MB / 319.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3391, allocations: 275.7 kB / 319.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3395, allocations: 96 kB / 319.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3406, allocations: 0.74 MB / 320.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.3413, allocations: 216 kB / 320.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004891/0.3462, allocations: 3.343 MB / 324.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3463, allocations: 0 / 324.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3463, allocations: 4 kB / 324.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.898e-05/0.3464, allocations: 0 / 324.1 MB, free: 8.805 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006958/0.3534, allocations: 2.415 MB / 326.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3534, allocations: 8.031 kB / 326.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3547, allocations: 324.3 kB / 326.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.3591, allocations: 1.553 MB / 328.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.3593, allocations: 152 kB / 328.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.3598, allocations: 199.9 kB / 328.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007492/0.3673, allocations: 2.667 MB / 331.4 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.838e-05/0.3674, allocations: 8 kB / 331.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.3677, allocations: 83.94 kB / 331.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.3679, allocations: 99.92 kB / 331.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007076/0.375, allocations: 2.272 MB / 333.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.3963, allocations: 8.197 MB / 342 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/0.401, allocations: 1.602 MB / 343.6 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.4014, allocations: 126.1 kB / 343.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.4015, allocations: 47.56 kB / 343.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.167e-06/0.4015, allocations: 0 / 343.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.02303/0.4245, allocations: 6.457 MB / 350.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4246, allocations: 64.72 kB / 350.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.4287, allocations: 1.885 MB / 352.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.429, allocations: 45.7 kB / 352.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.4303, allocations: 1.104 MB / 353.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.4309, allocations: 461.4 kB / 353.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.4311, allocations: 24 kB / 353.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.4313, allocations: 357.9 kB / 354.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.4338, allocations: 0.7613 MB / 354.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.4364, allocations: 1.018 MB / 355.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.4391, allocations: 0.9099 MB / 356.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.4391, allocations: 8 kB / 356.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00892/0.448, allocations: 2.82 MB / 359.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.4481, allocations: 41.64 kB / 359.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.4482, allocations: 8 kB / 359.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/0.4518, allocations: 0.8018 MB / 360.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.454, allocations: 279.5 kB / 360.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.4742, allocations: 9.265 MB / 370.1 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.4764, allocations: 104 kB / 370.2 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.4766, allocations: 51.98 kB / 370.2 MB, free: 9.504 MB / 314.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 (125): * Single equations (assignments): 120 * 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.001906/0.4785, allocations: 0.7355 MB / 371 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/0.4791, allocations: 209.4 kB / 371.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00775/0.4868, allocations: 2.508 MB / 373.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/0.4869, allocations: 16 kB / 373.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.4869, allocations: 8.375 kB / 373.7 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.487, allocations: 7.969 kB / 373.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.501, allocations: 4.894 MB / 378.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.501, allocations: 12.02 kB / 378.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.503, allocations: 207.7 kB / 378.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/0.5061, allocations: 0.6762 MB / 379.5 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.5063, allocations: 43.95 kB / 379.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.5213, allocations: 8.321 MB / 387.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.5214, allocations: 7.969 kB / 387.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.5318, allocations: 3.622 MB / 391.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.5332, allocations: 454.2 kB / 391.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/0.5337, allocations: 28 kB / 392 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.5354, allocations: 91.91 kB / 392 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.5358, allocations: 108.7 kB / 392.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.536, allocations: 39.97 kB / 392.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003247/0.5392, allocations: 1.468 MB / 393.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5392, allocations: 0 / 393.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002545/0.5418, allocations: 0.5235 MB / 394.2 MB, free: 0.8672 MB / 330.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 (94): * Single equations (assignments): 88 * 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.001046/0.5429, allocations: 288.8 kB / 394.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007347/0.5502, allocations: 2.454 MB / 396.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5503, allocations: 4 kB / 396.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.5549, allocations: 1.655 MB / 398.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.5581, allocations: 414.5 kB / 399 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.5715, allocations: 5.971 MB / 405 MB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.5741, allocations: 1.998 MB / 407 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002076/0.5762, allocations: 383.6 kB / 407.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.5768, allocations: 127.4 kB / 407.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5768, allocations: 0 / 407.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of Templates: time 0.3231/0.9, allocations: 26.73 MB / 434.2 MB, free: 98.95 MB / 362.7 MB