Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.072e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09397, allocations: 50.42 MB / 343.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5194, allocations: 127.3 MB / 470.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5198, allocations: 98.53 kB / 470.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436/1.955, allocations: 337.3 MB / 0.7888 GB, free: 60.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.955, allocations: 0 / 0.7888 GB, free: 60.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005852/1.956, allocations: 215.7 kB / 0.789 GB, free: 60.26 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03671/1.993, allocations: 8.949 MB / 0.7978 GB, free: 56.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.993, allocations: 10.91 kB / 0.7978 GB, free: 56.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03203/2.025, allocations: 4.215 MB / 0.8019 GB, free: 55.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/2.047, allocations: 8.049 MB / 0.8097 GB, free: 51.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007359/2.048, allocations: 0.6712 MB / 0.8104 GB, free: 51.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/2.051, allocations: 0.8796 MB / 0.8113 GB, free: 51.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04105/2.092, allocations: 15.3 MB / 0.8262 GB, free: 37.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003709/2.093, allocations: 7.906 kB / 0.8262 GB, free: 37.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003167/2.096, allocations: 389.2 kB / 0.8266 GB, free: 36.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008582/2.097, allocations: 0.7303 MB / 0.8273 GB, free: 36.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/2.131, allocations: 13.39 MB / 0.8404 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4084/2.539, allocations: 51.33 MB / 0.8905 GB, free: 37.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02831/2.567, allocations: 26.31 MB / 0.9162 GB, free: 32.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005959/2.573, allocations: 3.17 MB / 0.9193 GB, free: 32.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/2.574, allocations: 163.3 kB / 0.9194 GB, free: 32.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/2.574, allocations: 77.48 kB / 0.9195 GB, free: 32.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 9.266e-06/2.574, allocations: 0 / 0.9195 GB, free: 32.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.0269/2.601, allocations: 12.37 MB / 0.9316 GB, free: 31.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/2.601, allocations: 97.34 kB / 0.9317 GB, free: 31.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/2.607, allocations: 3.208 MB / 0.9348 GB, free: 30.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006593/2.608, allocations: 88.61 kB / 0.9349 GB, free: 30.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/2.61, allocations: 3.987 MB / 0.9388 GB, free: 28.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001543/2.612, allocations: 1.401 MB / 0.9402 GB, free: 27.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005023/2.612, allocations: 119.7 kB / 0.9403 GB, free: 27.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005102/2.613, allocations: 0.5427 MB / 0.9408 GB, free: 27.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/2.618, allocations: 2.722 MB / 0.9435 GB, free: 27.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006516/2.625, allocations: 4.827 MB / 0.9482 GB, free: 24.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/2.632, allocations: 3.906 MB / 0.952 GB, free: 24.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.505e-05/2.632, allocations: 17.88 kB / 0.952 GB, free: 24.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0213/2.653, allocations: 8.736 MB / 0.9605 GB, free: 24.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/2.653, allocations: 34.03 kB / 0.9606 GB, free: 24.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/2.654, allocations: 72.28 kB / 0.9606 GB, free: 24.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004195/2.658, allocations: 1.212 MB / 0.9618 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/2.664, allocations: 1.314 MB / 0.9631 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/2.682, allocations: 9.077 MB / 0.972 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/2.688, allocations: 331.9 kB / 0.9723 GB, free: 20.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/2.69, allocations: 287.9 kB / 0.9726 GB, free: 20.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001279/2.691, allocations: 480.2 kB / 0.973 GB, free: 19.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.692, allocations: 399.4 kB / 0.9734 GB, free: 19.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/2.708, allocations: 6.578 MB / 0.9798 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01219/2.72, allocations: 5.468 MB / 0.9852 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/2.72, allocations: 10.75 kB / 0.9852 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.158e-05/2.72, allocations: 21.28 kB / 0.9852 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03816/2.759, allocations: 16.21 MB / 1.001 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/2.759, allocations: 3.906 kB / 1.001 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004336/2.763, allocations: 0.721 MB / 1.002 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/2.767, allocations: 1.066 MB / 1.003 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007246/2.768, allocations: 93.58 kB / 1.003 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/2.784, allocations: 8.021 MB / 1.011 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.649e-06/2.784, allocations: 6.531 kB / 1.011 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03365/2.817, allocations: 10.76 MB / 1.021 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003297/2.821, allocations: 0.9754 MB / 1.022 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/2.822, allocations: 76 kB / 1.022 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/2.825, allocations: 210.8 kB / 1.022 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008488/2.826, allocations: 289.5 kB / 1.023 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004416/2.826, allocations: 124.4 kB / 1.023 GB, free: 8.223 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005551/2.832, allocations: 2.4 MB / 1.025 GB, free: 6.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.88e-07/2.832, allocations: 0 / 1.025 GB, free: 6.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008694/2.84, allocations: 1.655 MB / 1.027 GB, free: 4.465 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/2.842, allocations: 0.5976 MB / 1.027 GB, free: 3.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01765/2.86, allocations: 6.869 MB / 1.034 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.715e-06/2.86, allocations: 0 / 1.034 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00872/2.868, allocations: 3.287 MB / 1.037 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/2.874, allocations: 0.854 MB / 1.038 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3286/3.203, allocations: 14.18 MB / 1.052 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/3.216, allocations: 6.358 MB / 1.058 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007796/3.224, allocations: 1.906 MB / 1.06 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/3.226, allocations: 342.2 kB / 1.06 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/3.226, allocations: 1.906 kB / 1.06 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.1676/3.393, allocations: 66.61 MB / 1.125 GB, free: 96.35 MB / 0.4948 GB