Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.598e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09017, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4716, allocations: 104.7 MB / 447.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4719, allocations: 82.33 kB / 447.3 MB, free: 5.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1622/0.634, allocations: 41.48 MB / 488.8 MB, free: 276 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.032e-06/0.6341, allocations: 0 / 488.8 MB, free: 276 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.6343, allocations: 59.88 kB / 488.9 MB, free: 216 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005162/0.6395, allocations: 1.98 MB / 490.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6395, allocations: 15.97 kB / 490.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.6408, allocations: 273 kB / 491.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.6446, allocations: 1.372 MB / 492.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.6448, allocations: 143.7 kB / 492.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.6453, allocations: 203.9 kB / 492.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/0.6511, allocations: 2.327 MB / 495.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.257e-05/0.6512, allocations: 15.98 kB / 495.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.6515, allocations: 76 kB / 495.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.6517, allocations: 79.69 kB / 495.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.6563, allocations: 1.792 MB / 497.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.6739, allocations: 7.845 MB / 0.4931 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.6764, allocations: 1.253 MB / 0.4944 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.6781, allocations: 0.808 MB / 0.4951 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/0.6785, allocations: 130 kB / 0.4953 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.6786, allocations: 47.56 kB / 0.4953 GB, free: 13.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 4.405e-06/0.6786, allocations: 0 / 0.4953 GB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01418/0.6928, allocations: 4.851 MB / 0.5 GB, free: 8.457 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.6929, allocations: 64.41 kB / 0.5001 GB, free: 8.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.6952, allocations: 1.102 MB / 0.5012 GB, free: 7.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.6954, allocations: 45.7 kB / 0.5012 GB, free: 7.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009257/0.6964, allocations: 0.9006 MB / 0.5021 GB, free: 6.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.6969, allocations: 414.1 kB / 0.5025 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.697, allocations: 28 kB / 0.5025 GB, free: 5.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.6972, allocations: 365.9 kB / 0.5029 GB, free: 5.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.6986, allocations: 0.6209 MB / 0.5035 GB, free: 4.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.7003, allocations: 0.9562 MB / 0.5044 GB, free: 3.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.702, allocations: 0.7934 MB / 0.5052 GB, free: 2.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-06/0.702, allocations: 3.938 kB / 0.5052 GB, free: 2.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004983/0.707, allocations: 2.111 MB / 0.5073 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.7071, allocations: 15.98 kB / 0.5073 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.7071, allocations: 8 kB / 0.5073 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.7085, allocations: 415.3 kB / 0.5077 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.7103, allocations: 339.5 kB / 0.508 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/0.7173, allocations: 4.645 MB / 0.5125 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.7188, allocations: 79.92 kB / 0.5126 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.719, allocations: 59.98 kB / 0.5127 GB, free: 11.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.7194, allocations: 184.7 kB / 0.5128 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.7198, allocations: 146.2 kB / 0.513 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.7243, allocations: 1.901 MB / 0.5148 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.7243, allocations: 12 kB / 0.5149 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.7244, allocations: 4 kB / 0.5149 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.7244, allocations: 7.969 kB / 0.5149 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/0.734, allocations: 4.029 MB / 0.5188 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.734, allocations: 4 kB / 0.5188 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.7355, allocations: 223.7 kB / 0.519 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.7376, allocations: 467.2 kB / 0.5195 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.7377, allocations: 35.97 kB / 0.5195 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2506/0.9884, allocations: 6.15 MB / 0.5255 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.9884, allocations: 7.953 kB / 0.5255 GB, free: 117.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.9941, allocations: 2.901 MB / 0.5283 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/0.995, allocations: 361.7 kB / 0.5287 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.9953, allocations: 29.25 kB / 0.5287 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9963, allocations: 73.16 kB / 0.5288 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.9966, allocations: 89.03 kB / 0.5289 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.9968, allocations: 37.23 kB / 0.5289 GB, free: 117.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.9984, allocations: 0.8473 MB / 0.5297 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.9984, allocations: 1.469 kB / 0.5297 GB, free: 117.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001869/1, allocations: 459.7 kB / 0.5302 GB, free: 117.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005675/1.001, allocations: 305.3 kB / 0.5305 GB, free: 117.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003707/1.005, allocations: 2.011 MB / 0.5324 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.005, allocations: 1.062 kB / 0.5324 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/1.007, allocations: 1.307 MB / 0.5337 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.009, allocations: 392.5 kB / 0.5341 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/1.016, allocations: 3.394 MB / 0.5374 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.018, allocations: 1.678 MB / 0.539 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001572/1.019, allocations: 340.6 kB / 0.5394 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/1.02, allocations: 103.3 kB / 0.5395 GB, free: 114.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.728e-06/1.02, allocations: 0 / 0.5395 GB, free: 114.6 MB / 442.7 MB Notification: Performance of Templates: time 0.05433/1.074, allocations: 23.65 MB / 0.5626 GB, free: 113.4 MB / 442.7 MB