Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.191e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.3864, allocations: 92.02 MB / 386.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3867, allocations: 79.95 kB / 386.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1153/0.502, allocations: 25.77 MB / 412 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.181e-06/0.5021, allocations: 0 / 412 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.5022, allocations: 20 kB / 412 MB, free: 11.89 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003811/0.506, allocations: 1.103 MB / 413.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5061, allocations: 8.031 kB / 413.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.5074, allocations: 170.5 kB / 413.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.5108, allocations: 0.769 MB / 414.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.5109, allocations: 32 kB / 414.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.5112, allocations: 67.91 kB / 414.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/0.5138, allocations: 0.5117 MB / 414.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.517, allocations: 0.7356 MB / 415.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/0.5171, allocations: 4 kB / 415.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5172, allocations: 0 / 415.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.5173, allocations: 28 kB / 415.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.5296, allocations: 3.759 MB / 419.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5307, allocations: 314.8 kB / 419.5 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.5312, allocations: 121.4 kB / 419.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.5313, allocations: 8.266 kB / 419.6 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.5314, allocations: 38.83 kB / 419.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 6.412e-06/0.5314, allocations: 0 / 419.7 MB, free: 3.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00358/0.535, allocations: 0.8745 MB / 420.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.5351, allocations: 85.11 kB / 420.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.537, allocations: 0.5701 MB / 421.2 MB, free: 2.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.5371, allocations: 25.7 kB / 421.2 MB, free: 2.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.5379, allocations: 0.5936 MB / 421.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.5382, allocations: 134.1 kB / 421.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.5383, allocations: 0 / 421.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.5385, allocations: 334.8 kB / 422.3 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.5391, allocations: 113.5 kB / 422.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.5401, allocations: 420.3 kB / 422.8 MB, free: 488 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.5408, allocations: 187.6 kB / 423 MB, free: 300 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.5409, allocations: 4 kB / 423 MB, free: 296 kB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.2059/0.7467, allocations: 0.5048 MB / 423.5 MB, free: 96.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.7468, allocations: 12 kB / 423.5 MB, free: 96.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.7469, allocations: 10.12 kB / 423.5 MB, free: 96.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.7471, allocations: 38.22 kB / 423.5 MB, free: 96.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.7478, allocations: 164.5 kB / 423.7 MB, free: 96.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009314/0.7488, allocations: 1.24 MB / 424.9 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.7495, allocations: 28.98 kB / 425 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.7496, allocations: 32.5 kB / 425 MB, free: 95.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.7497, allocations: 133.6 kB / 425.1 MB, free: 95.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.7499, allocations: 79.92 kB / 425.2 MB, free: 95.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.7507, allocations: 305.7 kB / 425.5 MB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-06/0.7507, allocations: 3.562 kB / 425.5 MB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7507, allocations: 1.5 kB / 425.5 MB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.41e-06/0.7507, allocations: 1.922 kB / 425.5 MB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.7526, allocations: 1.06 MB / 426.6 MB, free: 94.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.058e-06/0.7527, allocations: 1.188 kB / 426.6 MB, free: 94.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.7531, allocations: 78.92 kB / 426.7 MB, free: 94.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.7532, allocations: 22.11 kB / 426.7 MB, free: 94.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.7533, allocations: 8.688 kB / 426.7 MB, free: 94.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/0.754, allocations: 1.23 MB / 427.9 MB, free: 93.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.754, allocations: 4.938 kB / 427.9 MB, free: 93.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.7549, allocations: 0.629 MB / 428.5 MB, free: 93.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.7551, allocations: 172.8 kB / 428.7 MB, free: 93.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7553, allocations: 7.234 kB / 428.7 MB, free: 93.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.7557, allocations: 21.59 kB / 428.7 MB, free: 93.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.7558, allocations: 32.61 kB / 428.8 MB, free: 93.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.7559, allocations: 11.28 kB / 428.8 MB, free: 93.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006833/0.7565, allocations: 432.4 kB / 429.2 MB, free: 93.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.7566, allocations: 0 / 429.2 MB, free: 93.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009382/0.7575, allocations: 177 kB / 429.4 MB, free: 93.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.7579, allocations: 285.3 kB / 429.7 MB, free: 92.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.7588, allocations: 445.3 kB / 430.1 MB, free: 92.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.153e-06/0.7588, allocations: 2.734 kB / 430.1 MB, free: 92.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.7592, allocations: 235.1 kB / 430.3 MB, free: 92.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.7601, allocations: 162.6 kB / 430.5 MB, free: 92.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.7626, allocations: 1.261 MB / 431.7 MB, free: 92.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.7632, allocations: 1.013 MB / 432.8 MB, free: 91.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.7634, allocations: 57.22 kB / 432.8 MB, free: 91.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.55e-06/0.7634, allocations: 0 / 432.8 MB, free: 91.48 MB / 362.7 MB Notification: Performance of Templates: time 0.02146/0.7849, allocations: 15.28 MB / 448.1 MB, free: 90.62 MB / 362.7 MB