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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.623e-05/4.644e-05, allocations: 7.781 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 50.42 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.5507, allocations: 95.2 MB / 437.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.551, allocations: 81.89 kB / 437.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09137/0.6424, allocations: 23.89 MB / 461.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.099e-06/0.6425, allocations: 0 / 461.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.024e-05/0.6425, allocations: 16 kB / 461.7 MB, free: 11.04 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.001964/0.6445, allocations: 1.017 MB / 462.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6446, allocations: 12.03 kB / 462.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.6452, allocations: 146.6 kB / 462.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.6468, allocations: 0.673 MB / 463.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.6469, allocations: 66.52 kB / 463.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.647, allocations: 82.44 kB / 463.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.6488, allocations: 0.7692 MB / 464.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.6488, allocations: 3.906 kB / 464.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.649, allocations: 36 kB / 464.5 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.649, allocations: 20 kB / 464.6 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6504, allocations: 487.9 kB / 465 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00617/0.6565, allocations: 3.655 MB / 468.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.6572, allocations: 218.6 kB / 468.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.6574, allocations: 101.3 kB / 469 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.6575, allocations: 3.938 kB / 469 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.6575, allocations: 34.56 kB / 469 MB, free: 3.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.009e-06/0.6575, allocations: 4 kB / 469.1 MB, free: 3.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001932/0.6595, allocations: 0.8442 MB / 469.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.6595, allocations: 81.11 kB / 470 MB, free: 2.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.6608, allocations: 0.684 MB / 470.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.6609, allocations: 29.7 kB / 470.7 MB, free: 2.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.6614, allocations: 0.5022 MB / 471.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.6615, allocations: 114.5 kB / 471.3 MB, free: 1.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.6616, allocations: 12 kB / 471.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.6618, allocations: 330 kB / 471.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.6621, allocations: 109.6 kB / 471.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.6626, allocations: 397.9 kB / 472.1 MB, free: 460 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.6631, allocations: 180.1 kB / 472.3 MB, free: 280 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.881e-06/0.6631, allocations: 4 kB / 472.3 MB, free: 276 kB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001325/0.6644, allocations: 0.5643 MB / 472.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.6645, allocations: 8 kB / 472.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6645, allocations: 11.95 kB / 472.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.6647, allocations: 36.84 kB / 472.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.6654, allocations: 148 kB / 473.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.6667, allocations: 1.288 MB / 474.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.6674, allocations: 48.05 kB / 474.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.6675, allocations: 28 kB / 474.4 MB, free: 14 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.000172/0.6677, allocations: 149.6 kB / 474.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.6678, allocations: 79 kB / 474.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/0.6686, allocations: 314.5 kB / 475 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.07e-06/0.6686, allocations: 4 kB / 475 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-06/0.6686, allocations: 0 / 475 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-06/0.6686, allocations: 3.984 kB / 475 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.6708, allocations: 1.057 MB / 476 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-06/0.6708, allocations: 0 / 476 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.6712, allocations: 67.91 kB / 476.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.6713, allocations: 29.11 kB / 476.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.6714, allocations: 11.98 kB / 476.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.6727, allocations: 1.276 MB / 477.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-06/0.6727, allocations: 0 / 477.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.6738, allocations: 0.6155 MB / 478 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.6741, allocations: 188.1 kB / 478.2 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6743, allocations: 8 kB / 478.2 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.6748, allocations: 23.98 kB / 478.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.6749, allocations: 19.97 kB / 478.3 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.6749, allocations: 15.92 kB / 478.3 MB, free: 9.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009905/0.6759, allocations: 0.5187 MB / 478.8 MB, free: 9.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.6759, allocations: 4 kB / 478.8 MB, free: 9.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001076/0.677, allocations: 203.9 kB / 479 MB, free: 9.098 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.0005543/0.6776, allocations: 342.9 kB / 479.3 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.6786, allocations: 403.9 kB / 479.7 MB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.907e-06/0.6786, allocations: 8.062 kB / 479.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.679, allocations: 213.6 kB / 479.9 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6802, allocations: 215.6 kB / 480.2 MB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.6828, allocations: 1.066 MB / 481.2 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008313/0.6837, allocations: 0.9802 MB / 482.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.6842, allocations: 94.69 kB / 482.3 MB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.6844, allocations: 51.44 kB / 482.3 MB, free: 5.656 MB / 394.7 MB Notification: Performance of SimCode: time 1.657e-06/0.6844, allocations: 4 kB / 482.4 MB, free: 5.652 MB / 394.7 MB Notification: Performance of Templates: time 0.03315/0.7176, allocations: 11.65 MB / 494 MB, free: 10.15 MB / 410.7 MB