Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.273e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09176, allocations: 50.41 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.4887, allocations: 101.6 MB / 444.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.489, allocations: 83.02 kB / 444.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.6278, allocations: 35.09 MB / 479.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.443e-06/0.6279, allocations: 0 / 479.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.6281, allocations: 51.81 kB / 479.4 MB, free: 10.08 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004434/0.6325, allocations: 1.628 MB / 481 MB, free: 8.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6326, allocations: 8.875 kB / 481 MB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.6337, allocations: 221.7 kB / 481.2 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.637, allocations: 1.187 MB / 482.4 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.6372, allocations: 107 kB / 482.5 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.6377, allocations: 159.9 kB / 482.7 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.6426, allocations: 1.902 MB / 484.6 MB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.268e-05/0.6427, allocations: 3.906 kB / 484.6 MB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.6429, allocations: 64 kB / 484.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.6431, allocations: 74.91 kB / 484.7 MB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.6468, allocations: 1.454 MB / 486.2 MB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.6611, allocations: 6.32 MB / 492.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.6631, allocations: 0.8462 MB / 493.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.6643, allocations: 0.5372 MB / 493.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.6647, allocations: 129.6 kB / 494 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6647, allocations: 43.67 kB / 494.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.986e-06/0.6648, allocations: 0 / 494.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.01722/0.682, allocations: 5.369 MB / 499.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6821, allocations: 60.19 kB / 499.5 MB, free: 5.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.6842, allocations: 0.9756 MB / 0.4887 GB, free: 4.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.6844, allocations: 45.7 kB / 0.4888 GB, free: 4.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.6851, allocations: 0.7422 MB / 0.4895 GB, free: 3.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.6855, allocations: 331.3 kB / 0.4898 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.6856, allocations: 24 kB / 0.4898 GB, free: 3.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.6858, allocations: 358.8 kB / 0.4902 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.6871, allocations: 0.5571 MB / 0.4907 GB, free: 2.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6886, allocations: 0.8851 MB / 0.4916 GB, free: 1.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.6901, allocations: 0.7114 MB / 0.4923 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6901, allocations: 4 kB / 0.4923 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004777/0.6949, allocations: 1.982 MB / 0.4942 GB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.695, allocations: 15.95 kB / 0.4942 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.695, allocations: 11.98 kB / 0.4942 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.6971, allocations: 0.5634 MB / 0.4948 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6984, allocations: 263.6 kB / 0.495 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.7101, allocations: 7.971 MB / 0.5028 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7115, allocations: 75.92 kB / 0.5029 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.7117, allocations: 48 kB / 0.5029 GB, free: 5.133 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 124 * 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: 4 * 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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.712, allocations: 180.3 kB / 0.5031 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.7124, allocations: 130.5 kB / 0.5032 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.717, allocations: 1.879 MB / 0.5051 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.717, allocations: 8 kB / 0.5051 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.717, allocations: 8.109 kB / 0.5051 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.7171, allocations: 7.922 kB / 0.5051 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/0.7264, allocations: 3.872 MB / 0.5089 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.473e-06/0.7265, allocations: 0 / 0.5089 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.7272, allocations: 123.8 kB / 0.509 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.7297, allocations: 0.6702 MB / 0.5097 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7299, allocations: 20 kB / 0.5097 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.7431, allocations: 7.986 MB / 0.5175 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.4e-06/0.7432, allocations: 4 kB / 0.5175 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.7491, allocations: 2.718 MB / 0.5201 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009345/0.7501, allocations: 323.5 kB / 0.5204 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.7504, allocations: 31.98 kB / 0.5205 GB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.7513, allocations: 56.19 kB / 0.5205 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.7515, allocations: 72.61 kB / 0.5206 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7517, allocations: 28 kB / 0.5206 GB, free: 2.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.7532, allocations: 0.7513 MB / 0.5214 GB, free: 1.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.7533, allocations: 0 / 0.5214 GB, free: 1.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002128/0.7554, allocations: 424 kB / 0.5218 GB, free: 1.215 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * 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 {(5,92.0%) 21,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006704/0.7561, allocations: 316.8 kB / 0.5221 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2405/0.9966, allocations: 2.113 MB / 0.5241 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.26e-06/0.9966, allocations: 2.266 kB / 0.5241 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.9997, allocations: 1.309 MB / 0.5254 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.002, allocations: 345.9 kB / 0.5257 GB, free: 124.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.008, allocations: 2.766 MB / 0.5284 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.01, allocations: 1.489 MB / 0.5299 GB, free: 123.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.01, allocations: 87.09 kB / 0.53 GB, free: 123.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.748e-06/1.01, allocations: 1.031 kB / 0.53 GB, free: 123.4 MB / 442.7 MB Notification: Performance of Templates: time 0.06491/1.075, allocations: 56.75 MB / 0.5854 GB, free: 99.42 MB / 442.7 MB