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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.987e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08578, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4417, allocations: 97.44 MB / 414.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.442, allocations: 82.39 kB / 414.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1321/0.5742, allocations: 28.16 MB / 442.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.266e-06/0.5742, allocations: 0 / 442.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.5743, allocations: 20 kB / 442.6 MB, free: 15.15 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002165/0.5764, allocations: 1.115 MB / 443.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5765, allocations: 8.031 kB / 443.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.5773, allocations: 186.4 kB / 443.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.5792, allocations: 0.79 MB / 444.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.5793, allocations: 71 kB / 444.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5795, allocations: 112.1 kB / 444.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.5814, allocations: 0.8757 MB / 445.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.5815, allocations: 0 / 445.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5816, allocations: 44.19 kB / 445.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.5817, allocations: 24 kB / 445.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5832, allocations: 0.5712 MB / 446.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006656/0.5898, allocations: 3.922 MB / 450.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008196/0.5907, allocations: 422.7 kB / 450.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.5913, allocations: 247.9 kB / 451 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.5914, allocations: 4 kB / 451 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5914, allocations: 41.77 kB / 451.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.866e-06/0.5915, allocations: 0 / 451.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002693/0.5942, allocations: 1.189 MB / 452.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.5943, allocations: 92.97 kB / 452.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5955, allocations: 0.685 MB / 453 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.5956, allocations: 36.95 kB / 453.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.5961, allocations: 0.5446 MB / 453.6 MB, free: 6.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.5963, allocations: 182.2 kB / 453.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.5963, allocations: 10.94 kB / 453.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5965, allocations: 340 kB / 454.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.5969, allocations: 153.6 kB / 454.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.5976, allocations: 443.4 kB / 454.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.5981, allocations: 229.5 kB / 454.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.751e-06/0.5982, allocations: 4 kB / 454.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001772/0.5999, allocations: 0.7313 MB / 455.7 MB, free: 4.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.6, allocations: 8 kB / 455.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.6, allocations: 12 kB / 455.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.6004, allocations: 97.89 kB / 455.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.6011, allocations: 159.7 kB / 455.9 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.6047, allocations: 2.989 MB / 458.9 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/0.6053, allocations: 43.95 kB / 459 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.6054, allocations: 36 kB / 459 MB, free: 0.5078 MB / 362.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.0001882/0.6056, allocations: 148.7 kB / 459.1 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6058, allocations: 86.97 kB / 459.2 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.6071, allocations: 490.5 kB / 459.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.6071, allocations: 7.984 kB / 459.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6071, allocations: 3.953 kB / 459.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.581e-06/0.6071, allocations: 0 / 459.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.6101, allocations: 1.431 MB / 461.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-06/0.6101, allocations: 0 / 461.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.6106, allocations: 83.95 kB / 461.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.6109, allocations: 81.73 kB / 461.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.611, allocations: 15.98 kB / 461.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.6144, allocations: 2.97 MB / 464.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-06/0.6145, allocations: 4 kB / 464.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.6161, allocations: 0.84 MB / 465.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.6166, allocations: 200 kB / 465.3 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.6167, allocations: 15.95 kB / 465.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.6173, allocations: 27.98 kB / 465.4 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6174, allocations: 43.83 kB / 465.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.6175, allocations: 12 kB / 465.4 MB, free: 9.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.6185, allocations: 0.5265 MB / 466 MB, free: 9.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.6186, allocations: 0 / 466 MB, free: 9.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001246/0.6198, allocations: 236 kB / 466.2 MB, free: 8.82 MB / 378.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.000537/0.6204, allocations: 327.8 kB / 466.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.6217, allocations: 0.6424 MB / 467.2 MB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.061e-06/0.6218, allocations: 3.938 kB / 467.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.6226, allocations: 419.2 kB / 467.6 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6238, allocations: 204.3 kB / 467.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.6269, allocations: 1.267 MB / 469 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/0.6279, allocations: 1.032 MB / 470.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006273/0.6285, allocations: 115.2 kB / 470.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.6287, allocations: 55.44 kB / 470.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.688e-06/0.6287, allocations: 0 / 470.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of Templates: time 0.03416/0.6629, allocations: 12.24 MB / 482.5 MB, free: 8.465 MB / 394.7 MB