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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.011e-05, allocations: 4 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08853, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5415, allocations: 101.5 MB / 444.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5418, allocations: 83.64 kB / 444.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1337/0.6756, allocations: 35.09 MB / 479.3 MB, free: 9.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.6756, allocations: 3.938 kB / 479.3 MB, free: 9.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.6757, allocations: 51.88 kB / 479.3 MB, free: 9.77 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.003579/0.6793, allocations: 1.635 MB / 481 MB, free: 8.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6794, allocations: 12.02 kB / 481 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.6802, allocations: 213.7 kB / 481.2 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.683, allocations: 1.191 MB / 482.4 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.6831, allocations: 115 kB / 482.5 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.6835, allocations: 160 kB / 482.6 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.6876, allocations: 1.898 MB / 484.5 MB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.6877, allocations: 7.906 kB / 484.5 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.6879, allocations: 64 kB / 484.6 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.688, allocations: 70.92 kB / 484.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.6915, allocations: 1.462 MB / 486.1 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.7038, allocations: 6.312 MB / 492.5 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.7057, allocations: 0.8424 MB / 493.3 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.7068, allocations: 0.5399 MB / 493.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.7072, allocations: 133.6 kB / 494 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.7072, allocations: 43.12 kB / 494 MB, free: 10.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.691e-06/0.7072, allocations: 0 / 494 MB, free: 10.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.01641/0.7237, allocations: 5.369 MB / 499.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.7237, allocations: 60.19 kB / 499.4 MB, free: 5.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.7257, allocations: 0.9795 MB / 0.4887 GB, free: 4.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.796e-05/0.7258, allocations: 41.7 kB / 0.4887 GB, free: 4.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/0.7265, allocations: 0.767 MB / 0.4895 GB, free: 3.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.7269, allocations: 323.3 kB / 0.4898 GB, free: 2.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.727, allocations: 28 kB / 0.4898 GB, free: 2.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.7273, allocations: 353.9 kB / 0.4901 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.7284, allocations: 0.5531 MB / 0.4907 GB, free: 2.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.7299, allocations: 0.889 MB / 0.4916 GB, free: 1.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.7314, allocations: 0.7114 MB / 0.4923 GB, free: 316 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.579e-06/0.7314, allocations: 8 kB / 0.4923 GB, free: 308 kB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004746/0.7362, allocations: 2.051 MB / 0.4943 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.7362, allocations: 12.2 kB / 0.4943 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.7363, allocations: 16 kB / 0.4943 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.7382, allocations: 0.5592 MB / 0.4948 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7395, allocations: 259.6 kB / 0.4951 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.7507, allocations: 7.967 MB / 0.5029 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.752, allocations: 75.83 kB / 0.5029 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.7521, allocations: 48 kB / 0.503 GB, free: 4.746 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.0003299/0.7525, allocations: 184.4 kB / 0.5032 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.7528, allocations: 122.5 kB / 0.5033 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.7573, allocations: 1.883 MB / 0.5051 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.7573, allocations: 11.98 kB / 0.5051 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.7573, allocations: 8 kB / 0.5051 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.7574, allocations: 8.078 kB / 0.5051 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/0.7663, allocations: 3.864 MB / 0.5089 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.777e-06/0.7664, allocations: 0 / 0.5089 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.7671, allocations: 128 kB / 0.509 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.7696, allocations: 0.6652 MB / 0.5097 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7697, allocations: 31.98 kB / 0.5097 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.7823, allocations: 7.982 MB / 0.5175 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7824, allocations: 0 / 0.5175 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005698/0.7881, allocations: 2.722 MB / 0.5202 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.7889, allocations: 319.5 kB / 0.5205 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.7891, allocations: 23.98 kB / 0.5205 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.79, allocations: 59.94 kB / 0.5206 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.7902, allocations: 80.61 kB / 0.5206 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7903, allocations: 24 kB / 0.5207 GB, free: 2.008 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001511/0.7918, allocations: 0.7474 MB / 0.5214 GB, free: 1.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.7918, allocations: 0 / 0.5214 GB, free: 1.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001901/0.7937, allocations: 424 kB / 0.5218 GB, free: 0.8359 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.0006133/0.7944, allocations: 331.6 kB / 0.5221 GB, free: 0.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2357/1.03, allocations: 2.113 MB / 0.5242 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.617e-06/1.03, allocations: 1.156 kB / 0.5242 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/1.033, allocations: 1.304 MB / 0.5254 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/1.035, allocations: 333.2 kB / 0.5258 GB, free: 125.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/1.04, allocations: 2.714 MB / 0.5284 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/1.042, allocations: 1.507 MB / 0.5299 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00122/1.043, allocations: 264.4 kB / 0.5301 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/1.044, allocations: 85.73 kB / 0.5302 GB, free: 123.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.945e-06/1.044, allocations: 0 / 0.5302 GB, free: 123.9 MB / 442.7 MB Notification: Performance of Templates: time 0.07857/1.122, allocations: 23.27 MB / 0.5529 GB, free: 122.7 MB / 442.7 MB