Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.907/1.907, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.875e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08935, allocations: 50.42 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4713, allocations: 98.4 MB / 441 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4716, allocations: 79.08 kB / 441 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.5737, allocations: 26.25 MB / 467.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.5738, allocations: 0 / 467.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.734e-05/0.5739, allocations: 20 kB / 467.3 MB, free: 5.855 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002137/0.576, allocations: 1.093 MB / 468.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5761, allocations: 8.031 kB / 468.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/0.5768, allocations: 174.5 kB / 468.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.5787, allocations: 0.7665 MB / 469.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.5788, allocations: 74.69 kB / 469.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.579, allocations: 96.97 kB / 469.5 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.5811, allocations: 0.8686 MB / 470.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.5811, allocations: 7.953 kB / 470.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.5813, allocations: 36 kB / 470.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.5813, allocations: 24 kB / 470.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.5829, allocations: 0.5585 MB / 471 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0073/0.5902, allocations: 3.952 MB / 475 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.5909, allocations: 322.8 kB / 475.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.5912, allocations: 137.4 kB / 475.4 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.5913, allocations: 288 / 475.4 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5913, allocations: 38.84 kB / 475.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.586e-06/0.5913, allocations: 0 / 475.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002258/0.5936, allocations: 0.947 MB / 476.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.5937, allocations: 85.05 kB / 476.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.5951, allocations: 0.688 MB / 477.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.5951, allocations: 33.7 kB / 477.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.5956, allocations: 0.5704 MB / 477.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5958, allocations: 138.1 kB / 477.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.5958, allocations: 12 kB / 477.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5961, allocations: 342.8 kB / 478.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.5964, allocations: 125.6 kB / 478.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.597, allocations: 436.2 kB / 478.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.5975, allocations: 203.6 kB / 479 MB, free: 9.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.44e-06/0.5976, allocations: 0 / 479 MB, free: 9.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001381/0.5989, allocations: 0.573 MB / 479.6 MB, free: 9.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.599, allocations: 11.94 kB / 479.6 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.599, allocations: 12 kB / 479.6 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.5992, allocations: 28.86 kB / 479.6 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.5999, allocations: 163.7 kB / 479.8 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.6013, allocations: 1.292 MB / 481.1 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007766/0.6021, allocations: 44.14 kB / 481.1 MB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.6022, allocations: 36 kB / 481.2 MB, free: 7.578 MB / 394.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.0001861/0.6024, allocations: 148.6 kB / 481.3 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.6026, allocations: 82.97 kB / 481.4 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008725/0.6035, allocations: 344 kB / 481.7 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.6035, allocations: 4 kB / 481.7 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6035, allocations: 4 kB / 481.7 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.786e-06/0.6036, allocations: 7.984 kB / 481.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.6061, allocations: 1.215 MB / 482.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.631e-06/0.6061, allocations: 4 kB / 482.9 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.6066, allocations: 75.91 kB / 483 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.6068, allocations: 24.84 kB / 483 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.6068, allocations: 8 kB / 483.1 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.6081, allocations: 1.268 MB / 484.3 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.733e-06/0.6082, allocations: 0 / 484.3 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6094, allocations: 0.6739 MB / 485 MB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.6099, allocations: 192.1 kB / 485.2 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.61, allocations: 11.95 kB / 485.2 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.6105, allocations: 35.97 kB / 485.2 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.6106, allocations: 23.97 kB / 485.3 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.6107, allocations: 8 kB / 485.3 MB, free: 3.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.6118, allocations: 0.5187 MB / 485.8 MB, free: 2.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.97e-07/0.6118, allocations: 0 / 485.8 MB, free: 2.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001128/0.6129, allocations: 228 kB / 486 MB, free: 2.387 MB / 394.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.0005522/0.6135, allocations: 314.9 kB / 486.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.6146, allocations: 459.1 kB / 486.8 MB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.774e-06/0.6146, allocations: 3.938 kB / 486.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.6151, allocations: 245.6 kB / 487 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6163, allocations: 196.5 kB / 487.2 MB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.6195, allocations: 1.288 MB / 488.5 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.6204, allocations: 1.012 MB / 489.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.6207, allocations: 59.44 kB / 489.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.983e-06/0.6207, allocations: 0 / 489.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02894/0.6496, allocations: 15.98 MB / 0.4937 GB, free: 14.81 MB / 426.7 MB