Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.015e-05, allocations: 4 kB / 292.2 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09277, allocations: 50.41 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.5757, allocations: 130.7 MB / 473.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.576, allocations: 94.44 kB / 473.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7641/1.34, allocations: 150.9 MB / 0.6096 GB, free: 83.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.318e-06/1.34, allocations: 0 / 0.6096 GB, free: 83.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006538/1.341, allocations: 190.2 kB / 0.6098 GB, free: 82.9 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02141/1.362, allocations: 6.584 MB / 0.6162 GB, free: 76.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.362, allocations: 8.031 kB / 0.6162 GB, free: 76.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007962/1.37, allocations: 1.244 MB / 0.6174 GB, free: 75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.389, allocations: 6.234 MB / 0.6235 GB, free: 68.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005823/1.389, allocations: 0.5016 MB / 0.624 GB, free: 68.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/1.392, allocations: 0.6638 MB / 0.6247 GB, free: 67.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/1.417, allocations: 9.077 MB / 0.6335 GB, free: 58.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003018/1.417, allocations: 19.8 kB / 0.6336 GB, free: 58.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/1.42, allocations: 292 kB / 0.6338 GB, free: 57.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002837/1.42, allocations: 289.4 kB / 0.6341 GB, free: 57.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/1.439, allocations: 7.344 MB / 0.6413 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06228/1.502, allocations: 29.46 MB / 0.67 GB, free: 20.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.514, allocations: 11.71 MB / 0.6815 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006536/1.521, allocations: 3.285 MB / 0.6847 GB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2982/1.819, allocations: 6.82 MB / 0.6914 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.819, allocations: 69.09 kB / 0.6914 GB, free: 75.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.41e-06/1.819, allocations: 0 / 0.6914 GB, free: 75.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.03287/1.852, allocations: 11.9 MB / 0.703 GB, free: 74.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.852, allocations: 87.16 kB / 0.7031 GB, free: 74.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/1.861, allocations: 3.464 MB / 0.7065 GB, free: 74.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006622/1.862, allocations: 79.95 kB / 0.7066 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/1.864, allocations: 2.829 MB / 0.7093 GB, free: 72.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.865, allocations: 1.096 MB / 0.7104 GB, free: 72.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.866, allocations: 80.14 kB / 0.7105 GB, free: 72.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/1.866, allocations: 464.5 kB / 0.7109 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/1.87, allocations: 1.792 MB / 0.7127 GB, free: 71.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/1.874, allocations: 2.67 MB / 0.7153 GB, free: 70.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/1.878, allocations: 2.225 MB / 0.7175 GB, free: 70.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/1.879, allocations: 7.75 kB / 0.7175 GB, free: 70.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01253/1.891, allocations: 5.846 MB / 0.7232 GB, free: 70.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/1.891, allocations: 21.48 kB / 0.7232 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/1.891, allocations: 24.22 kB / 0.7232 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/1.895, allocations: 1.249 MB / 0.7244 GB, free: 70.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/1.899, allocations: 0.8093 MB / 0.7252 GB, free: 70.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.919, allocations: 20.68 MB / 0.7454 GB, free: 55.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/1.924, allocations: 200 kB / 0.7456 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000696/1.924, allocations: 153.7 kB / 0.7458 GB, free: 55.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000957/1.925, allocations: 329 kB / 0.7461 GB, free: 55.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.927, allocations: 449.5 kB / 0.7465 GB, free: 55.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.939, allocations: 5.967 MB / 0.7523 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.939, allocations: 30.31 kB / 0.7524 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.94, allocations: 16.06 kB / 0.7524 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-05/1.94, allocations: 14.58 kB / 0.7524 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.968, allocations: 12.25 MB / 0.7644 GB, free: 47.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.968, allocations: 3.062 kB / 0.7644 GB, free: 47.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.971, allocations: 463.8 kB / 0.7648 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005202/1.976, allocations: 1.602 MB / 0.7664 GB, free: 46.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005726/1.977, allocations: 70.95 kB / 0.7664 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02959/2.006, allocations: 30.13 MB / 0.7959 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.483e-06/2.006, allocations: 3.531 kB / 0.7959 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/2.023, allocations: 8.852 MB / 0.8045 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/2.026, allocations: 0.9225 MB / 0.8054 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/2.028, allocations: 73.91 kB / 0.8055 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/2.031, allocations: 201.2 kB / 0.8057 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/2.032, allocations: 278.8 kB / 0.8059 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004114/2.033, allocations: 89.58 kB / 0.806 GB, free: 14.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005872/2.039, allocations: 2.637 MB / 0.8086 GB, free: 12.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.084e-06/2.039, allocations: 0 / 0.8086 GB, free: 12.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007026/2.046, allocations: 1.387 MB / 0.81 GB, free: 10.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/2.047, allocations: 0.5892 MB / 0.8105 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/2.058, allocations: 6.035 MB / 0.8164 GB, free: 4.559 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.058, allocations: 0 / 0.8164 GB, free: 4.559 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007981/2.066, allocations: 4.556 MB / 0.8209 GB, free: 232 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/2.079, allocations: 1.557 MB / 0.8224 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/2.109, allocations: 10.98 MB / 0.8331 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009154/2.118, allocations: 4.519 MB / 0.8375 GB, free: 2.816 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/2.12, allocations: 297.7 kB / 0.8378 GB, free: 2.535 MB / 458.7 MB Notification: Performance of SimCode: time 1.767e-06/2.12, allocations: 0 / 0.8378 GB, free: 2.535 MB / 458.7 MB Notification: Performance of Templates: time 1.902/4.022, allocations: 0.585 GB / 1.423 GB, free: 126.6 MB / 0.4948 GB