Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.053e-05, allocations: 6.812 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08177, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.442, allocations: 103.9 MB / 420.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4423, allocations: 86.08 kB / 420.9 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.6039, allocations: 41.35 MB / 462.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.781e-06/0.6039, allocations: 0 / 462.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.6041, allocations: 47.94 kB / 462.3 MB, free: 13.57 MB / 378.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.004595/0.6087, allocations: 1.978 MB / 464.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6088, allocations: 12.03 kB / 464.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.6098, allocations: 273.1 kB / 464.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.6131, allocations: 1.367 MB / 465.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6133, allocations: 143.8 kB / 466.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.6138, allocations: 195.9 kB / 466.3 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/0.6192, allocations: 2.351 MB / 468.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.568e-05/0.6193, allocations: 15.98 kB / 468.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.6196, allocations: 80 kB / 468.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.6198, allocations: 83.69 kB / 468.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/0.6243, allocations: 1.819 MB / 470.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.6408, allocations: 7.835 MB / 478.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.6435, allocations: 1.354 MB / 479.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.6455, allocations: 0.8955 MB / 480.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/0.6459, allocations: 142 kB / 480.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.646, allocations: 47.52 kB / 480.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 4.389e-06/0.646, allocations: 0 / 480.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.0147/0.6607, allocations: 5.119 MB / 486 MB, free: 5.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.6608, allocations: 64.72 kB / 486.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.663, allocations: 1.085 MB / 487.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.6632, allocations: 45.7 kB / 487.2 MB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.6641, allocations: 0.8816 MB / 488.1 MB, free: 3.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/0.6646, allocations: 441.6 kB / 488.5 MB, free: 3.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.6648, allocations: 24 kB / 488.5 MB, free: 3.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.665, allocations: 369.9 kB / 488.9 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.6665, allocations: 0.6482 MB / 489.5 MB, free: 2.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.6683, allocations: 0.9572 MB / 490.5 MB, free: 1.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.67, allocations: 0.8091 MB / 491.3 MB, free: 272 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.67, allocations: 0 / 491.3 MB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005402/0.6755, allocations: 2.256 MB / 493.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.6755, allocations: 8 kB / 493.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.6755, allocations: 12 kB / 493.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.6772, allocations: 0.4884 MB / 494.1 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6789, allocations: 343.5 kB / 494.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/0.6887, allocations: 6.64 MB / 0.4893 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.6902, allocations: 87.83 kB / 0.4894 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.6904, allocations: 64.05 kB / 0.4894 GB, free: 5.938 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003826/0.6908, allocations: 184.6 kB / 0.4896 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.6912, allocations: 146.2 kB / 0.4898 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.6963, allocations: 2.09 MB / 0.4918 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.6963, allocations: 16 kB / 0.4918 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.6963, allocations: 8.094 kB / 0.4918 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.6964, allocations: 19.84 kB / 0.4918 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.7064, allocations: 4.296 MB / 0.496 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.7065, allocations: 4 kB / 0.496 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.7079, allocations: 219.7 kB / 0.4962 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.7099, allocations: 0.5507 MB / 0.4968 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.7101, allocations: 31.98 kB / 0.4968 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.7217, allocations: 8.176 MB / 0.5048 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/0.7217, allocations: 7.938 kB / 0.5048 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/0.7287, allocations: 3.152 MB / 0.5079 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7298, allocations: 371.1 kB / 0.5082 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.7301, allocations: 35.94 kB / 0.5083 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7312, allocations: 79.92 kB / 0.5084 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.7315, allocations: 96.8 kB / 0.5084 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.7317, allocations: 35.98 kB / 0.5085 GB, free: 1.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.7335, allocations: 0.8383 MB / 0.5093 GB, free: 0.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.7335, allocations: 0 / 0.5093 GB, free: 0.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00209/0.7356, allocations: 487.9 kB / 0.5098 GB, free: 324 kB / 426.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 (100): * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006217/0.7363, allocations: 317.5 kB / 0.5101 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2222/0.9585, allocations: 2.236 MB / 0.5122 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.5e-06/0.9586, allocations: 0.625 kB / 0.5122 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002919/0.9615, allocations: 1.53 MB / 0.5137 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.9638, allocations: 387.3 kB / 0.5141 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/0.9712, allocations: 3.461 MB / 0.5175 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.9731, allocations: 1.689 MB / 0.5191 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.9748, allocations: 335.9 kB / 0.5195 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.9753, allocations: 101.5 kB / 0.5196 GB, free: 117.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.638e-06/0.9753, allocations: 0 / 0.5196 GB, free: 117.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05908/1.034, allocations: 25.2 MB / 0.5442 GB, free: 116.2 MB / 426.7 MB