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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.946e-05, allocations: 4 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09401, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5338, allocations: 98.34 MB / 441.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5341, allocations: 80.45 kB / 441.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09931/0.6334, allocations: 26.25 MB / 467.8 MB, free: 6.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.041e-06/0.6334, allocations: 4 kB / 467.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.384e-05/0.6335, allocations: 20 kB / 467.8 MB, free: 5.988 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.002093/0.6356, allocations: 1.099 MB / 468.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6357, allocations: 8.031 kB / 468.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.6364, allocations: 170.5 kB / 469.1 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.6382, allocations: 0.7613 MB / 469.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.6383, allocations: 73.98 kB / 469.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.6385, allocations: 107.9 kB / 470 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.6405, allocations: 0.8607 MB / 470.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.6406, allocations: 7.938 kB / 470.9 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.6407, allocations: 40 kB / 470.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.6407, allocations: 24 kB / 470.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6422, allocations: 0.5546 MB / 471.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00681/0.6491, allocations: 3.952 MB / 475.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.6497, allocations: 320.2 kB / 475.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.65, allocations: 133.4 kB / 475.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.6501, allocations: 4.281 kB / 475.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.6501, allocations: 38.84 kB / 475.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 4.841e-06/0.6501, allocations: 3.984 kB / 475.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002039/0.6522, allocations: 0.9471 MB / 476.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.6523, allocations: 85.05 kB / 477 MB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6536, allocations: 0.6802 MB / 477.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.6536, allocations: 33.7 kB / 477.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.6542, allocations: 0.5679 MB / 478.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6543, allocations: 134.1 kB / 478.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.6544, allocations: 12 kB / 478.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6546, allocations: 333.9 kB / 478.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.6549, allocations: 129.6 kB / 478.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.6555, allocations: 432.3 kB / 479.2 MB, free: 9.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.656, allocations: 199.6 kB / 479.4 MB, free: 9.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.989e-06/0.656, allocations: 4 kB / 479.4 MB, free: 9.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001414/0.6574, allocations: 0.6269 MB / 480.1 MB, free: 9.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6575, allocations: 12 kB / 480.1 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.6575, allocations: 11.94 kB / 480.1 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.6577, allocations: 32.84 kB / 480.1 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.6584, allocations: 167.7 kB / 480.3 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.6598, allocations: 1.28 MB / 481.6 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.6605, allocations: 44.05 kB / 481.6 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.6606, allocations: 32 kB / 481.6 MB, free: 7.328 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.0001753/0.6607, allocations: 156.6 kB / 481.8 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6609, allocations: 82.97 kB / 481.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.6617, allocations: 347.9 kB / 482.2 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-06/0.6618, allocations: 4 kB / 482.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.07e-06/0.6618, allocations: 0 / 482.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.6618, allocations: 4 kB / 482.2 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.6642, allocations: 1.216 MB / 483.4 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.819e-06/0.6642, allocations: 3.984 kB / 483.4 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.6647, allocations: 79.89 kB / 483.5 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.6648, allocations: 20.86 kB / 483.5 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.6648, allocations: 8 kB / 483.6 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.6661, allocations: 1.276 MB / 484.8 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.047e-06/0.6661, allocations: 4.031 kB / 484.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6673, allocations: 0.6698 MB / 485.5 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.6676, allocations: 184 kB / 485.7 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6678, allocations: 15.94 kB / 485.7 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.6683, allocations: 31.98 kB / 485.7 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.6684, allocations: 23.97 kB / 485.8 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.6684, allocations: 12 kB / 485.8 MB, free: 2.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009909/0.6694, allocations: 0.5187 MB / 486.3 MB, free: 2.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.6694, allocations: 0 / 486.3 MB, free: 2.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001088/0.6705, allocations: 224 kB / 486.5 MB, free: 2.133 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.0005243/0.6711, allocations: 319.1 kB / 486.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.6721, allocations: 455.1 kB / 487.3 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.6721, allocations: 3.984 kB / 487.3 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.6726, allocations: 237.6 kB / 487.5 MB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6737, allocations: 204.5 kB / 487.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.6767, allocations: 1.243 MB / 488.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.6777, allocations: 1.012 MB / 490 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.6783, allocations: 114.9 kB / 490.1 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.6784, allocations: 55.44 kB / 490.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.065e-06/0.6785, allocations: 0 / 490.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of Templates: time 0.031/0.7095, allocations: 11.13 MB / 0.4895 GB, free: 3.418 MB / 410.7 MB