Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.121e-05, allocations: 4 kB / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08497/0.08502, allocations: 47.57 MB / 317 MB, free: 6.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.4927, allocations: 132 MB / 449 MB, free: 4.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4931, allocations: 101.4 kB / 449.1 MB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469/1.962, allocations: 351.9 MB / 0.7822 GB, free: 53.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.643e-06/1.962, allocations: 0 / 0.7822 GB, free: 53.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006712/1.963, allocations: 221.2 kB / 0.7824 GB, free: 53.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03835/2.001, allocations: 9.539 MB / 0.7917 GB, free: 49.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/2.001, allocations: 8.5 kB / 0.7917 GB, free: 49.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/2.037, allocations: 4.925 MB / 0.7965 GB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/2.06, allocations: 8.173 MB / 0.8045 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/2.061, allocations: 0.7154 MB / 0.8052 GB, free: 41.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004159/2.066, allocations: 0.9246 MB / 0.8061 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04558/2.111, allocations: 16.81 MB / 0.8225 GB, free: 23.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003766/2.112, allocations: 15.89 kB / 0.8225 GB, free: 23.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003359/2.115, allocations: 414.6 kB / 0.8229 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008282/2.116, allocations: 0.7031 MB / 0.8236 GB, free: 22.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04002/2.156, allocations: 15.42 MB / 0.8386 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4395/2.595, allocations: 55.29 MB / 0.8926 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02678/2.622, allocations: 19.12 MB / 0.9113 GB, free: 35.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01497/2.637, allocations: 7.542 MB / 0.9187 GB, free: 31.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05632/2.694, allocations: 24.88 MB / 0.943 GB, free: 19.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/2.694, allocations: 94.38 kB / 0.9431 GB, free: 19.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=749): time 1.328e-05/2.694, allocations: 4.438 kB / 0.9431 GB, free: 19.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=754): time 0.0591/2.753, allocations: 25.11 MB / 0.9676 GB, free: 8.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/2.753, allocations: 119.2 kB / 0.9677 GB, free: 8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/2.76, allocations: 3.182 MB / 0.9708 GB, free: 6.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001421/2.761, allocations: 120 kB / 0.9709 GB, free: 6.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/2.763, allocations: 3.6 MB / 0.9744 GB, free: 4.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003447/2.767, allocations: 2.486 MB / 0.9769 GB, free: 2.215 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/2.768, allocations: 126.1 kB / 0.977 GB, free: 2.117 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006699/2.769, allocations: 0.6043 MB / 0.9776 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0246/2.793, allocations: 5.772 MB / 0.9832 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01375/2.807, allocations: 6.23 MB / 0.9893 GB, free: 10 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01426/2.821, allocations: 6.052 MB / 0.9952 GB, free: 4.824 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.426e-05/2.821, allocations: 8 kB / 0.9952 GB, free: 4.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03842/2.86, allocations: 14.42 MB / 1.009 GB, free: 8.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/2.86, allocations: 21.72 kB / 1.009 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.801e-05/2.86, allocations: 32 kB / 1.009 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/2.872, allocations: 4 MB / 1.013 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007554/2.879, allocations: 1.184 MB / 1.014 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3097/3.189, allocations: 12.53 MB / 1.027 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006126/3.195, allocations: 366.5 kB / 1.027 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/3.197, allocations: 286.2 kB / 1.027 GB, free: 79.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.001861/3.199, allocations: 445.7 kB / 1.028 GB, free: 79.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/3.201, allocations: 496 kB / 1.028 GB, free: 79.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03573/3.237, allocations: 14.17 MB / 1.042 GB, free: 78.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02832/3.265, allocations: 12.67 MB / 1.054 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/3.265, allocations: 3.594 kB / 1.054 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001228/3.265, allocations: 30.42 kB / 1.054 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06378/3.329, allocations: 28.03 MB / 1.082 GB, free: 74.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.019e-05/3.329, allocations: 2.25 kB / 1.082 GB, free: 74.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006411/3.336, allocations: 0.8844 MB / 1.083 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/3.346, allocations: 3.926 MB / 1.086 GB, free: 73.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/3.348, allocations: 165.9 kB / 1.087 GB, free: 73.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/3.364, allocations: 12.41 MB / 1.099 GB, free: 65.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.682e-06/3.364, allocations: 0 / 1.099 GB, free: 65.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04599/3.41, allocations: 21.44 MB / 1.12 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005246/3.415, allocations: 1.727 MB / 1.121 GB, free: 54.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/3.417, allocations: 108.2 kB / 1.121 GB, free: 54.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005056/3.423, allocations: 305.2 kB / 1.122 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002322/3.425, allocations: 0.5464 MB / 1.122 GB, free: 54.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001368/3.426, allocations: 198.8 kB / 1.123 GB, free: 54.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005526/3.432, allocations: 2.42 MB / 1.125 GB, free: 53.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.357e-06/3.432, allocations: 0 / 1.125 GB, free: 53.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009565/3.441, allocations: 1.82 MB / 1.127 GB, free: 52.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.003339/3.445, allocations: 0.8661 MB / 1.127 GB, free: 51.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02577/3.471, allocations: 12.17 MB / 1.139 GB, free: 40.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.467e-06/3.471, allocations: 4 kB / 1.139 GB, free: 40.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01507/3.486, allocations: 6.36 MB / 1.146 GB, free: 35.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006719/3.493, allocations: 0.9071 MB / 1.146 GB, free: 34.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04737/3.54, allocations: 19.53 MB / 1.166 GB, free: 17.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/3.553, allocations: 6.824 MB / 1.172 GB, free: 12.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007372/3.56, allocations: 1.663 MB / 1.174 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/3.562, allocations: 358.1 kB / 1.174 GB, free: 10.61 MB / 474.7 MB Notification: Performance of SimCode: time 2.882e-06/3.562, allocations: 0 / 1.174 GB, free: 10.61 MB / 474.7 MB Notification: Performance of Templates: time 0.5449/4.107, allocations: 112.9 MB / 1.284 GB, free: 61.79 MB / 474.7 MB