Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.322e-05, allocations: 0 / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 50.42 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4897, allocations: 98.8 MB / 441.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.49, allocations: 78.52 kB / 441.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.11/0.6, allocations: 28.21 MB / 469.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.6001, allocations: 0 / 469.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.463e-05/0.6002, allocations: 28 kB / 469.7 MB, free: 3.543 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002203/0.6024, allocations: 1.102 MB / 470.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6024, allocations: 8.031 kB / 470.8 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.6033, allocations: 190.3 kB / 471 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.6052, allocations: 0.7886 MB / 471.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/0.6053, allocations: 78 kB / 471.8 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.6056, allocations: 103.8 kB / 471.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.6077, allocations: 0.8724 MB / 472.8 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/0.6078, allocations: 0 / 472.8 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6079, allocations: 43.94 kB / 472.9 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.6079, allocations: 31.95 kB / 472.9 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.6095, allocations: 0.5781 MB / 473.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.6168, allocations: 3.912 MB / 477.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.6177, allocations: 446.4 kB / 477.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.6184, allocations: 242.6 kB / 478.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.6184, allocations: 4 kB / 478.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.6185, allocations: 42.52 kB / 478.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.614e-06/0.6185, allocations: 0 / 478.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.002937/0.6214, allocations: 1.201 MB / 479.3 MB, free: 9.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.6215, allocations: 81.55 kB / 479.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.6229, allocations: 0.6879 MB / 480.1 MB, free: 8.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.623, allocations: 41.69 kB / 480.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.6235, allocations: 0.5449 MB / 480.7 MB, free: 8.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6237, allocations: 173.5 kB / 480.8 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.6238, allocations: 16 kB / 480.8 MB, free: 7.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.624, allocations: 337.9 kB / 481.2 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.6244, allocations: 149.6 kB / 481.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.625, allocations: 436.4 kB / 481.7 MB, free: 6.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.6256, allocations: 233.5 kB / 482 MB, free: 6.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.6256, allocations: 4 kB / 482 MB, free: 6.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001808/0.6274, allocations: 0.7388 MB / 482.7 MB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6275, allocations: 8 kB / 482.7 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.6275, allocations: 12.38 kB / 482.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.6279, allocations: 97.66 kB / 482.8 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.6286, allocations: 155.8 kB / 483 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.6322, allocations: 2.982 MB / 486 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/0.6331, allocations: 43.95 kB / 486 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.6331, allocations: 35.95 kB / 486 MB, free: 2.285 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.6334, allocations: 149.7 kB / 486.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6336, allocations: 82.97 kB / 486.3 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.6348, allocations: 498.5 kB / 486.7 MB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.6349, allocations: 8 kB / 486.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-06/0.6349, allocations: 0 / 486.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6349, allocations: 3.984 kB / 486.8 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.6379, allocations: 1.435 MB / 488.2 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.858e-06/0.6379, allocations: 4 kB / 488.2 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.6384, allocations: 71.91 kB / 488.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.6387, allocations: 89.78 kB / 488.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.6388, allocations: 12 kB / 488.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.6423, allocations: 2.967 MB / 491.3 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-06/0.6423, allocations: 0 / 491.3 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.6441, allocations: 0.8556 MB / 492.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.6445, allocations: 192.1 kB / 492.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.6446, allocations: 11.98 kB / 492.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.6452, allocations: 35.98 kB / 492.4 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6453, allocations: 39.84 kB / 492.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.6454, allocations: 16 kB / 492.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.6465, allocations: 0.5187 MB / 493 MB, free: 10.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.201e-06/0.6465, allocations: 0 / 493 MB, free: 10.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001347/0.6479, allocations: 244 kB / 493.2 MB, free: 10.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005665/0.6485, allocations: 311.1 kB / 493.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.6499, allocations: 0.6526 MB / 494.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.243e-06/0.6499, allocations: 0 / 494.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.6508, allocations: 425.3 kB / 494.6 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.652, allocations: 203.6 kB / 494.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.6551, allocations: 1.259 MB / 496.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/0.6561, allocations: 1.028 MB / 497.1 MB, free: 6.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006367/0.6568, allocations: 107.3 kB / 497.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.657, allocations: 59.42 kB / 497.3 MB, free: 6.453 MB / 410.7 MB Notification: Performance of SimCode: time 1.839e-06/0.657, allocations: 0 / 497.3 MB, free: 6.453 MB / 410.7 MB Notification: Performance of Templates: time 0.04645/0.7034, allocations: 12.25 MB / 0.4976 GB, free: 10.34 MB / 426.7 MB