Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.511e-05, allocations: 4.219 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.08965, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5511, allocations: 95.2 MB / 438.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5514, allocations: 79.52 kB / 438.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09213/0.6436, allocations: 23.9 MB / 462.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.991e-06/0.6436, allocations: 0.6562 kB / 462.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.913e-05/0.6437, allocations: 23.98 kB / 462.3 MB, free: 11.02 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001936/0.6456, allocations: 1.011 MB / 463.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6457, allocations: 8.031 kB / 463.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.6463, allocations: 154.6 kB / 463.5 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.6479, allocations: 0.6666 MB / 464.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.648, allocations: 70.45 kB / 464.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.6482, allocations: 78.62 kB / 464.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.6498, allocations: 0.7702 MB / 465 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.6499, allocations: 7.906 kB / 465 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.65, allocations: 32 kB / 465.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.6501, allocations: 20 kB / 465.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.6514, allocations: 495.9 kB / 465.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008554/0.6599, allocations: 3.647 MB / 469.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008838/0.6609, allocations: 222.6 kB / 469.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.6613, allocations: 93.3 kB / 469.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.6613, allocations: 7.938 kB / 469.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.6614, allocations: 38.55 kB / 469.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 5.256e-06/0.6614, allocations: 0 / 469.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003075/0.6645, allocations: 0.8457 MB / 470.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.6646, allocations: 89.03 kB / 470.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.6659, allocations: 0.6723 MB / 471.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.666, allocations: 33.7 kB / 471.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.6665, allocations: 0.5022 MB / 471.7 MB, free: 1.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.6666, allocations: 110.5 kB / 471.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.6666, allocations: 8 kB / 471.8 MB, free: 1.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6668, allocations: 334 kB / 472.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.6671, allocations: 105.6 kB / 472.3 MB, free: 1.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.6677, allocations: 398 kB / 472.7 MB, free: 496 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.6681, allocations: 184.1 kB / 472.8 MB, free: 312 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-06/0.6682, allocations: 8 kB / 472.8 MB, free: 304 kB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001296/0.6695, allocations: 0.5527 MB / 473.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.6695, allocations: 12.19 kB / 473.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.6695, allocations: 15.78 kB / 473.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.6697, allocations: 32.86 kB / 473.5 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.6704, allocations: 147.7 kB / 473.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.6718, allocations: 1.292 MB / 474.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.6725, allocations: 48 kB / 474.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.6725, allocations: 35.94 kB / 475 MB, free: 14.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001646/0.6727, allocations: 144.7 kB / 475.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.6729, allocations: 83.02 kB / 475.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.6736, allocations: 310.8 kB / 475.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.137e-06/0.6737, allocations: 4 kB / 475.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-06/0.6737, allocations: 0 / 475.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-06/0.6737, allocations: 4 kB / 475.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.6758, allocations: 1.055 MB / 476.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6758, allocations: 4 kB / 476.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.6763, allocations: 63.89 kB / 476.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.6764, allocations: 24.84 kB / 476.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.6764, allocations: 8 kB / 476.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.6777, allocations: 1.28 MB / 477.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6777, allocations: 4.031 kB / 477.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.6788, allocations: 0.6073 MB / 478.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.6791, allocations: 184.1 kB / 478.7 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6793, allocations: 8 kB / 478.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.6797, allocations: 27.98 kB / 478.8 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.6798, allocations: 31.91 kB / 478.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.6799, allocations: 12 kB / 478.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.6809, allocations: 0.5187 MB / 479.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.6809, allocations: 3.938 kB / 479.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009685/0.6819, allocations: 207.9 kB / 479.5 MB, free: 9.121 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.0005475/0.6825, allocations: 342.5 kB / 479.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008716/0.6834, allocations: 403.2 kB / 480.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.953e-06/0.6834, allocations: 0 / 480.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.6838, allocations: 216.9 kB / 480.5 MB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.685, allocations: 211.2 kB / 480.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6875, allocations: 1.055 MB / 481.7 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.6883, allocations: 0.9763 MB / 482.7 MB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00051/0.6888, allocations: 102.7 kB / 482.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.689, allocations: 55.44 kB / 482.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.562e-06/0.689, allocations: 0 / 482.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of Templates: time 0.03214/0.7211, allocations: 11.68 MB / 494.5 MB, free: 10.16 MB / 410.7 MB