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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.789e-05, allocations: 6.5 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08854, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5184, allocations: 131.8 MB / 474.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5187, allocations: 103.9 kB / 475 MB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555/2.073, allocations: 379.2 MB / 0.8342 GB, free: 14.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.917e-06/2.073, allocations: 0 / 0.8342 GB, free: 14.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005548/2.074, allocations: 239.8 kB / 0.8344 GB, free: 14.3 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03646/2.111, allocations: 10.17 MB / 0.8444 GB, free: 4.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/2.111, allocations: 15.97 kB / 0.8444 GB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04361/2.154, allocations: 5.648 MB / 0.8499 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0269/2.181, allocations: 8.918 MB / 0.8586 GB, free: 5.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/2.182, allocations: 0.7668 MB / 0.8594 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004215/2.187, allocations: 1.012 MB / 0.8603 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6308/2.817, allocations: 17.7 MB / 0.8776 GB, free: 36.65 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003155/2.818, allocations: 17.14 kB / 0.8777 GB, free: 36.65 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/2.82, allocations: 448.3 kB / 0.8781 GB, free: 36.65 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/2.821, allocations: 0.8667 MB / 0.8789 GB, free: 36.63 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/2.858, allocations: 15.91 MB / 0.8945 GB, free: 36.58 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/2.959, allocations: 58.44 MB / 0.9515 GB, free: 16.66 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03517/2.995, allocations: 37.15 MB / 0.9878 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007549/3.002, allocations: 4.112 MB / 0.9918 GB, free: 13.87 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/3.003, allocations: 191.7 kB / 0.992 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/3.003, allocations: 91.08 kB / 0.9921 GB, free: 13.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 1.141e-05/3.003, allocations: 3.406 kB / 0.9921 GB, free: 13.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.03269/3.035, allocations: 15.54 MB / 1.007 GB, free: 6.762 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/3.036, allocations: 111.2 kB / 1.007 GB, free: 6.688 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006558/3.042, allocations: 3.554 MB / 1.011 GB, free: 5.297 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000707/3.043, allocations: 112.5 kB / 1.011 GB, free: 5.199 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003797/3.047, allocations: 4.508 MB / 1.015 GB, free: 1.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002268/3.049, allocations: 1.796 MB / 1.017 GB, free: 444 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/3.05, allocations: 140.2 kB / 1.017 GB, free: 332 kB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005775/3.05, allocations: 0.5953 MB / 1.018 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00666/3.057, allocations: 3.365 MB / 1.021 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/3.067, allocations: 5.744 MB / 1.027 GB, free: 8.867 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/3.077, allocations: 4.727 MB / 1.031 GB, free: 4.879 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.362e-05/3.077, allocations: 20 kB / 1.031 GB, free: 4.859 MB / 0.4949 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02974/3.107, allocations: 10.84 MB / 1.042 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/3.107, allocations: 36 kB / 1.042 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/3.107, allocations: 80 kB / 1.042 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/3.112, allocations: 1.397 MB / 1.043 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007732/3.12, allocations: 1.607 MB / 1.045 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/3.141, allocations: 10.54 MB / 1.055 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006044/3.147, allocations: 422.5 kB / 1.056 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009244/3.148, allocations: 331.1 kB / 1.056 GB, free: 468 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001392/3.15, allocations: 0.5393 MB / 1.057 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3231/3.473, allocations: 471.8 kB / 1.057 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/3.493, allocations: 8.369 MB / 1.065 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01556/3.509, allocations: 6.944 MB / 1.072 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/3.509, allocations: 12.78 kB / 1.072 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.798e-05/3.509, allocations: 27.28 kB / 1.072 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03984/3.549, allocations: 19.66 MB / 1.091 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/3.549, allocations: 3.188 kB / 1.091 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005213/3.554, allocations: 0.9298 MB / 1.092 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/3.558, allocations: 1.214 MB / 1.093 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008801/3.559, allocations: 109.5 kB / 1.093 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/3.575, allocations: 9.13 MB / 1.102 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-06/3.575, allocations: 6.5 kB / 1.102 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/3.597, allocations: 12.23 MB / 1.114 GB, free: 91.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/3.6, allocations: 1.159 MB / 1.115 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008158/3.601, allocations: 93.94 kB / 1.115 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/3.604, allocations: 285.1 kB / 1.116 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000816/3.605, allocations: 347 kB / 1.116 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/3.605, allocations: 152.7 kB / 1.116 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004564/3.61, allocations: 2.65 MB / 1.119 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.28e-07/3.61, allocations: 0 / 1.119 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007491/3.617, allocations: 1.971 MB / 1.121 GB, free: 91.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (502): * Single equations (assignments): 497 * 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.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/3.619, allocations: 0.6813 MB / 1.121 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01553/3.634, allocations: 8.386 MB / 1.13 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.02e-06/3.634, allocations: 0 / 1.13 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00827/3.642, allocations: 4.042 MB / 1.134 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/3.648, allocations: 0.9957 MB / 1.134 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/3.683, allocations: 16.54 MB / 1.151 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009349/3.692, allocations: 7.195 MB / 1.158 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008366/3.7, allocations: 2.326 MB / 1.16 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/3.702, allocations: 423.8 kB / 1.16 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.739e-06/3.702, allocations: 0 / 1.16 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.5058/4.208, allocations: 78.68 MB / 1.237 GB, free: 99.2 MB / 0.5105 GB