Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.983e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.3493, allocations: 88.02 MB / 351.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.3496, allocations: 79.95 kB / 351.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.324/0.6737, allocations: 28.21 MB / 380.1 MB, free: 84.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.6737, allocations: 0 / 380.1 MB, free: 84.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.517e-05/0.6738, allocations: 23.69 kB / 380.1 MB, free: 84.26 MB / 314.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.001774/0.6756, allocations: 1.101 MB / 381.2 MB, free: 83.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6756, allocations: 14.44 kB / 381.2 MB, free: 83.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.6764, allocations: 189.6 kB / 381.4 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.6781, allocations: 0.7954 MB / 382.2 MB, free: 83.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.6781, allocations: 72.28 kB / 382.3 MB, free: 83.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.6783, allocations: 102.7 kB / 382.4 MB, free: 83.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.6801, allocations: 0.8753 MB / 383.3 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.6802, allocations: 11.75 kB / 383.3 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6803, allocations: 43.53 kB / 383.3 MB, free: 82.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.6804, allocations: 23.31 kB / 383.3 MB, free: 82.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.6817, allocations: 0.5714 MB / 383.9 MB, free: 82.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007571/0.6893, allocations: 3.925 MB / 387.8 MB, free: 80.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6908, allocations: 429.1 kB / 388.2 MB, free: 79.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6919, allocations: 248.2 kB / 388.5 MB, free: 79.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/0.692, allocations: 3.812 kB / 388.5 MB, free: 79.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6921, allocations: 38.5 kB / 388.5 MB, free: 79.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 6.089e-06/0.6921, allocations: 0 / 388.5 MB, free: 79.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.004836/0.697, allocations: 1.195 MB / 389.7 MB, free: 79.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6971, allocations: 85.31 kB / 389.8 MB, free: 78.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.6993, allocations: 0.6885 MB / 390.5 MB, free: 78.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.6994, allocations: 37.7 kB / 390.5 MB, free: 78.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.7001, allocations: 0.5651 MB / 391.1 MB, free: 78.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7003, allocations: 166.8 kB / 391.3 MB, free: 78.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.756e-05/0.7004, allocations: 15.78 kB / 391.3 MB, free: 78.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7006, allocations: 331.7 kB / 391.6 MB, free: 77.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.7013, allocations: 147.2 kB / 391.7 MB, free: 77.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.7022, allocations: 440.6 kB / 392.2 MB, free: 77.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.7032, allocations: 236.9 kB / 392.4 MB, free: 77.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7032, allocations: 3.969 kB / 392.4 MB, free: 77.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003079/0.7063, allocations: 0.7229 MB / 393.1 MB, free: 76.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.7064, allocations: 9.812 kB / 393.1 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.7064, allocations: 10 kB / 393.1 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.7071, allocations: 100.7 kB / 393.2 MB, free: 76.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7085, allocations: 158.2 kB / 393.4 MB, free: 76.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.7129, allocations: 2.992 MB / 396.4 MB, free: 73.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.7146, allocations: 43.77 kB / 396.4 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.7147, allocations: 32 kB / 396.5 MB, free: 73.3 MB / 314.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.000258/0.715, allocations: 148.7 kB / 396.6 MB, free: 73.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.7153, allocations: 90.92 kB / 396.7 MB, free: 73.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.7174, allocations: 497.8 kB / 397.2 MB, free: 72.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.7174, allocations: 4 kB / 397.2 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.145e-06/0.7175, allocations: 0 / 397.2 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.7175, allocations: 3.375 kB / 397.2 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.7223, allocations: 1.427 MB / 398.6 MB, free: 71.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.7223, allocations: 0 / 398.6 MB, free: 71.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.7231, allocations: 77.34 kB / 398.7 MB, free: 71.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005771/0.7237, allocations: 84.25 kB / 398.8 MB, free: 71.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.7238, allocations: 22.25 kB / 398.8 MB, free: 71.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.7282, allocations: 2.967 MB / 401.8 MB, free: 68.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.277e-06/0.7283, allocations: 4.031 kB / 401.8 MB, free: 68.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.731, allocations: 0.8478 MB / 402.6 MB, free: 67.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.7317, allocations: 205.4 kB / 402.8 MB, free: 66.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.732, allocations: 11.33 kB / 402.8 MB, free: 66.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.7333, allocations: 34.98 kB / 402.9 MB, free: 66.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.7335, allocations: 32.98 kB / 402.9 MB, free: 66.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.7336, allocations: 16 kB / 402.9 MB, free: 66.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001685/0.7353, allocations: 0.5262 MB / 403.4 MB, free: 66.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.506e-06/0.7353, allocations: 0 / 403.4 MB, free: 66.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002449/0.7378, allocations: 248 kB / 403.7 MB, free: 66.14 MB / 314.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.0007339/0.7385, allocations: 288.6 kB / 404 MB, free: 65.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.7407, allocations: 0.6504 MB / 404.6 MB, free: 65.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.688e-06/0.7407, allocations: 0 / 404.6 MB, free: 65.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.742, allocations: 426.3 kB / 405 MB, free: 64.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.7443, allocations: 210.5 kB / 405.2 MB, free: 64.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.7496, allocations: 1.273 MB / 406.5 MB, free: 63.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009999/0.7506, allocations: 1.032 MB / 407.5 MB, free: 62.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001295/0.7519, allocations: 107.4 kB / 407.6 MB, free: 62.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7523, allocations: 55.44 kB / 407.7 MB, free: 62.41 MB / 314.7 MB Notification: Performance of SimCode: time 2.958e-06/0.7523, allocations: 0 / 407.7 MB, free: 62.41 MB / 314.7 MB Notification: Performance of Templates: time 0.03748/0.7898, allocations: 12.24 MB / 419.9 MB, free: 50.78 MB / 314.7 MB