Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.946e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0756/0.07565, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4305, allocations: 98.29 MB / 398.2 MB, free: 17.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4308, allocations: 90.31 kB / 398.3 MB, free: 17.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1598/0.5906, allocations: 41 MB / 439.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.724e-06/0.5906, allocations: 3.938 kB / 439.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.5908, allocations: 47.94 kB / 439.3 MB, free: 13.92 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005456/0.5963, allocations: 1.985 MB / 441.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5964, allocations: 8.031 kB / 441.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5975, allocations: 265.1 kB / 441.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.6014, allocations: 1.411 MB / 443 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.6015, allocations: 136.6 kB / 443.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004655/0.602, allocations: 180 kB / 443.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005403/0.6074, allocations: 2.313 MB / 445.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.492e-05/0.6076, allocations: 0 / 445.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/0.608, allocations: 81.8 kB / 445.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.6081, allocations: 81.81 kB / 445.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.6126, allocations: 1.819 MB / 447.6 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.6293, allocations: 7.494 MB / 455.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.6321, allocations: 1.274 MB / 456.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.634, allocations: 0.81 MB / 457.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.6343, allocations: 137.8 kB / 457.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.6344, allocations: 47.3 kB / 457.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 4.068e-06/0.6344, allocations: 0 / 457.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01396/0.6484, allocations: 4.095 MB / 461.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6486, allocations: 64.39 kB / 461.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/0.6536, allocations: 1.184 MB / 462.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.6539, allocations: 41.7 kB / 462.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.6555, allocations: 0.897 MB / 463.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.6563, allocations: 366.7 kB / 464 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.6566, allocations: 24 kB / 464 MB, free: 7.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003473/0.6569, allocations: 353.9 kB / 464.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.6596, allocations: 0.6078 MB / 465 MB, free: 6.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.6627, allocations: 0.8923 MB / 465.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.6659, allocations: 0.7387 MB / 466.6 MB, free: 4.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.6659, allocations: 4 kB / 466.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01151/0.6775, allocations: 2.363 MB / 469 MB, free: 2.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.6775, allocations: 8 kB / 469 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.6776, allocations: 8 kB / 469 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/0.6829, allocations: 0.7706 MB / 469.7 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.6852, allocations: 235.6 kB / 470 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03267/0.7179, allocations: 8.554 MB / 478.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.7212, allocations: 83.83 kB / 478.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/0.7216, allocations: 47.98 kB / 478.7 MB, free: 8.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006948/0.7223, allocations: 176.8 kB / 478.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/0.7231, allocations: 138.3 kB / 479 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007079/0.7302, allocations: 1.874 MB / 480.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.7303, allocations: 12 kB / 480.8 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7303, allocations: 4 kB / 480.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.7303, allocations: 7.969 kB / 480.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00983/0.7401, allocations: 3.957 MB / 484.8 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.7402, allocations: 4 kB / 484.8 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.7414, allocations: 199.7 kB / 485 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.7433, allocations: 471.2 kB / 485.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.7434, allocations: 39.91 kB / 485.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009039/0.7525, allocations: 6.16 MB / 491.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7525, allocations: 0 / 491.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.7587, allocations: 2.868 MB / 494.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.7598, allocations: 363.2 kB / 494.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.7601, allocations: 27.98 kB / 494.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7612, allocations: 79.92 kB / 495 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.7614, allocations: 76.61 kB / 495.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.7616, allocations: 31.98 kB / 495.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001961/0.7635, allocations: 0.9094 MB / 496 MB, free: 6.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.7636, allocations: 4 kB / 496 MB, free: 6.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002045/0.7656, allocations: 479.9 kB / 496.5 MB, free: 6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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 {(2,100.0%) 12,(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.0006332/0.7663, allocations: 298.4 kB / 496.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004374/0.7707, allocations: 1.942 MB / 498.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7707, allocations: 0 / 498.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.7734, allocations: 1.305 MB / 0.4883 GB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.7755, allocations: 364.2 kB / 0.4887 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.7829, allocations: 3.296 MB / 0.4919 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.785, allocations: 1.724 MB / 0.4936 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00132/0.7863, allocations: 320.1 kB / 0.4939 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.7868, allocations: 95.42 kB / 0.494 GB, free: 12.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.67e-06/0.7868, allocations: 0 / 0.494 GB, free: 12.49 MB / 394.7 MB Notification: Performance of Templates: time 0.2989/1.086, allocations: 24.64 MB / 0.518 GB, free: 97.73 MB / 394.7 MB