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.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.946e-05, allocations: 8 kB / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07718/0.07723, allocations: 44.48 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4436, allocations: 93.11 MB / 393 MB, free: 19.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4438, allocations: 81.48 kB / 393.1 MB, free: 19.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1012/0.545, allocations: 28.09 MB / 421.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.5451, allocations: 0 / 421.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.689e-05/0.5452, allocations: 23.16 kB / 421.2 MB, free: 9.465 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.001828/0.547, allocations: 1.11 MB / 422.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5471, allocations: 9.594 kB / 422.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/0.5479, allocations: 191.9 kB / 422.5 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.5496, allocations: 0.7933 MB / 423.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.5497, allocations: 72.19 kB / 423.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.5499, allocations: 102.4 kB / 423.5 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.5517, allocations: 0.8841 MB / 424.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.5518, allocations: 0 / 424.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5519, allocations: 43.31 kB / 424.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.5519, allocations: 26.94 kB / 424.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5534, allocations: 0.5782 MB / 425 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006171/0.5596, allocations: 3.912 MB / 428.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.5604, allocations: 433.6 kB / 429.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.561, allocations: 247.5 kB / 429.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.996e-05/0.561, allocations: 3.875 kB / 429.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.561, allocations: 38.38 kB / 429.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.345e-06/0.5611, allocations: 3.875 kB / 429.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002686/0.5638, allocations: 1.188 MB / 430.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.5638, allocations: 89.12 kB / 430.9 MB, free: 4.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.565, allocations: 0.6838 MB / 431.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.565, allocations: 33.39 kB / 431.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.5654, allocations: 0.5554 MB / 432.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5655, allocations: 162.7 kB / 432.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5656, allocations: 14.62 kB / 432.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.5657, allocations: 339.7 kB / 432.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.566, allocations: 149.1 kB / 432.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.5665, allocations: 440.5 kB / 433.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.567, allocations: 233.8 kB / 433.5 MB, free: 3.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5671, allocations: 3.812 kB / 433.5 MB, free: 3.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001591/0.5687, allocations: 0.7332 MB / 434.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5687, allocations: 7.625 kB / 434.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5687, allocations: 15.14 kB / 434.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.5691, allocations: 104 kB / 434.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.5698, allocations: 153.9 kB / 434.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.5723, allocations: 2.987 MB / 437.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.5732, allocations: 38.83 kB / 437.5 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.5732, allocations: 39.38 kB / 437.5 MB, free: 16.07 MB / 330.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.0001856/0.5734, allocations: 151.9 kB / 437.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.5736, allocations: 90.92 kB / 437.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5748, allocations: 494.1 kB / 438.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.463e-06/0.5749, allocations: 4 kB / 438.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5749, allocations: 0 / 438.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5749, allocations: 7.984 kB / 438.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.5779, allocations: 1.426 MB / 439.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.488e-06/0.5779, allocations: 0 / 439.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.5784, allocations: 71.91 kB / 439.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.5788, allocations: 87.64 kB / 439.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.5788, allocations: 11 kB / 439.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.5822, allocations: 2.971 MB / 442.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-06/0.5823, allocations: 4.031 kB / 442.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.584, allocations: 0.8511 MB / 443.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.5845, allocations: 197.8 kB / 443.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.5846, allocations: 12.8 kB / 443.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.5852, allocations: 31.55 kB / 443.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5854, allocations: 32.7 kB / 444 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.5854, allocations: 14.56 kB / 444 MB, free: 10.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.5865, allocations: 0.5217 MB / 444.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.5865, allocations: 0 / 444.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001326/0.5878, allocations: 249.8 kB / 444.7 MB, free: 9.625 MB / 330.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.000567/0.5884, allocations: 302.1 kB / 445 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.5898, allocations: 0.6541 MB / 445.7 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.553e-06/0.5898, allocations: 0 / 445.7 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.5907, allocations: 421.3 kB / 446.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.592, allocations: 210.4 kB / 446.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.5971, allocations: 1.264 MB / 447.6 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.5985, allocations: 1.028 MB / 448.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.5996, allocations: 103.3 kB / 448.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.5999, allocations: 59.42 kB / 448.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of SimCode: time 2.668e-06/0.6, allocations: 0 / 448.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of Templates: time 0.036/0.636, allocations: 12.24 MB / 461 MB, free: 9.695 MB / 346.7 MB