Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.901e-05, allocations: 4 kB / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08364, allocations: 47.58 MB / 317 MB, free: 6.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.4848, allocations: 130.7 MB / 447.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4851, allocations: 105.1 kB / 447.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583/2.068, allocations: 379.4 MB / 0.8078 GB, free: 38.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.542e-06/2.068, allocations: 0 / 0.8078 GB, free: 38.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006398/2.069, allocations: 243.7 kB / 0.8081 GB, free: 38.15 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04028/2.109, allocations: 10.27 MB / 0.8181 GB, free: 27.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/2.109, allocations: 8.031 kB / 0.8181 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0467/2.156, allocations: 6.278 MB / 0.8242 GB, free: 21.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02557/2.181, allocations: 8.743 MB / 0.8328 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001457/2.183, allocations: 0.799 MB / 0.8335 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005018/2.188, allocations: 1.031 MB / 0.8345 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3414/2.529, allocations: 18.9 MB / 0.853 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004804/2.53, allocations: 16.44 kB / 0.853 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004184/2.534, allocations: 454.7 kB / 0.8535 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/2.535, allocations: 0.8208 MB / 0.8543 GB, free: 37.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04506/2.58, allocations: 17.69 MB / 0.8715 GB, free: 37.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1307/2.711, allocations: 61.27 MB / 0.9314 GB, free: 19.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03029/2.741, allocations: 24.91 MB / 0.9557 GB, free: 2.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01738/2.759, allocations: 8.343 MB / 0.9638 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06325/2.822, allocations: 26.49 MB / 0.9897 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/2.822, allocations: 106 kB / 0.9898 GB, free: 2.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=832): time 1.379e-05/2.822, allocations: 7.438 kB / 0.9898 GB, free: 2.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=838): time 0.3924/3.215, allocations: 29.5 MB / 1.019 GB, free: 67.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/3.215, allocations: 123.7 kB / 1.019 GB, free: 67.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005554/3.22, allocations: 2.669 MB / 1.021 GB, free: 67.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001605/3.222, allocations: 138.9 kB / 1.021 GB, free: 67.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/3.225, allocations: 3.856 MB / 1.025 GB, free: 66.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003965/3.229, allocations: 2.753 MB / 1.028 GB, free: 64.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008698/3.23, allocations: 140.5 kB / 1.028 GB, free: 64.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007837/3.231, allocations: 0.6417 MB / 1.029 GB, free: 64.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/3.243, allocations: 5.489 MB / 1.034 GB, free: 64.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/3.256, allocations: 6.914 MB / 1.041 GB, free: 63.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/3.27, allocations: 6.644 MB / 1.047 GB, free: 62.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-05/3.27, allocations: 13.53 kB / 1.047 GB, free: 62.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.03635/3.306, allocations: 15.98 MB / 1.063 GB, free: 62.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/3.307, allocations: 21.62 kB / 1.063 GB, free: 62.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.855e-05/3.307, allocations: 39.16 kB / 1.063 GB, free: 62.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/3.32, allocations: 4.994 MB / 1.068 GB, free: 62.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008244/3.328, allocations: 1.341 MB / 1.069 GB, free: 62.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/3.346, allocations: 12.33 MB / 1.081 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006775/3.353, allocations: 427.4 kB / 1.082 GB, free: 59.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002082/3.355, allocations: 316.8 kB / 1.082 GB, free: 59.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.002101/3.357, allocations: 490.2 kB / 1.082 GB, free: 58.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/3.359, allocations: 0.4965 MB / 1.083 GB, free: 58.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03696/3.396, allocations: 15.91 MB / 1.098 GB, free: 53.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02989/3.426, allocations: 14.11 MB / 1.112 GB, free: 47.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/3.426, allocations: 3.281 kB / 1.112 GB, free: 47.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/3.426, allocations: 40.28 kB / 1.112 GB, free: 47.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06405/3.49, allocations: 30.62 MB / 1.142 GB, free: 31.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.64e-05/3.49, allocations: 3.625 kB / 1.142 GB, free: 31.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006247/3.496, allocations: 1.021 MB / 1.143 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/3.508, allocations: 4.792 MB / 1.148 GB, free: 26.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001584/3.51, allocations: 177.6 kB / 1.148 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/3.526, allocations: 12.15 MB / 1.16 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.219e-06/3.526, allocations: 0 / 1.16 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07923/3.605, allocations: 25.44 MB / 1.185 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005678/3.611, allocations: 1.8 MB / 1.186 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/3.612, allocations: 126.1 kB / 1.187 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004373/3.616, allocations: 374.9 kB / 1.187 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002955/3.619, allocations: 0.5894 MB / 1.187 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00165/3.621, allocations: 226.1 kB / 1.188 GB, free: 13.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004785/3.626, allocations: 2.016 MB / 1.19 GB, free: 11.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.08e-06/3.626, allocations: 0 / 1.19 GB, free: 11.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01057/3.636, allocations: 2.074 MB / 1.192 GB, free: 9.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.2971/3.934, allocations: 0.6447 MB / 1.192 GB, free: 85.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03064/3.964, allocations: 13.3 MB / 1.205 GB, free: 84.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/3.964, allocations: 0 / 1.205 GB, free: 84.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01765/3.982, allocations: 6.961 MB / 1.212 GB, free: 84.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007083/3.989, allocations: 0.9698 MB / 1.213 GB, free: 84.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0478/4.037, allocations: 20.86 MB / 1.233 GB, free: 81.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/4.05, allocations: 7.38 MB / 1.241 GB, free: 80.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008412/4.058, allocations: 1.848 MB / 1.242 GB, free: 80.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/4.06, allocations: 372.7 kB / 1.243 GB, free: 80.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.842e-06/4.06, allocations: 0 / 1.243 GB, free: 80.68 MB / 490.7 MB Notification: Performance of Templates: time 0.2816/4.342, allocations: 122.2 MB / 1.362 GB, free: 12.2 MB / 490.7 MB