Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.182/3.182, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.09e-05, allocations: 1.125 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6321, allocations: 70.64 MB / 364.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.6324, allocations: 69.34 kB / 365 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009545/0.642, allocations: 1.754 MB / 366.7 MB, free: 22.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6421, allocations: 0 / 366.7 MB, free: 22.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.6421, allocations: 3.906 kB / 366.7 MB, free: 22.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005106/0.6426, allocations: 361.8 kB / 367.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.6427, allocations: 7.75 kB / 367.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.6427, allocations: 39.17 kB / 367.1 MB, free: 22.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.6429, allocations: 9.438 kB / 367.1 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6431, allocations: 179.8 kB / 367.3 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.6431, allocations: 11.73 kB / 367.3 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.6432, allocations: 3.75 kB / 367.3 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002226/0.6434, allocations: 50.75 kB / 367.4 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.6436, allocations: 71.86 kB / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.6437, allocations: 0 / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.6437, allocations: 0 / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6437, allocations: 0 / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.6447, allocations: 371.8 kB / 367.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.645, allocations: 63.73 kB / 367.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.6451, allocations: 27.81 kB / 367.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.6451, allocations: 0 / 367.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6451, allocations: 35.19 kB / 367.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.6451, allocations: 4 kB / 367.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002988/0.6455, allocations: 67.53 kB / 368 MB, free: 21.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.6455, allocations: 55.34 kB / 368.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.6456, allocations: 98.75 kB / 368.2 MB, free: 21.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6456, allocations: 29.52 kB / 368.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6457, allocations: 102 kB / 368.3 MB, free: 21.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.6457, allocations: 29.25 kB / 368.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.6458, allocations: 0 / 368.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.6459, allocations: 328 kB / 368.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.6459, allocations: 17.94 kB / 368.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.646, allocations: 41.02 kB / 368.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.6462, allocations: 25.19 kB / 368.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6462, allocations: 3.875 kB / 368.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.6464, allocations: 93.81 kB / 368.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6465, allocations: 7.938 kB / 368.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6465, allocations: 80 / 368.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6465, allocations: 3.875 kB / 368.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.6468, allocations: 23.81 kB / 368.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6468, allocations: 3.984 kB / 368.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.647, allocations: 7.656 kB / 368.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.647, allocations: 7.781 kB / 368.9 MB, free: 21.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6471, allocations: 115.8 kB / 369 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.6472, allocations: 7.906 kB / 369 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.6473, allocations: 11.17 kB / 369 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6473, allocations: 3.75 kB / 369 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6473, allocations: 0 / 369 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6473, allocations: 0 / 369 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.6476, allocations: 161.8 kB / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6476, allocations: 3.75 kB / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.6479, allocations: 18.02 kB / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.6479, allocations: 0 / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.648, allocations: 0 / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.648, allocations: 2.438 kB / 369.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.648, allocations: 4 kB / 369.2 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.6484, allocations: 185.3 kB / 369.4 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.6485, allocations: 88.89 kB / 369.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.6485, allocations: 0 / 369.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.6486, allocations: 0 / 369.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.6487, allocations: 10.47 kB / 369.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6487, allocations: 0 / 369.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.376e-05/0.6488, allocations: 89.94 kB / 369.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6488, allocations: 0 / 369.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.6493, allocations: 26.88 kB / 369.6 MB, free: 20.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007447/0.6501, allocations: 0.7202 MB / 370.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6503, allocations: 54.52 kB / 370.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6503, allocations: 8 kB / 370.4 MB, free: 19.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.6504, allocations: 18.66 kB / 370.4 MB, free: 19.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.6507, allocations: 7.844 kB / 370.4 MB, free: 19.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6519, allocations: 271.8 kB / 370.7 MB, free: 19.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.6523, allocations: 0.6955 MB / 371.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.6524, allocations: 6.484 kB / 371.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.6525, allocations: 20.5 kB / 371.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of SimCode: time 2.254e-06/0.6525, allocations: 0 / 371.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.7035, allocations: 1.249 MB / 372.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003761/0.704, allocations: 140.1 kB / 372.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.597/4.301, allocations: 3.938 kB / 372.8 MB, free: 18.67 MB / 314.7 MB