Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.116e-05, allocations: 3.984 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5604, allocations: 95.27 MB / 437.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5608, allocations: 81.39 kB / 438 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1079/0.6687, allocations: 23.9 MB / 461.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6688, allocations: 0 / 461.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.385e-05/0.6689, allocations: 20 kB / 461.9 MB, free: 10.52 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.002928/0.6718, allocations: 1.018 MB / 462.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/0.6719, allocations: 11.97 kB / 462.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004536/0.6724, allocations: 132.4 kB / 463.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.6733, allocations: 153.7 kB / 463.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.6753, allocations: 0.6645 MB / 463.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.6754, allocations: 70.08 kB / 463.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.6757, allocations: 88.48 kB / 464 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.6778, allocations: 0.7676 MB / 464.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.6779, allocations: 3.906 kB / 464.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.678, allocations: 40.31 kB / 464.8 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.678, allocations: 20 kB / 464.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.6795, allocations: 496.3 kB / 465.3 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007961/0.6875, allocations: 3.646 MB / 469 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.6883, allocations: 218.7 kB / 469.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.6886, allocations: 97.3 kB / 469.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.6887, allocations: 7.938 kB / 469.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6887, allocations: 34.56 kB / 469.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.286e-06/0.6887, allocations: 0 / 469.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002424/0.6912, allocations: 0.8491 MB / 470.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.6913, allocations: 77.11 kB / 470.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.6929, allocations: 0.6879 MB / 471 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.693, allocations: 29.7 kB / 471 MB, free: 1.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.6935, allocations: 0.5086 MB / 471.5 MB, free: 1.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.6937, allocations: 106.5 kB / 471.6 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.6937, allocations: 16 kB / 471.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6939, allocations: 334.8 kB / 471.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.6942, allocations: 109.6 kB / 472 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.6948, allocations: 397.9 kB / 472.4 MB, free: 368 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.6953, allocations: 184.1 kB / 472.6 MB, free: 184 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.6954, allocations: 4 kB / 472.6 MB, free: 180 kB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001444/0.6968, allocations: 0.5064 MB / 473.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.6969, allocations: 11.95 kB / 473.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.6969, allocations: 12 kB / 473.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.6972, allocations: 32.84 kB / 473.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.6981, allocations: 151.7 kB / 473.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.6996, allocations: 1.292 MB / 474.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.7007, allocations: 48.05 kB / 474.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.7008, allocations: 28 kB / 474.7 MB, free: 13.96 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.0002013/0.701, allocations: 144.7 kB / 474.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.7012, allocations: 83 kB / 474.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.7022, allocations: 310.9 kB / 475.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.7022, allocations: 4 kB / 475.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7023, allocations: 0 / 475.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.7023, allocations: 7.922 kB / 475.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.7049, allocations: 1.057 MB / 476.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.705, allocations: 4 kB / 476.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7056, allocations: 63.89 kB / 476.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.7058, allocations: 20.86 kB / 476.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.7058, allocations: 8.219 kB / 476.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.7072, allocations: 1.276 MB / 477.7 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7072, allocations: 160 / 477.7 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.7088, allocations: 0.6148 MB / 478.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.7095, allocations: 184.1 kB / 478.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.7097, allocations: 8 kB / 478.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.7106, allocations: 31.97 kB / 478.5 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.7108, allocations: 23.91 kB / 478.5 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.7108, allocations: 15.94 kB / 478.5 MB, free: 9.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001559/0.7124, allocations: 0.5148 MB / 479 MB, free: 9.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.7125, allocations: 4 kB / 479 MB, free: 9.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001902/0.7144, allocations: 211.9 kB / 479.3 MB, free: 9.055 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.00302/0.7174, allocations: 1.859 MB / 481.1 MB, free: 7.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.719, allocations: 411 kB / 481.5 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.719, allocations: 0.875 kB / 481.5 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.7197, allocations: 220.1 kB / 481.7 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.7223, allocations: 215.2 kB / 481.9 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.7283, allocations: 1.238 MB / 483.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008847/0.7372, allocations: 0.9725 MB / 484.2 MB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009395/0.7382, allocations: 315.3 kB / 484.5 MB, free: 3.668 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7382, allocations: 0 / 484.5 MB, free: 3.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.919/3.657, allocations: 18.68 MB / 0.4913 GB, free: 1.066 MB / 410.7 MB