Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 239.4 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.334e-05, allocations: 7.984 kB / 292.7 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09065, allocations: 50.42 MB / 343.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4719, allocations: 101.3 MB / 444.4 MB, free: 3.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4722, allocations: 81.08 kB / 444.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1341/0.6063, allocations: 35.1 MB / 479.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.6063, allocations: 0 / 479.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.6065, allocations: 43.88 kB / 479.6 MB, free: 7.145 MB / 362.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.003531/0.61, allocations: 1.642 MB / 481.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6101, allocations: 12.03 kB / 481.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.6109, allocations: 217.7 kB / 481.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.6136, allocations: 1.191 MB / 482.6 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6138, allocations: 113 kB / 482.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.6141, allocations: 157.3 kB / 482.9 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.6181, allocations: 1.899 MB / 484.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.6182, allocations: 3.984 kB / 484.8 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.6184, allocations: 64.69 kB / 484.9 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.6185, allocations: 66.92 kB / 484.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.6218, allocations: 1.457 MB / 486.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.6347, allocations: 6.318 MB / 492.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.6367, allocations: 0.8463 MB / 493.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.6379, allocations: 0.5412 MB / 494.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.6382, allocations: 125.6 kB / 494.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.6383, allocations: 47.06 kB / 494.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/0.6383, allocations: 0 / 494.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01681/0.6551, allocations: 5.362 MB / 499.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.6552, allocations: 68.19 kB / 499.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.6572, allocations: 0.9756 MB / 0.4889 GB, free: 3.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6573, allocations: 41.7 kB / 0.489 GB, free: 3.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007571/0.6581, allocations: 0.7553 MB / 0.4897 GB, free: 2.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.6585, allocations: 335.3 kB / 0.49 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.6586, allocations: 24 kB / 0.4901 GB, free: 2.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.6588, allocations: 349.9 kB / 0.4904 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.66, allocations: 0.5532 MB / 0.4909 GB, free: 1.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.6615, allocations: 0.889 MB / 0.4918 GB, free: 412 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.663, allocations: 0.7192 MB / 0.4925 GB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.663, allocations: 4 kB / 0.4925 GB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004854/0.6679, allocations: 2.059 MB / 0.4945 GB, free: 13.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.668, allocations: 11.95 kB / 0.4945 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.668, allocations: 12 kB / 0.4945 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.67, allocations: 0.5556 MB / 0.4951 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6712, allocations: 263.6 kB / 0.4953 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.6827, allocations: 7.967 MB / 0.5031 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.684, allocations: 75.98 kB / 0.5032 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.6841, allocations: 52 kB / 0.5032 GB, free: 4.113 MB / 394.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.0003389/0.6845, allocations: 186.1 kB / 0.5034 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.6848, allocations: 126.5 kB / 0.5035 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.6894, allocations: 1.879 MB / 0.5054 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.6895, allocations: 12 kB / 0.5054 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6895, allocations: 4 kB / 0.5054 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.6895, allocations: 4.094 kB / 0.5054 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008974/0.6985, allocations: 3.879 MB / 0.5092 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6985, allocations: 4 kB / 0.5092 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.6993, allocations: 123.8 kB / 0.5093 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.7018, allocations: 0.6644 MB / 0.51 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.7019, allocations: 35.92 kB / 0.51 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.7147, allocations: 7.976 MB / 0.5178 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7147, allocations: 8 kB / 0.5178 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/0.7205, allocations: 2.714 MB / 0.5204 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.7213, allocations: 327.5 kB / 0.5207 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.7216, allocations: 20 kB / 0.5208 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.7224, allocations: 59.94 kB / 0.5208 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.7227, allocations: 72.61 kB / 0.5209 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7228, allocations: 31.98 kB / 0.5209 GB, free: 1.371 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.7243, allocations: 0.7435 MB / 0.5216 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.7243, allocations: 8 kB / 0.5217 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001904/0.7263, allocations: 420 kB / 0.5221 GB, free: 204 kB / 410.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.0006138/0.7269, allocations: 320.4 kB / 0.5224 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004304/0.7312, allocations: 2.112 MB / 0.5244 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.259e-06/0.7312, allocations: 4.188 kB / 0.5244 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.734, allocations: 1.309 MB / 0.5257 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.7359, allocations: 348.5 kB / 0.526 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.7417, allocations: 2.711 MB / 0.5287 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.7434, allocations: 1.503 MB / 0.5302 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.7445, allocations: 263.3 kB / 0.5304 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.7448, allocations: 83.42 kB / 0.5305 GB, free: 7.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.548e-06/0.7449, allocations: 4 kB / 0.5305 GB, free: 7.332 MB / 426.7 MB Notification: Performance of Templates: time 0.05936/0.8042, allocations: 23.27 MB / 0.5532 GB, free: 280 kB / 442.7 MB