Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.559e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5677, allocations: 94.37 MB / 416.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5681, allocations: 75.95 kB / 416.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8921/1.46, allocations: 144.5 MB / 0.5476 GB, free: 89.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.46, allocations: 0 / 0.5476 GB, free: 89.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003619/1.461, allocations: 144.7 kB / 0.5478 GB, free: 89.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02478/1.485, allocations: 6.551 MB / 0.5542 GB, free: 86.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.486, allocations: 11 kB / 0.5542 GB, free: 86.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006379/1.492, allocations: 1.366 MB / 0.5555 GB, free: 86.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02946/1.521, allocations: 3.616 MB / 0.559 GB, free: 86.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0265/1.548, allocations: 7.629 MB / 0.5665 GB, free: 83.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008001/1.549, allocations: 0.5928 MB / 0.5671 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004459/1.553, allocations: 0.7769 MB / 0.5678 GB, free: 83.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07632/1.63, allocations: 21.54 MB / 0.5889 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006871/1.63, allocations: 99.09 kB / 0.5889 GB, free: 65.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004614/1.635, allocations: 383.1 kB / 0.5893 GB, free: 64.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005484/1.641, allocations: 1.937 MB / 0.5912 GB, free: 62.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06341/1.704, allocations: 17.18 MB / 0.608 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4765/2.181, allocations: 79.33 MB / 0.6855 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03166/2.212, allocations: 6.49 MB / 0.6918 GB, free: 27.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005633/2.218, allocations: 2.051 MB / 0.6938 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02833/2.246, allocations: 9.739 MB / 0.7033 GB, free: 25.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/2.246, allocations: 68.31 kB / 0.7034 GB, free: 25.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.945e-06/2.246, allocations: 0 / 0.7034 GB, free: 25.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1201/2.367, allocations: 22.61 MB / 0.7255 GB, free: 20.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/2.367, allocations: 163.9 kB / 0.7256 GB, free: 20.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/2.38, allocations: 5.256 MB / 0.7307 GB, free: 19.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000708/2.381, allocations: 81.23 kB / 0.7308 GB, free: 19.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004483/2.385, allocations: 5.019 MB / 0.7357 GB, free: 15.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001857/2.387, allocations: 1.225 MB / 0.7369 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/2.388, allocations: 193.8 kB / 0.7371 GB, free: 14.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008165/2.389, allocations: 0.7125 MB / 0.7378 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007878/2.397, allocations: 2.627 MB / 0.7404 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/2.409, allocations: 8.357 MB / 0.7485 GB, free: 4.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.42, allocations: 4.623 MB / 0.753 GB, free: 2.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/2.421, allocations: 61.14 kB / 0.7531 GB, free: 2.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03014/2.451, allocations: 10.54 MB / 0.7634 GB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/2.451, allocations: 95.25 kB / 0.7635 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003264/2.451, allocations: 201.1 kB / 0.7637 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/2.452, allocations: 300.7 kB / 0.764 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01609/2.468, allocations: 2.39 MB / 0.7663 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005509/2.468, allocations: 395.4 kB / 0.7667 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/2.481, allocations: 0.6222 MB / 0.7673 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002581/2.483, allocations: 0.5672 MB / 0.7678 GB, free: 13.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1236): * Single equations (assignments): 1233 * Array equations: 3 * 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.003761/2.487, allocations: 0.8509 MB / 0.7687 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/2.489, allocations: 0.5438 MB / 0.7692 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/2.499, allocations: 3.186 MB / 0.7723 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.053e-05/2.499, allocations: 32 kB / 0.7723 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/2.499, allocations: 0 / 0.7723 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/2.499, allocations: 20.31 kB / 0.7724 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0446/2.544, allocations: 13.69 MB / 0.7857 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.026e-05/2.544, allocations: 36.81 kB / 0.7858 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004829/2.549, allocations: 0.5948 MB / 0.7863 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.079e-05/2.549, allocations: 52 kB / 0.7864 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004817/2.549, allocations: 99.17 kB / 0.7865 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-05/2.549, allocations: 70.92 kB / 0.7866 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-05/2.549, allocations: 51.75 kB / 0.7866 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/2.57, allocations: 12.1 MB / 0.7984 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003667/2.573, allocations: 0.8464 MB / 0.7992 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.575, allocations: 99.45 kB / 0.7993 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005329/2.58, allocations: 194.8 kB / 0.7995 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009218/2.581, allocations: 297.2 kB / 0.7998 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/2.582, allocations: 127.2 kB / 0.7999 GB, free: 14.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01089/2.592, allocations: 3.631 MB / 0.8035 GB, free: 11.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.593, allocations: 0 / 0.8035 GB, free: 11.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01231/2.605, allocations: 1.554 MB / 0.805 GB, free: 9.773 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 298 * Array equations: 3 * 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.02041/2.625, allocations: 18.47 MB / 0.823 GB, free: 6.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01692/2.642, allocations: 6.152 MB / 0.829 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-05/2.642, allocations: 4 kB / 0.829 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3188/2.961, allocations: 1.472 MB / 0.8305 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/2.968, allocations: 0.6991 MB / 0.8312 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05954/3.028, allocations: 15.93 MB / 0.8467 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/3.042, allocations: 5.25 MB / 0.8518 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008507/3.05, allocations: 3.54 MB / 0.8553 GB, free: 135.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/3.05, allocations: 0 / 0.8553 GB, free: 135.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.108/8.159, allocations: 129.1 MB / 0.9814 GB, free: 48.83 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat