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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.193e-05, allocations: 6.031 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08851, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.569, allocations: 131.8 MB / 474.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.5694, allocations: 100.8 kB / 474.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553/2.122, allocations: 379.2 MB / 0.8337 GB, free: 14.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.232e-06/2.122, allocations: 0 / 0.8337 GB, free: 14.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006013/2.123, allocations: 239.8 kB / 0.8339 GB, free: 14.2 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.03817/2.161, allocations: 10.18 MB / 0.8439 GB, free: 3.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/2.161, allocations: 12.03 kB / 0.8439 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04168/2.203, allocations: 5.64 MB / 0.8494 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02673/2.229, allocations: 8.914 MB / 0.8581 GB, free: 5.254 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/2.23, allocations: 0.7707 MB / 0.8588 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/2.235, allocations: 1.019 MB / 0.8598 GB, free: 3.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6283/2.863, allocations: 17.7 MB / 0.8771 GB, free: 36.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003672/2.863, allocations: 16.45 kB / 0.8771 GB, free: 36.5 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003045/2.866, allocations: 446 kB / 0.8776 GB, free: 36.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001217/2.868, allocations: 0.8656 MB / 0.8784 GB, free: 36.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04102/2.909, allocations: 15.91 MB / 0.8939 GB, free: 36.43 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/3.013, allocations: 58.44 MB / 0.951 GB, free: 16.55 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03667/3.05, allocations: 37.15 MB / 0.9873 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007975/3.058, allocations: 4.113 MB / 0.9913 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/3.058, allocations: 193.7 kB / 0.9915 GB, free: 13.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.48e-05/3.058, allocations: 84.58 kB / 0.9916 GB, free: 13.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 1.214e-05/3.058, allocations: 6.906 kB / 0.9916 GB, free: 13.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.03349/3.092, allocations: 15.54 MB / 1.007 GB, free: 6.641 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/3.092, allocations: 107.6 kB / 1.007 GB, free: 6.57 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006674/3.099, allocations: 3.564 MB / 1.01 GB, free: 5.168 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007239/3.099, allocations: 104.7 kB / 1.01 GB, free: 5.074 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003934/3.103, allocations: 4.509 MB / 1.015 GB, free: 1.695 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002326/3.106, allocations: 1.798 MB / 1.017 GB, free: 316 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005818/3.106, allocations: 142.4 kB / 1.017 GB, free: 200 kB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005871/3.107, allocations: 0.5983 MB / 1.017 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006497/3.113, allocations: 3.359 MB / 1.021 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009217/3.123, allocations: 5.748 MB / 1.026 GB, free: 8.723 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009557/3.132, allocations: 4.731 MB / 1.031 GB, free: 4.734 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.802e-05/3.132, allocations: 20 kB / 1.031 GB, free: 4.715 MB / 0.4949 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03153/3.164, allocations: 10.9 MB / 1.041 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/3.164, allocations: 36 kB / 1.042 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/3.164, allocations: 80 kB / 1.042 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/3.169, allocations: 1.395 MB / 1.043 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008528/3.178, allocations: 1.608 MB / 1.045 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/3.2, allocations: 10.53 MB / 1.055 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006109/3.206, allocations: 423.1 kB / 1.055 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008813/3.207, allocations: 329.9 kB / 1.056 GB, free: 472 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.001411/3.208, allocations: 0.548 MB / 1.056 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3035/3.512, allocations: 472 kB / 1.057 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/3.532, allocations: 8.368 MB / 1.065 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01498/3.547, allocations: 6.941 MB / 1.071 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/3.547, allocations: 8.938 kB / 1.071 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/3.547, allocations: 35.5 kB / 1.072 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/3.587, allocations: 19.66 MB / 1.091 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/3.587, allocations: 3.219 kB / 1.091 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005187/3.592, allocations: 0.9301 MB / 1.092 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003933/3.596, allocations: 1.215 MB / 1.093 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005283/3.597, allocations: 112.7 kB / 1.093 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/3.613, allocations: 9.129 MB / 1.102 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-06/3.613, allocations: 0 / 1.102 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/3.636, allocations: 12.23 MB / 1.114 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/3.639, allocations: 1.161 MB / 1.115 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008794/3.64, allocations: 99.59 kB / 1.115 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/3.644, allocations: 283.5 kB / 1.115 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008183/3.644, allocations: 347.7 kB / 1.116 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/3.645, allocations: 150.6 kB / 1.116 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004907/3.65, allocations: 2.65 MB / 1.118 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.004e-06/3.65, allocations: 0 / 1.118 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007659/3.658, allocations: 1.973 MB / 1.12 GB, free: 91.2 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.001216/3.659, allocations: 0.683 MB / 1.121 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01617/3.675, allocations: 8.379 MB / 1.129 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.874e-06/3.675, allocations: 2.75 kB / 1.129 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008151/3.683, allocations: 4.046 MB / 1.133 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/3.689, allocations: 0.99 MB / 1.134 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/3.723, allocations: 16.54 MB / 1.15 GB, free: 83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/3.734, allocations: 7.197 MB / 1.157 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008983/3.743, allocations: 2.326 MB / 1.159 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/3.745, allocations: 420.5 kB / 1.16 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.782e-06/3.745, allocations: 0 / 1.16 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.5437/4.289, allocations: 78.68 MB / 1.237 GB, free: 103.4 MB / 0.5105 GB