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_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.671e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.401, allocations: 87.54 MB / 351.3 MB, free: 2.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4014, allocations: 79.95 kB / 351.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3101/0.7114, allocations: 26.28 MB / 377.7 MB, free: 84.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.7115, allocations: 0 / 377.7 MB, free: 84.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.705e-05/0.7115, allocations: 23.25 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.001757/0.7133, allocations: 1.1 MB / 378.8 MB, free: 83.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7134, allocations: 11.81 kB / 378.8 MB, free: 83.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.714, allocations: 167.6 kB / 379 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.7156, allocations: 0.7683 MB / 379.8 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.7157, allocations: 72.81 kB / 379.8 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.7158, allocations: 104.2 kB / 379.9 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.7175, allocations: 0.8646 MB / 380.8 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.7176, allocations: 0 / 380.8 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.7177, allocations: 42.47 kB / 380.8 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.7178, allocations: 29.41 kB / 380.9 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.7191, allocations: 0.5555 MB / 381.4 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.7249, allocations: 3.956 MB / 385.4 MB, free: 80.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.7258, allocations: 321.6 kB / 385.7 MB, free: 80.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.7262, allocations: 128.1 kB / 385.8 MB, free: 80.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.7263, allocations: 4.219 kB / 385.8 MB, free: 80.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7263, allocations: 42.69 kB / 385.9 MB, free: 80.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.832e-06/0.7264, allocations: 4 kB / 385.9 MB, free: 80.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002093/0.7285, allocations: 0.9446 MB / 386.8 MB, free: 79.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.7285, allocations: 83.19 kB / 386.9 MB, free: 79.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.7296, allocations: 0.68 MB / 387.6 MB, free: 79.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.7297, allocations: 32.8 kB / 387.6 MB, free: 79.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.73, allocations: 0.5639 MB / 388.2 MB, free: 78.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.7301, allocations: 132.5 kB / 388.3 MB, free: 78.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.7301, allocations: 19.78 kB / 388.3 MB, free: 78.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.7302, allocations: 327.3 kB / 388.6 MB, free: 78.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.7305, allocations: 123.8 kB / 388.8 MB, free: 78.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.7309, allocations: 432.7 kB / 389.2 MB, free: 77.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.7314, allocations: 207.9 kB / 389.4 MB, free: 77.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.911e-06/0.7314, allocations: 7.281 kB / 389.4 MB, free: 77.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001215/0.7326, allocations: 0.6289 MB / 390 MB, free: 77.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7326, allocations: 8.156 kB / 390 MB, free: 77.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.7327, allocations: 12.47 kB / 390 MB, free: 77.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.7328, allocations: 33.73 kB / 390.1 MB, free: 77.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.7336, allocations: 168.7 kB / 390.2 MB, free: 77.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009269/0.7345, allocations: 1.285 MB / 391.5 MB, free: 76.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.7353, allocations: 37.75 kB / 391.6 MB, free: 76.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.7354, allocations: 37.62 kB / 391.6 MB, free: 76.09 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.0001304/0.7355, allocations: 150.6 kB / 391.7 MB, free: 75.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7356, allocations: 92.67 kB / 391.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.7364, allocations: 348.6 kB / 392.2 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-06/0.7364, allocations: 3.875 kB / 392.2 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.022e-06/0.7364, allocations: 0 / 392.2 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.643e-06/0.7364, allocations: 6.719 kB / 392.2 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.7385, allocations: 1.208 MB / 393.4 MB, free: 75.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.789e-06/0.7385, allocations: 3.469 kB / 393.4 MB, free: 75.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.739, allocations: 80.36 kB / 393.5 MB, free: 75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.7391, allocations: 30.92 kB / 393.5 MB, free: 74.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.7392, allocations: 6.656 kB / 393.5 MB, free: 74.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008042/0.74, allocations: 1.267 MB / 394.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.423e-06/0.74, allocations: 3.25 kB / 394.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.741, allocations: 0.6686 MB / 395.4 MB, free: 73.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.7413, allocations: 185.3 kB / 395.6 MB, free: 73.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7415, allocations: 10.67 kB / 395.6 MB, free: 73.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.742, allocations: 29.17 kB / 395.7 MB, free: 73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.7421, allocations: 38.7 kB / 395.7 MB, free: 72.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.7421, allocations: 9.219 kB / 395.7 MB, free: 72.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008418/0.743, allocations: 0.5173 MB / 396.2 MB, free: 72.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.743, allocations: 0 / 396.2 MB, free: 72.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001015/0.744, allocations: 231.1 kB / 396.5 MB, free: 72.37 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.0004023/0.7444, allocations: 303.1 kB / 396.8 MB, free: 72.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008722/0.7453, allocations: 452.1 kB / 397.2 MB, free: 71.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.769e-06/0.7453, allocations: 0 / 397.2 MB, free: 71.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.7457, allocations: 233.8 kB / 397.4 MB, free: 71.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7468, allocations: 199.6 kB / 397.6 MB, free: 71.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.7494, allocations: 1.254 MB / 398.9 MB, free: 70.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.75, allocations: 1.017 MB / 399.9 MB, free: 69.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005764/0.7506, allocations: 105.6 kB / 400 MB, free: 69.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.7507, allocations: 62.34 kB / 400.1 MB, free: 69.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7508, allocations: 3.938 kB / 400.1 MB, free: 69.07 MB / 314.7 MB Notification: Performance of Templates: time 0.02652/0.7773, allocations: 11.12 MB / 411.2 MB, free: 59.57 MB / 314.7 MB