Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.217e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09428, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.4912, allocations: 107.9 MB / 450.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4915, allocations: 84.77 kB / 450.6 MB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1982/0.6897, allocations: 50.48 MB / 0.4893 GB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.363e-06/0.6898, allocations: 0 / 0.4893 GB, free: 4.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000241/0.69, allocations: 63.94 kB / 0.4894 GB, free: 4.172 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007264/0.6973, allocations: 2.506 MB / 0.4918 GB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6973, allocations: 8.031 kB / 0.4918 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.699, allocations: 332.3 kB / 0.4921 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.7042, allocations: 1.779 MB / 0.4939 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.7045, allocations: 176.6 kB / 0.4941 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007191/0.7052, allocations: 232.6 kB / 0.4943 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00823/0.7135, allocations: 3.005 MB / 0.4972 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-05/0.7136, allocations: 11.91 kB / 0.4972 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.714, allocations: 96 kB / 0.4973 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.7141, allocations: 104.6 kB / 0.4974 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00663/0.7208, allocations: 2.426 MB / 0.4998 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.7438, allocations: 9.755 MB / 0.5093 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.7477, allocations: 2.143 MB / 0.5114 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.7498, allocations: 0.9263 MB / 0.5123 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.7503, allocations: 227.1 kB / 0.5125 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.7503, allocations: 43.56 kB / 0.5126 GB, free: 11.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 7.544e-06/0.7504, allocations: 0 / 0.5126 GB, free: 11.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=141): time 0.01953/0.7699, allocations: 6.497 MB / 0.5189 GB, free: 5.086 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.77, allocations: 64.72 kB / 0.519 GB, free: 5.012 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.7732, allocations: 1.508 MB / 0.5204 GB, free: 3.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.7734, allocations: 45.7 kB / 0.5205 GB, free: 3.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.7745, allocations: 1.077 MB / 0.5215 GB, free: 2.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00059/0.7751, allocations: 488.9 kB / 0.522 GB, free: 1.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7752, allocations: 28 kB / 0.522 GB, free: 1.852 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.7755, allocations: 382.7 kB / 0.5224 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.7772, allocations: 0.8043 MB / 0.5232 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2527/1.03, allocations: 1.157 MB / 0.5243 GB, free: 113 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/1.032, allocations: 0.9747 MB / 0.5253 GB, free: 113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.032, allocations: 6.531 kB / 0.5253 GB, free: 113 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.0063/1.039, allocations: 2.576 MB / 0.5278 GB, free: 112.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.039, allocations: 10.09 kB / 0.5278 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/1.039, allocations: 13.59 kB / 0.5278 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/1.041, allocations: 0.5825 MB / 0.5284 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.043, allocations: 367.4 kB / 0.5287 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/1.052, allocations: 6.307 MB / 0.5349 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.054, allocations: 118.2 kB / 0.535 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/1.054, allocations: 62.42 kB / 0.5351 GB, free: 110.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003749/1.055, allocations: 200.2 kB / 0.5352 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/1.055, allocations: 186.5 kB / 0.5354 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/1.061, allocations: 2.518 MB / 0.5379 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.061, allocations: 16.53 kB / 0.5379 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.061, allocations: 5.719 kB / 0.5379 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.061, allocations: 11.5 kB / 0.5379 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.072, allocations: 5.263 MB / 0.5431 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.072, allocations: 2.75 kB / 0.5431 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.074, allocations: 234.6 kB / 0.5433 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/1.076, allocations: 0.6354 MB / 0.5439 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/1.076, allocations: 35.17 kB / 0.5439 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.086, allocations: 8.048 MB / 0.5518 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.017e-06/1.086, allocations: 6.188 kB / 0.5518 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/1.093, allocations: 3.824 MB / 0.5555 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.095, allocations: 457.2 kB / 0.556 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/1.095, allocations: 30.75 kB / 0.556 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.096, allocations: 102.8 kB / 0.5561 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/1.097, allocations: 134.6 kB / 0.5562 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.097, allocations: 35.09 kB / 0.5563 GB, free: 103.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002006/1.099, allocations: 1.158 MB / 0.5574 GB, free: 103.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.17e-07/1.099, allocations: 0 / 0.5574 GB, free: 103.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002145/1.101, allocations: 0.5681 MB / 0.5579 GB, free: 103.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006002/1.102, allocations: 328 kB / 0.5583 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004402/1.106, allocations: 2.436 MB / 0.5606 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.886e-06/1.106, allocations: 5.844 kB / 0.5606 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/1.109, allocations: 1.592 MB / 0.5622 GB, free: 101.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.112, allocations: 437.5 kB / 0.5626 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/1.12, allocations: 4.179 MB / 0.5667 GB, free: 99.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/1.122, allocations: 2.042 MB / 0.5687 GB, free: 98.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000757/1.123, allocations: 139.1 kB / 0.5688 GB, free: 98.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.757e-06/1.123, allocations: 0 / 0.5688 GB, free: 98.46 MB / 442.7 MB Notification: Performance of Templates: time 0.076/1.199, allocations: 65.07 MB / 0.6324 GB, free: 54.2 MB / 442.7 MB