Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.392e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.08942, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4679, allocations: 95.26 MB / 437.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4682, allocations: 77.95 kB / 437.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0935/0.5617, allocations: 23.89 MB / 461.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.5618, allocations: 0.6562 kB / 461.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.214e-05/0.5618, allocations: 20 kB / 461.8 MB, free: 10.93 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.001948/0.5638, allocations: 1.009 MB / 462.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5639, allocations: 8.031 kB / 462.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006458/0.5645, allocations: 150.6 kB / 463 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.5661, allocations: 0.6716 MB / 463.6 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.5662, allocations: 66.83 kB / 463.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5663, allocations: 80.75 kB / 463.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5681, allocations: 0.7742 MB / 464.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.5681, allocations: 7.906 kB / 464.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.5682, allocations: 37.12 kB / 464.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.5683, allocations: 20 kB / 464.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.5695, allocations: 492.6 kB / 465.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.576, allocations: 3.65 MB / 468.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.5766, allocations: 218.6 kB / 469 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.5769, allocations: 101.3 kB / 469.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.5769, allocations: 7.938 kB / 469.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.577, allocations: 38.56 kB / 469.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.522e-06/0.577, allocations: 0 / 469.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002007/0.579, allocations: 0.8386 MB / 469.9 MB, free: 3.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.5791, allocations: 81.11 kB / 470 MB, free: 3.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5804, allocations: 0.6762 MB / 470.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.5805, allocations: 33.7 kB / 470.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.581, allocations: 0.528 MB / 471.3 MB, free: 1.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5811, allocations: 102.5 kB / 471.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.5811, allocations: 12 kB / 471.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5813, allocations: 334.8 kB / 471.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.5816, allocations: 109.5 kB / 471.8 MB, free: 1.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.5822, allocations: 398 kB / 472.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.5827, allocations: 192.1 kB / 472.4 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.738e-06/0.5827, allocations: 0 / 472.4 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001236/0.5839, allocations: 0.5061 MB / 472.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.584, allocations: 8 kB / 472.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.584, allocations: 15.95 kB / 472.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.5842, allocations: 32.86 kB / 472.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.5848, allocations: 152.2 kB / 473.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.5862, allocations: 1.284 MB / 474.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.587, allocations: 43.8 kB / 474.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.5871, allocations: 32 kB / 474.5 MB, free: 14.29 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.000185/0.5873, allocations: 148.7 kB / 474.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5875, allocations: 83.06 kB / 474.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.5883, allocations: 310.8 kB / 475 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.517e-06/0.5883, allocations: 4 kB / 475 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.5883, allocations: 0 / 475 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.5884, allocations: 4 kB / 475 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.5906, allocations: 1.055 MB / 476 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.5906, allocations: 7.984 kB / 476.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.591, allocations: 64.12 kB / 476.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.5912, allocations: 24.84 kB / 476.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5912, allocations: 8 kB / 476.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.5925, allocations: 1.277 MB / 477.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5926, allocations: 4.031 kB / 477.4 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5937, allocations: 0.6149 MB / 478 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.5941, allocations: 180.2 kB / 478.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5943, allocations: 8 kB / 478.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.5948, allocations: 23.98 kB / 478.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.5949, allocations: 27.97 kB / 478.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.5949, allocations: 8 kB / 478.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.596, allocations: 0.5187 MB / 478.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.608e-06/0.596, allocations: 3.938 kB / 478.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001084/0.5971, allocations: 211.9 kB / 479 MB, free: 9.391 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.0005723/0.5977, allocations: 330 kB / 479.3 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.5987, allocations: 410.6 kB / 479.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.793e-06/0.5987, allocations: 0 / 479.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.5991, allocations: 215.7 kB / 480 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6005, allocations: 217 kB / 480.2 MB, free: 8.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.6032, allocations: 1.099 MB / 481.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008187/0.6041, allocations: 0.9763 MB / 482.2 MB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6043, allocations: 59.42 kB / 482.3 MB, free: 6.008 MB / 394.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6043, allocations: 0 / 482.3 MB, free: 6.008 MB / 394.7 MB Notification: Performance of Templates: time 0.02698/0.6313, allocations: 14.8 MB / 497.1 MB, free: 7.289 MB / 410.7 MB