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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.519e-05, allocations: 0 / 292.7 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09558, allocations: 50.42 MB / 343.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5248, allocations: 133.6 MB / 476.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5251, allocations: 106.6 kB / 476.8 MB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555/2.08, allocations: 351.8 MB / 0.8092 GB, free: 53.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.12e-06/2.08, allocations: 0 / 0.8092 GB, free: 53.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009451/2.081, allocations: 218.8 kB / 0.8094 GB, free: 53.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.05403/2.135, allocations: 9.464 MB / 0.8186 GB, free: 47.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/2.135, allocations: 8.031 kB / 0.8186 GB, free: 47.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05471/2.19, allocations: 4.278 MB / 0.8228 GB, free: 42.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03418/2.224, allocations: 8.397 MB / 0.831 GB, free: 34.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007198/2.225, allocations: 0.6905 MB / 0.8317 GB, free: 33.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003579/2.228, allocations: 0.8988 MB / 0.8326 GB, free: 33.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/2.268, allocations: 15.65 MB / 0.8478 GB, free: 17.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/2.269, allocations: 15.75 kB / 0.8479 GB, free: 17.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002333/2.271, allocations: 401.8 kB / 0.8482 GB, free: 16.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007402/2.272, allocations: 0.7465 MB / 0.849 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03861/2.31, allocations: 13.67 MB / 0.8623 GB, free: 2.246 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.398/2.708, allocations: 52.52 MB / 0.9136 GB, free: 40.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/2.729, allocations: 19.95 MB / 0.9331 GB, free: 26.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006903/2.736, allocations: 3.569 MB / 0.9366 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/2.736, allocations: 181.9 kB / 0.9368 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/2.737, allocations: 82.06 kB / 0.9368 GB, free: 26.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=453): time 1.027e-05/2.737, allocations: 0 / 0.9368 GB, free: 26.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=458): time 0.03073/2.767, allocations: 13.77 MB / 0.9503 GB, free: 20.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/2.767, allocations: 96.88 kB / 0.9504 GB, free: 20.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007921/2.775, allocations: 3.928 MB / 0.9542 GB, free: 18.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007465/2.776, allocations: 105.1 kB / 0.9543 GB, free: 18.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/2.779, allocations: 4.181 MB / 0.9584 GB, free: 15.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/2.781, allocations: 1.551 MB / 0.9599 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/2.781, allocations: 130.2 kB / 0.96 GB, free: 14.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/2.782, allocations: 0.555 MB / 0.9606 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/2.788, allocations: 2.986 MB / 0.9635 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/2.795, allocations: 5.077 MB / 0.9684 GB, free: 8.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008013/2.803, allocations: 4.196 MB / 0.9725 GB, free: 7.195 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.841e-05/2.803, allocations: 20.5 kB / 0.9726 GB, free: 7.195 MB / 458.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02227/2.826, allocations: 9.488 MB / 0.9818 GB, free: 3.934 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/2.826, allocations: 35.53 kB / 0.9819 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/2.826, allocations: 68.88 kB / 0.9819 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/2.831, allocations: 1.377 MB / 0.9833 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007138/2.838, allocations: 1.373 MB / 0.9846 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/2.859, allocations: 11.6 MB / 0.9959 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006041/2.865, allocations: 360 kB / 0.9963 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/2.867, allocations: 296.2 kB / 0.9966 GB, free: 12.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001449/2.868, allocations: 488.5 kB / 0.997 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/2.87, allocations: 472.8 kB / 0.9975 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/2.89, allocations: 8.413 MB / 1.006 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01575/2.905, allocations: 6.149 MB / 1.012 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/2.906, allocations: 12 kB / 1.012 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-05/2.906, allocations: 22.17 kB / 1.012 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04692/2.953, allocations: 17.79 MB / 1.029 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/2.953, allocations: 8 kB / 1.029 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004936/2.958, allocations: 0.7924 MB / 1.03 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004928/2.963, allocations: 1.249 MB / 1.031 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008851/2.963, allocations: 110.8 kB / 1.031 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/2.985, allocations: 10.55 MB / 1.042 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/2.985, allocations: 11.94 kB / 1.042 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.333/3.318, allocations: 12.14 MB / 1.053 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/3.322, allocations: 1.132 MB / 1.054 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/3.323, allocations: 88.59 kB / 1.055 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/3.327, allocations: 244.6 kB / 1.055 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/3.328, allocations: 327.2 kB / 1.055 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005196/3.328, allocations: 139.6 kB / 1.055 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006912/3.335, allocations: 2.992 MB / 1.058 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.9e-07/3.335, allocations: 0 / 1.058 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009228/3.344, allocations: 1.789 MB / 1.06 GB, free: 90.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002604/3.347, allocations: 0.9027 MB / 1.061 GB, free: 90.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01707/3.364, allocations: 7.636 MB / 1.068 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.747e-06/3.364, allocations: 0 / 1.068 GB, free: 90.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008917/3.373, allocations: 3.819 MB / 1.072 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/3.378, allocations: 0.9265 MB / 1.073 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03446/3.413, allocations: 15.67 MB / 1.088 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009386/3.422, allocations: 6.671 MB / 1.095 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008631/3.431, allocations: 2.143 MB / 1.097 GB, free: 85.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/3.433, allocations: 386.5 kB / 1.097 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.997e-06/3.433, allocations: 0 / 1.097 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.1819/3.615, allocations: 73.18 MB / 1.169 GB, free: 66.26 MB / 0.4948 GB