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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.266e-05, allocations: 4 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08823, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5165, allocations: 98.34 MB / 440.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/0.5169, allocations: 83.7 kB / 441 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1227/0.6397, allocations: 26.24 MB / 467.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.6398, allocations: 4 kB / 467.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.592e-05/0.6398, allocations: 20 kB / 467.3 MB, free: 5.953 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.002124/0.642, allocations: 1.099 MB / 468.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.642, allocations: 8.031 kB / 468.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.6428, allocations: 170.5 kB / 468.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.6446, allocations: 0.7613 MB / 469.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.6447, allocations: 74 kB / 469.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.6449, allocations: 99.91 kB / 469.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.6469, allocations: 0.8723 MB / 470.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.647, allocations: 3.953 kB / 470.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.6471, allocations: 40 kB / 470.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.6472, allocations: 24 kB / 470.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.6487, allocations: 0.5585 MB / 471 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006909/0.6556, allocations: 3.952 MB / 474.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.6563, allocations: 327.8 kB / 475.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.6566, allocations: 129.4 kB / 475.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.6566, allocations: 4.281 kB / 475.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6567, allocations: 34.84 kB / 475.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.779e-06/0.6567, allocations: 0 / 475.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002126/0.6588, allocations: 0.951 MB / 476.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.6589, allocations: 81.11 kB / 476.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.6603, allocations: 0.6879 MB / 477.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.6603, allocations: 33.7 kB / 477.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.6609, allocations: 0.564 MB / 477.7 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.661, allocations: 130.1 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.6611, allocations: 16 kB / 477.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6613, allocations: 329.9 kB / 478.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.6616, allocations: 129.6 kB / 478.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.6622, allocations: 432.3 kB / 478.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.6627, allocations: 203.6 kB / 478.9 MB, free: 9.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.6627, allocations: 4 kB / 478.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00146/0.6642, allocations: 0.6148 MB / 479.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.6643, allocations: 19.88 kB / 479.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6643, allocations: 8 kB / 479.6 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.6645, allocations: 36.78 kB / 479.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.6652, allocations: 167.7 kB / 479.8 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.6666, allocations: 1.288 MB / 481.1 MB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.6673, allocations: 40.05 kB / 481.1 MB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.6674, allocations: 36 kB / 481.1 MB, free: 7.289 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.0002041/0.6677, allocations: 160.3 kB / 481.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.6678, allocations: 82.97 kB / 481.4 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.6687, allocations: 344 kB / 481.7 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-06/0.6687, allocations: 4 kB / 481.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.621e-06/0.6687, allocations: 0 / 481.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.194e-06/0.6688, allocations: 7.984 kB / 481.7 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.6713, allocations: 1.212 MB / 482.9 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.6713, allocations: 4 kB / 482.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.6718, allocations: 79.89 kB / 483 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.6719, allocations: 20.86 kB / 483 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.672, allocations: 11.98 kB / 483 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.6733, allocations: 1.272 MB / 484.3 MB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.538e-06/0.6733, allocations: 7.969 kB / 484.3 MB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6745, allocations: 0.6659 MB / 485 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.6749, allocations: 188.1 kB / 485.2 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.675, allocations: 11.95 kB / 485.2 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/0.6756, allocations: 35.98 kB / 485.2 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.6757, allocations: 27.95 kB / 485.2 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.6757, allocations: 8.094 kB / 485.3 MB, free: 2.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001063/0.6768, allocations: 0.5148 MB / 485.8 MB, free: 2.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.6768, allocations: 0 / 485.8 MB, free: 2.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001143/0.678, allocations: 228 kB / 486 MB, free: 2.094 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.0005395/0.6785, allocations: 307.2 kB / 486.3 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.6796, allocations: 459.6 kB / 486.7 MB, free: 1.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6796, allocations: 3.938 kB / 486.7 MB, free: 1.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.6801, allocations: 245.8 kB / 487 MB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6814, allocations: 204.1 kB / 487.2 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.6845, allocations: 1.251 MB / 488.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.6854, allocations: 1.012 MB / 489.4 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006078/0.686, allocations: 110.9 kB / 489.6 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.6862, allocations: 55.44 kB / 489.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.003e-06/0.6862, allocations: 0 / 489.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03177/0.718, allocations: 11.12 MB / 0.489 GB, free: 3.375 MB / 410.7 MB