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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.301e-05, allocations: 8 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09079, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5429, allocations: 103.3 MB / 445.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5432, allocations: 87.14 kB / 445.9 MB, free: 7.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.715, allocations: 41.15 MB / 487.1 MB, free: 2.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.715, allocations: 0 / 487.1 MB, free: 2.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000153/0.7152, allocations: 51.88 kB / 487.1 MB, free: 1.977 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.004591/0.7198, allocations: 1.996 MB / 489.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7198, allocations: 8.031 kB / 489.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/0.7208, allocations: 265.1 kB / 489.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.7244, allocations: 1.408 MB / 490.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.7246, allocations: 135.6 kB / 490.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004051/0.725, allocations: 179.9 kB / 491.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.7303, allocations: 2.307 MB / 493.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.7304, allocations: 11.92 kB / 493.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.7307, allocations: 75.95 kB / 493.5 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.7308, allocations: 83.5 kB / 493.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.7352, allocations: 1.815 MB / 495.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.7505, allocations: 7.491 MB / 0.4911 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.7531, allocations: 1.276 MB / 0.4923 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.755, allocations: 0.814 MB / 0.4931 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.7553, allocations: 129.8 kB / 0.4932 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.7554, allocations: 43.34 kB / 0.4933 GB, free: 15.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 4.872e-06/0.7554, allocations: 4 kB / 0.4933 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.01038/0.7658, allocations: 4.104 MB / 0.4973 GB, free: 11.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.7658, allocations: 64.41 kB / 0.4974 GB, free: 11.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.7683, allocations: 1.184 MB / 0.4985 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.7684, allocations: 49.64 kB / 0.4986 GB, free: 9.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009032/0.7693, allocations: 0.8931 MB / 0.4994 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.7697, allocations: 362.8 kB / 0.4998 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7699, allocations: 24 kB / 0.4998 GB, free: 8.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.7701, allocations: 357.9 kB / 0.5001 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.7714, allocations: 0.6 MB / 0.5007 GB, free: 7.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.773, allocations: 0.897 MB / 0.5016 GB, free: 6.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.7746, allocations: 0.7465 MB / 0.5023 GB, free: 5.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.7747, allocations: 4 kB / 0.5023 GB, free: 5.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005828/0.7805, allocations: 2.36 MB / 0.5046 GB, free: 3.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.7806, allocations: 11.98 kB / 0.5047 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.7806, allocations: 11.95 kB / 0.5047 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004864/0.7855, allocations: 0.7741 MB / 0.5054 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.7875, allocations: 231.7 kB / 0.5056 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.8064, allocations: 8.549 MB / 0.514 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.8079, allocations: 91.97 kB / 0.5141 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.8081, allocations: 44.12 kB / 0.5141 GB, free: 9.582 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.0003453/0.8085, allocations: 176.6 kB / 0.5143 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.8089, allocations: 142.3 kB / 0.5144 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.8133, allocations: 1.862 MB / 0.5162 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.8134, allocations: 12 kB / 0.5163 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.2e-06/0.8134, allocations: 0 / 0.5163 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.8134, allocations: 7.938 kB / 0.5163 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/0.8226, allocations: 3.961 MB / 0.5201 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.8227, allocations: 4.281 kB / 0.5201 GB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.8239, allocations: 203.7 kB / 0.5203 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.8257, allocations: 462.9 kB / 0.5208 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.8258, allocations: 27.98 kB / 0.5208 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2442/1.07, allocations: 6.153 MB / 0.5268 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.199e-06/1.07, allocations: 4.25 kB / 0.5268 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.076, allocations: 2.871 MB / 0.5296 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/1.077, allocations: 361.8 kB / 0.53 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.077, allocations: 26.52 kB / 0.53 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/1.078, allocations: 74.08 kB / 0.5301 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.078, allocations: 85.19 kB / 0.5301 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.078, allocations: 32.86 kB / 0.5302 GB, free: 117.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001756/1.08, allocations: 0.9131 MB / 0.5311 GB, free: 117.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.08, allocations: 2.438 kB / 0.5311 GB, free: 117.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001903/1.082, allocations: 469.1 kB / 0.5315 GB, free: 117.3 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.0005775/1.083, allocations: 307 kB / 0.5318 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/1.087, allocations: 1.954 MB / 0.5337 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.554e-06/1.087, allocations: 1.375 kB / 0.5337 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.089, allocations: 1.303 MB / 0.535 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.091, allocations: 356.5 kB / 0.5353 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.103, allocations: 3.294 MB / 0.5385 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.106, allocations: 1.735 MB / 0.5402 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001925/1.108, allocations: 310.3 kB / 0.5405 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/1.108, allocations: 97.69 kB / 0.5406 GB, free: 114.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.778e-06/1.108, allocations: 4 kB / 0.5406 GB, free: 114.9 MB / 442.7 MB Notification: Performance of Templates: time 0.05581/1.164, allocations: 24.59 MB / 0.5646 GB, free: 113.7 MB / 442.7 MB