Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.533e-05, allocations: 4 kB / 292.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09123, allocations: 50.42 MB / 343.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.469, allocations: 103.3 MB / 446.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4693, allocations: 81.83 kB / 446.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.6277, allocations: 41.16 MB / 487.6 MB, free: 1.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.112e-06/0.6277, allocations: 0 / 487.6 MB, free: 1.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.6278, allocations: 51.88 kB / 487.6 MB, free: 1.93 MB / 394.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.004499/0.6324, allocations: 1.992 MB / 489.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6324, allocations: 12.03 kB / 489.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.6333, allocations: 269.1 kB / 489.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.6367, allocations: 1.404 MB / 491.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.6368, allocations: 135.6 kB / 491.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.6372, allocations: 179.9 kB / 491.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005012/0.6423, allocations: 2.305 MB / 493.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.544e-05/0.6424, allocations: 11.94 kB / 493.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.6426, allocations: 75.95 kB / 494 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.6428, allocations: 83.5 kB / 494.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/0.647, allocations: 1.819 MB / 495.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.6625, allocations: 7.491 MB / 0.4916 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.665, allocations: 1.268 MB / 0.4928 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.6669, allocations: 0.8178 MB / 0.4936 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.6672, allocations: 133.8 kB / 0.4938 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.6673, allocations: 47.34 kB / 0.4938 GB, free: 15.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.966e-06/0.6673, allocations: 0 / 0.4938 GB, free: 15.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.01029/0.6776, allocations: 4.105 MB / 0.4978 GB, free: 11.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.6777, allocations: 60.41 kB / 0.4979 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.6801, allocations: 1.184 MB / 0.499 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.6802, allocations: 41.7 kB / 0.4991 GB, free: 9.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.6811, allocations: 0.897 MB / 0.4999 GB, free: 9.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.6816, allocations: 366.8 kB / 0.5003 GB, free: 8.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.6817, allocations: 20 kB / 0.5003 GB, free: 8.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.6819, allocations: 353.9 kB / 0.5006 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.6832, allocations: 0.6078 MB / 0.5012 GB, free: 7.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.6847, allocations: 0.8892 MB / 0.5021 GB, free: 6.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6863, allocations: 0.7504 MB / 0.5028 GB, free: 5.902 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.6863, allocations: 8 kB / 0.5029 GB, free: 5.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005599/0.6919, allocations: 2.352 MB / 0.5051 GB, free: 3.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.692, allocations: 11.98 kB / 0.5052 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.692, allocations: 15.95 kB / 0.5052 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.6947, allocations: 0.7704 MB / 0.5059 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.6959, allocations: 235.7 kB / 0.5062 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.7111, allocations: 8.549 MB / 0.5145 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.7125, allocations: 87.81 kB / 0.5146 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.7126, allocations: 51.98 kB / 0.5146 GB, free: 9.531 MB / 442.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 (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.0003264/0.713, allocations: 176.8 kB / 0.5148 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.7133, allocations: 146.3 kB / 0.5149 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.7176, allocations: 1.858 MB / 0.5168 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.7177, allocations: 8.125 kB / 0.5168 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.7177, allocations: 8 kB / 0.5168 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.7177, allocations: 7.938 kB / 0.5168 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008787/0.7265, allocations: 3.957 MB / 0.5206 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7266, allocations: 4 kB / 0.5206 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7277, allocations: 200 kB / 0.5208 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.7294, allocations: 462.9 kB / 0.5213 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7296, allocations: 31.98 kB / 0.5213 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2462/0.9758, allocations: 6.151 MB / 0.5273 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.789e-06/0.9758, allocations: 2.031 kB / 0.5273 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.9817, allocations: 2.868 MB / 0.5301 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008706/0.9826, allocations: 364.3 kB / 0.5305 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.9829, allocations: 25.81 kB / 0.5305 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.984, allocations: 76.47 kB / 0.5306 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.9843, allocations: 82.42 kB / 0.5306 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.9844, allocations: 33.58 kB / 0.5307 GB, free: 117.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001867/0.9863, allocations: 0.9126 MB / 0.5316 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.672e-06/0.9863, allocations: 0 / 0.5316 GB, free: 117.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001959/0.9883, allocations: 473.7 kB / 0.532 GB, free: 117.1 MB / 442.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.0005633/0.9889, allocations: 311.6 kB / 0.5323 GB, free: 117.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.9928, allocations: 1.952 MB / 0.5342 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9928, allocations: 0 / 0.5342 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.9952, allocations: 1.311 MB / 0.5355 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.9973, allocations: 340.7 kB / 0.5358 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/1.007, allocations: 3.296 MB / 0.539 GB, free: 115.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.008, allocations: 1.733 MB / 0.5407 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001558/1.01, allocations: 316 kB / 0.541 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/1.011, allocations: 95.64 kB / 0.5411 GB, free: 114.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.734e-06/1.011, allocations: 0 / 0.5411 GB, free: 114.8 MB / 442.7 MB Notification: Performance of Templates: time 0.05492/1.065, allocations: 24.61 MB / 0.5652 GB, free: 113.6 MB / 442.7 MB