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.91/1.91, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.325e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.3524, allocations: 98.32 MB / 362.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.3528, allocations: 83.95 kB / 362.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4055/0.7583, allocations: 48.8 MB / 411 MB, free: 63.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7584, allocations: 4 kB / 411 MB, free: 63.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.7586, allocations: 55.94 kB / 411.1 MB, free: 63.68 MB / 314.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.004981/0.7636, allocations: 2.422 MB / 413.5 MB, free: 61.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7636, allocations: 11.97 kB / 413.5 MB, free: 61.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7648, allocations: 332.3 kB / 413.8 MB, free: 60.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.7686, allocations: 1.713 MB / 415.5 MB, free: 59.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7688, allocations: 152 kB / 415.7 MB, free: 58.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.7692, allocations: 199.9 kB / 415.9 MB, free: 58.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/0.7744, allocations: 2.557 MB / 418.4 MB, free: 56.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.7745, allocations: 7.938 kB / 418.4 MB, free: 56.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.7748, allocations: 80 kB / 418.5 MB, free: 56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.7749, allocations: 87.89 kB / 418.6 MB, free: 55.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.7791, allocations: 2.023 MB / 420.6 MB, free: 53.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.7945, allocations: 8.278 MB / 428.9 MB, free: 45.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.7975, allocations: 1.561 MB / 430.5 MB, free: 43.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.7992, allocations: 0.9481 MB / 431.4 MB, free: 42.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.7996, allocations: 142 kB / 431.5 MB, free: 42.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.7996, allocations: 44.12 kB / 431.6 MB, free: 42.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 4.639e-06/0.7996, allocations: 0 / 431.6 MB, free: 42.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01105/0.8107, allocations: 4.987 MB / 436.6 MB, free: 37.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.8108, allocations: 64.72 kB / 436.6 MB, free: 37.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.814, allocations: 1.826 MB / 438.5 MB, free: 35.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.8142, allocations: 57.64 kB / 438.5 MB, free: 35.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/0.815, allocations: 1.072 MB / 439.6 MB, free: 34.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.8154, allocations: 461.4 kB / 440 MB, free: 34.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.8155, allocations: 28 kB / 440.1 MB, free: 33.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.8156, allocations: 353.9 kB / 440.4 MB, free: 33.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.8169, allocations: 0.7107 MB / 441.1 MB, free: 32.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.8184, allocations: 0.9589 MB / 442.1 MB, free: 31.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.8199, allocations: 0.8733 MB / 443 MB, free: 30.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.82, allocations: 4 kB / 443 MB, free: 30.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005726/0.8257, allocations: 2.716 MB / 445.7 MB, free: 28.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.8258, allocations: 33.7 kB / 445.7 MB, free: 28.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.8258, allocations: 8 kB / 445.7 MB, free: 28.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/0.8285, allocations: 0.8463 MB / 446.6 MB, free: 27.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.83, allocations: 271.6 kB / 446.8 MB, free: 27.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.8436, allocations: 9.282 MB / 456.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.8452, allocations: 99.89 kB / 456.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.8454, allocations: 44 kB / 456.3 MB, free: 17.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.8458, allocations: 185.8 kB / 456.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.8462, allocations: 197.6 kB / 456.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.8513, allocations: 2.454 MB / 459.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.8513, allocations: 16 kB / 459.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.8513, allocations: 4 kB / 459.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.8514, allocations: 11.97 kB / 459.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.8617, allocations: 4.964 MB / 464.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/0.8618, allocations: 4 kB / 464.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.8632, allocations: 208.1 kB / 464.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.8657, allocations: 0.706 MB / 465 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.8659, allocations: 39.97 kB / 465 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.8846, allocations: 8.445 MB / 473.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.8847, allocations: 7.969 kB / 473.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.8989, allocations: 3.571 MB / 477.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/0.9013, allocations: 482.5 kB / 477.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006198/0.9019, allocations: 32.06 kB / 477.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/0.9043, allocations: 95.89 kB / 477.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005478/0.9049, allocations: 104.8 kB / 477.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/0.9052, allocations: 43.98 kB / 477.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005001/0.9102, allocations: 1.43 MB / 479.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.84e-06/0.9103, allocations: 0 / 479.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003407/0.9137, allocations: 0.5782 MB / 479.8 MB, free: 9.121 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.9149, allocations: 443.3 kB / 480.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005343/0.9203, allocations: 2.375 MB / 482.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.544e-06/0.9203, allocations: 0 / 482.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.9239, allocations: 1.638 MB / 484.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.9264, allocations: 411.5 kB / 484.7 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/0.9361, allocations: 4.22 MB / 488.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.9388, allocations: 1.986 MB / 490.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001855/0.9407, allocations: 391.5 kB / 491.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/0.9413, allocations: 127.4 kB / 491.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.749e-06/0.9413, allocations: 0 / 491.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Templates: time 0.3064/1.248, allocations: 30.75 MB / 0.5099 GB, free: 88.73 MB / 346.7 MB