Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.488e-05, allocations: 0 / 225 MB, free: 2.836 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 38.77 MB / 263.8 MB, free: 9.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.3436, allocations: 87.54 MB / 351.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3439, allocations: 79.95 kB / 351.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2836/0.6276, allocations: 26.28 MB / 377.7 MB, free: 84.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.064e-06/0.6276, allocations: 3.844 kB / 377.7 MB, free: 84.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.6277, allocations: 19.53 kB / 377.7 MB, free: 84.25 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.001758/0.6295, allocations: 1.101 MB / 378.8 MB, free: 83.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6295, allocations: 7.906 kB / 378.8 MB, free: 83.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.6302, allocations: 174.3 kB / 379 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.6319, allocations: 0.7585 MB / 379.7 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.632, allocations: 71.78 kB / 379.8 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.6322, allocations: 108 kB / 379.9 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.6339, allocations: 0.869 MB / 380.8 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.634, allocations: 2.438 kB / 380.8 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6341, allocations: 36.5 kB / 380.8 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.6342, allocations: 30.88 kB / 380.8 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.6355, allocations: 0.561 MB / 381.4 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.6418, allocations: 3.941 MB / 385.3 MB, free: 80.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.6424, allocations: 332.2 kB / 385.7 MB, free: 80.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.6427, allocations: 124.3 kB / 385.8 MB, free: 80.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.6428, allocations: 6.359 kB / 385.8 MB, free: 80.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.6428, allocations: 46.05 kB / 385.8 MB, free: 80.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.798e-06/0.6428, allocations: 0 / 385.8 MB, free: 80.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001995/0.6448, allocations: 0.9489 MB / 386.8 MB, free: 79.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.6449, allocations: 80.33 kB / 386.9 MB, free: 79.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.6461, allocations: 0.6867 MB / 387.5 MB, free: 79.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.6461, allocations: 29.7 kB / 387.6 MB, free: 79.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.6465, allocations: 0.5774 MB / 388.2 MB, free: 78.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.6466, allocations: 132.9 kB / 388.3 MB, free: 78.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.6466, allocations: 11.12 kB / 388.3 MB, free: 78.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.6467, allocations: 344.3 kB / 388.6 MB, free: 78.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.647, allocations: 125.7 kB / 388.8 MB, free: 78.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.6475, allocations: 428.3 kB / 389.2 MB, free: 77.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.6479, allocations: 204.7 kB / 389.4 MB, free: 77.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.199e-06/0.6479, allocations: 2.969 kB / 389.4 MB, free: 77.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001175/0.6491, allocations: 0.5779 MB / 390 MB, free: 77.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6491, allocations: 9.312 kB / 390 MB, free: 77.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6492, allocations: 14.19 kB / 390 MB, free: 77.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.6494, allocations: 35.48 kB / 390 MB, free: 77.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.65, allocations: 163.4 kB / 390.2 MB, free: 77.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009502/0.651, allocations: 1.282 MB / 391.5 MB, free: 76.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/0.6518, allocations: 40.86 kB / 391.5 MB, free: 76.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.6519, allocations: 35.94 kB / 391.5 MB, free: 76.07 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.0001381/0.6521, allocations: 159.2 kB / 391.7 MB, free: 75.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6522, allocations: 86.05 kB / 391.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.653, allocations: 343 kB / 392.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-06/0.653, allocations: 7.047 kB / 392.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.653, allocations: 0 / 392.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6531, allocations: 0 / 392.1 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.6552, allocations: 1.213 MB / 393.3 MB, free: 75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-06/0.6553, allocations: 224 / 393.3 MB, free: 75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.6557, allocations: 85.22 kB / 393.4 MB, free: 74.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.6559, allocations: 27.7 kB / 393.4 MB, free: 74.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.6559, allocations: 7.531 kB / 393.4 MB, free: 74.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008154/0.6568, allocations: 1.276 MB / 394.7 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.34e-06/0.6568, allocations: 0 / 394.7 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6578, allocations: 0.6652 MB / 395.4 MB, free: 73.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.6583, allocations: 185.6 kB / 395.6 MB, free: 73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.6584, allocations: 10.75 kB / 395.6 MB, free: 73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.659, allocations: 30.48 kB / 395.6 MB, free: 72.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.6591, allocations: 30.19 kB / 395.6 MB, free: 72.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.6591, allocations: 15.27 kB / 395.6 MB, free: 72.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008877/0.66, allocations: 0.5186 MB / 396.2 MB, free: 72.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.885e-06/0.66, allocations: 0 / 396.2 MB, free: 72.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001184/0.6612, allocations: 231.6 kB / 396.4 MB, free: 72.41 MB / 314.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.0004695/0.6617, allocations: 304.8 kB / 396.7 MB, free: 72.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009836/0.6627, allocations: 444.3 kB / 397.1 MB, free: 71.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.166e-06/0.6627, allocations: 8.375 kB / 397.1 MB, free: 71.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.6632, allocations: 236 kB / 397.4 MB, free: 71.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6646, allocations: 200.1 kB / 397.6 MB, free: 71.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.6674, allocations: 1.302 MB / 398.9 MB, free: 70.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.668, allocations: 1.012 MB / 399.9 MB, free: 69.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.6683, allocations: 59.44 kB / 399.9 MB, free: 69.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.76e-06/0.6683, allocations: 0 / 399.9 MB, free: 69.14 MB / 314.7 MB Notification: Performance of Templates: time 0.02256/0.6908, allocations: 15.99 MB / 415.9 MB, free: 54.86 MB / 314.7 MB