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.948/1.948, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.937e-05/5.954e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.6128, allocations: 94.38 MB / 416.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.6132, allocations: 71.97 kB / 416.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9511/1.564, allocations: 144.5 MB / 0.5477 GB, free: 89.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.437e-06/1.564, allocations: 0 / 0.5477 GB, free: 89.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003671/1.565, allocations: 142.6 kB / 0.5478 GB, free: 89.57 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.02516/1.59, allocations: 6.545 MB / 0.5542 GB, free: 86.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.59, allocations: 14.19 kB / 0.5542 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006237/1.596, allocations: 1.366 MB / 0.5555 GB, free: 86.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02941/1.626, allocations: 3.621 MB / 0.5591 GB, free: 86.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02596/1.652, allocations: 7.623 MB / 0.5665 GB, free: 83.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008255/1.653, allocations: 0.5941 MB / 0.5671 GB, free: 83.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004505/1.657, allocations: 0.781 MB / 0.5679 GB, free: 83.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07396/1.731, allocations: 21.44 MB / 0.5888 GB, free: 65.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000533/1.732, allocations: 99.11 kB / 0.5889 GB, free: 65.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004089/1.736, allocations: 379 kB / 0.5892 GB, free: 64.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005351/1.741, allocations: 1.933 MB / 0.5911 GB, free: 62.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06209/1.803, allocations: 16.88 MB / 0.6076 GB, free: 46.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4697/2.273, allocations: 79.32 MB / 0.6851 GB, free: 28.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03209/2.305, allocations: 6.466 MB / 0.6914 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00565/2.311, allocations: 2.056 MB / 0.6934 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02867/2.34, allocations: 9.741 MB / 0.7029 GB, free: 25.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/2.34, allocations: 70.78 kB / 0.703 GB, free: 25.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.274e-06/2.34, allocations: 1.906 kB / 0.703 GB, free: 25.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1232/2.463, allocations: 22.61 MB / 0.7251 GB, free: 21.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/2.463, allocations: 169.9 kB / 0.7252 GB, free: 20.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.479, allocations: 5.247 MB / 0.7304 GB, free: 19.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007526/2.479, allocations: 73.77 kB / 0.7304 GB, free: 19.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004671/2.484, allocations: 5.025 MB / 0.7353 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/2.487, allocations: 1.215 MB / 0.7365 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/2.488, allocations: 199.3 kB / 0.7367 GB, free: 14.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001101/2.489, allocations: 0.7109 MB / 0.7374 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/2.5, allocations: 2.632 MB / 0.74 GB, free: 13.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01517/2.516, allocations: 8.296 MB / 0.7481 GB, free: 4.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01473/2.53, allocations: 4.627 MB / 0.7526 GB, free: 3.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003215/2.531, allocations: 57.84 kB / 0.7527 GB, free: 3.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03742/2.568, allocations: 9.977 MB / 0.7624 GB, free: 308 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/2.568, allocations: 93.69 kB / 0.7625 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003237/2.569, allocations: 202.4 kB / 0.7627 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/2.569, allocations: 303.1 kB / 0.763 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01601/2.585, allocations: 2.39 MB / 0.7653 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005811/2.586, allocations: 408.8 kB / 0.7657 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/2.598, allocations: 0.626 MB / 0.7663 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002513/2.601, allocations: 0.562 MB / 0.7668 GB, free: 14.2 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.003907/2.605, allocations: 0.857 MB / 0.7677 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/2.607, allocations: 0.5399 MB / 0.7682 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/2.618, allocations: 3.18 MB / 0.7713 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.374e-05/2.618, allocations: 43.61 kB / 0.7714 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/2.618, allocations: 3.938 kB / 0.7714 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.866e-05/2.618, allocations: 13.69 kB / 0.7714 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04484/2.663, allocations: 13.54 MB / 0.7846 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.344e-05/2.663, allocations: 36.19 kB / 0.7846 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004987/2.668, allocations: 0.5928 MB / 0.7852 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/2.668, allocations: 48 kB / 0.7853 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005971/2.669, allocations: 107 kB / 0.7854 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/2.669, allocations: 71.16 kB / 0.7854 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.997e-05/2.669, allocations: 51.77 kB / 0.7855 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/2.686, allocations: 11.95 MB / 0.7971 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003729/2.69, allocations: 0.848 MB / 0.798 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/2.692, allocations: 98.23 kB / 0.7981 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00553/2.697, allocations: 195.4 kB / 0.7983 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/2.698, allocations: 289.7 kB / 0.7985 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/2.698, allocations: 123.3 kB / 0.7986 GB, free: 15.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0105/2.709, allocations: 3.631 MB / 0.8022 GB, free: 11.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.709, allocations: 0 / 0.8022 GB, free: 11.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01245/2.721, allocations: 1.549 MB / 0.8037 GB, free: 10.3 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.01885/2.74, allocations: 18.48 MB / 0.8217 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/2.757, allocations: 5.827 MB / 0.8274 GB, free: 1.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.14e-05/2.757, allocations: 4 kB / 0.8274 GB, free: 1.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004117/2.761, allocations: 1.429 MB / 0.8288 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/2.768, allocations: 0.7351 MB / 0.8296 GB, free: 0 / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3733/3.141, allocations: 15.88 MB / 0.8451 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/3.156, allocations: 5.246 MB / 0.8502 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008366/3.164, allocations: 3.54 MB / 0.8536 GB, free: 135.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.874e-06/3.165, allocations: 3.062 kB / 0.8537 GB, free: 135.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.935/8.1, allocations: 127.6 MB / 0.9783 GB, free: 50.84 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