Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.914e-05, allocations: 8 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 50.41 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.5162, allocations: 104.8 MB / 447.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/0.5166, allocations: 83.95 kB / 447.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.7045, allocations: 41.47 MB / 488.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.441e-06/0.7045, allocations: 0 / 488.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.7047, allocations: 55.94 kB / 488.9 MB, free: 0.4922 MB / 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.005014/0.7097, allocations: 1.98 MB / 490.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7098, allocations: 12.81 kB / 490.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.7109, allocations: 273 kB / 491.2 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.7147, allocations: 1.38 MB / 492.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.7149, allocations: 143.7 kB / 492.7 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.7153, allocations: 199.9 kB / 492.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.7209, allocations: 2.327 MB / 495.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-05/0.721, allocations: 4 kB / 495.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.7213, allocations: 83.97 kB / 495.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.7214, allocations: 83.69 kB / 495.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.7261, allocations: 1.788 MB / 497.2 MB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.7432, allocations: 7.845 MB / 0.4932 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7456, allocations: 1.26 MB / 0.4944 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.7474, allocations: 0.808 MB / 0.4952 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/0.7477, allocations: 134 kB / 0.4953 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.7478, allocations: 39.56 kB / 0.4954 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 5.037e-06/0.7478, allocations: 8 kB / 0.4954 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01446/0.7623, allocations: 4.843 MB / 0.5001 GB, free: 8.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.7624, allocations: 60.41 kB / 0.5002 GB, free: 8.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.7648, allocations: 1.117 MB / 0.5012 GB, free: 7.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.765, allocations: 41.7 kB / 0.5013 GB, free: 7.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.7658, allocations: 0.8749 MB / 0.5021 GB, free: 6.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.7663, allocations: 402.1 kB / 0.5025 GB, free: 6.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.7665, allocations: 32 kB / 0.5026 GB, free: 6.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.7667, allocations: 370.7 kB / 0.5029 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.7681, allocations: 0.6209 MB / 0.5035 GB, free: 5.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.7698, allocations: 0.964 MB / 0.5045 GB, free: 4.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.7715, allocations: 0.7817 MB / 0.5052 GB, free: 3.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.582e-06/0.7715, allocations: 7.938 kB / 0.5052 GB, free: 3.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004774/0.7763, allocations: 2.034 MB / 0.5072 GB, free: 1.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.7763, allocations: 8 kB / 0.5072 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.7764, allocations: 12.25 kB / 0.5072 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.7777, allocations: 407.1 kB / 0.5076 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.7794, allocations: 347.5 kB / 0.508 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/0.7863, allocations: 4.629 MB / 0.5125 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.7878, allocations: 83.91 kB / 0.5126 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.7881, allocations: 60.06 kB / 0.5126 GB, free: 11.41 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.0003764/0.7884, allocations: 184.6 kB / 0.5128 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.7888, allocations: 150.2 kB / 0.5129 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.7933, allocations: 1.902 MB / 0.5148 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.7934, allocations: 8 kB / 0.5148 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.7934, allocations: 4 kB / 0.5148 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.7934, allocations: 7.969 kB / 0.5148 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009516/0.8029, allocations: 4.025 MB / 0.5187 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.803, allocations: 4 kB / 0.5187 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.8044, allocations: 227.9 kB / 0.519 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.8062, allocations: 466.9 kB / 0.5194 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.8064, allocations: 27.98 kB / 0.5194 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.287/1.093, allocations: 6.165 MB / 0.5255 GB, free: 117.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/1.094, allocations: 6.75 kB / 0.5255 GB, free: 117.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.105, allocations: 2.9 MB / 0.5283 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.106, allocations: 358.5 kB / 0.5286 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/1.107, allocations: 31.2 kB / 0.5287 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.109, allocations: 74.08 kB / 0.5287 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/1.11, allocations: 86.06 kB / 0.5288 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.11, allocations: 41.48 kB / 0.5289 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003127/1.113, allocations: 0.8477 MB / 0.5297 GB, free: 117.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-06/1.113, allocations: 0 / 0.5297 GB, free: 117.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00443/1.117, allocations: 458.3 kB / 0.5301 GB, free: 117.1 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.00062/1.118, allocations: 307.7 kB / 0.5304 GB, free: 117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/1.122, allocations: 2.006 MB / 0.5324 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.122, allocations: 1.594 kB / 0.5324 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.125, allocations: 1.309 MB / 0.5337 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.127, allocations: 385.9 kB / 0.534 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007497/1.134, allocations: 3.435 MB / 0.5374 GB, free: 115.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/1.136, allocations: 1.672 MB / 0.539 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/1.137, allocations: 112.3 kB / 0.5391 GB, free: 114.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/1.137, allocations: 0 / 0.5391 GB, free: 114.5 MB / 442.7 MB Notification: Performance of Templates: time 0.09859/1.235, allocations: 58.92 MB / 0.5967 GB, free: 88.27 MB / 442.7 MB