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.855/1.855, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.009e-05, allocations: 11.02 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09659, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4405, allocations: 92.68 MB / 392.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4408, allocations: 78.16 kB / 392.6 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08923/0.53, allocations: 26.16 MB / 418.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.16e-06/0.5301, allocations: 3.938 kB / 418.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.275e-05/0.5302, allocations: 19.53 kB / 418.8 MB, free: 10.28 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001889/0.5321, allocations: 1.1 MB / 419.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5321, allocations: 15.72 kB / 419.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.5328, allocations: 168.2 kB / 420.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5344, allocations: 0.7633 MB / 420.9 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.5345, allocations: 74.42 kB / 420.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.5347, allocations: 101.4 kB / 421 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.5365, allocations: 0.8709 MB / 421.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.5365, allocations: 3.906 kB / 421.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5366, allocations: 37.81 kB / 421.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.5367, allocations: 23.41 kB / 422 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.538, allocations: 0.553 MB / 422.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005651/0.5436, allocations: 3.952 MB / 426.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.5442, allocations: 324.1 kB / 426.8 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.5445, allocations: 121.4 kB / 426.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.5445, allocations: 4.156 kB / 426.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5446, allocations: 50.27 kB / 427 MB, free: 6.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.661e-06/0.5446, allocations: 4 kB / 427 MB, free: 6.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.00178/0.5464, allocations: 0.9521 MB / 427.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.5464, allocations: 80.98 kB / 428 MB, free: 5.422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5475, allocations: 0.6848 MB / 428.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.5475, allocations: 36.45 kB / 428.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.5478, allocations: 0.5785 MB / 429.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.5479, allocations: 130.3 kB / 429.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.548, allocations: 14.81 kB / 429.4 MB, free: 4.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.5481, allocations: 337.3 kB / 429.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.5483, allocations: 127.4 kB / 429.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.5487, allocations: 436.9 kB / 430.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.5492, allocations: 205.2 kB / 430.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.43e-06/0.5492, allocations: 3.75 kB / 430.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001111/0.5503, allocations: 0.5623 MB / 431.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5503, allocations: 11.94 kB / 431.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5504, allocations: 9.656 kB / 431.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.5505, allocations: 38.88 kB / 431.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.5512, allocations: 164 kB / 431.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008467/0.5521, allocations: 1.285 MB / 432.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.5528, allocations: 34.23 kB / 432.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.5529, allocations: 38.38 kB / 432.7 MB, free: 2.43 MB / 314.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.0001277/0.553, allocations: 153.5 kB / 432.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.5532, allocations: 89.38 kB / 432.9 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.5539, allocations: 342.9 kB / 433.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.216e-06/0.5539, allocations: 7.859 kB / 433.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5539, allocations: 0 / 433.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.863e-06/0.554, allocations: 0 / 433.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.556, allocations: 1.221 MB / 434.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.496e-06/0.556, allocations: 0 / 434.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.5565, allocations: 76.44 kB / 434.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.5566, allocations: 27.91 kB / 434.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.5566, allocations: 7.594 kB / 434.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.5578, allocations: 1.268 MB / 435.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.302e-06/0.5578, allocations: 3.906 kB / 435.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.5587, allocations: 0.6737 MB / 436.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.5591, allocations: 187.4 kB / 436.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5592, allocations: 11.73 kB / 436.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.5597, allocations: 27.27 kB / 436.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.5598, allocations: 37.95 kB / 436.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.5598, allocations: 7.719 kB / 436.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008486/0.5607, allocations: 0.5192 MB / 437.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5607, allocations: 0 / 437.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001051/0.5618, allocations: 224 kB / 437.5 MB, free: 15.49 MB / 330.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.0004586/0.5623, allocations: 291.3 kB / 437.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009449/0.5632, allocations: 456.4 kB / 438.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.5633, allocations: 3.984 kB / 438.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.5637, allocations: 240.2 kB / 438.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5649, allocations: 205.2 kB / 438.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.568, allocations: 1.288 MB / 440 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.5689, allocations: 1.016 MB / 441 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.5692, allocations: 63.42 kB / 441 MB, free: 12.63 MB / 330.7 MB Notification: Performance of SimCode: time 4.987e-06/0.5692, allocations: 0 / 441 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Templates: time 0.02825/0.5974, allocations: 16 MB / 457 MB, free: 12.88 MB / 346.7 MB