Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 235 MB / 247.2 MB, free: 14.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.074e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4197, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.608, allocations: 101.1 MB / 461 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.6084, allocations: 79.95 kB / 461 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9434/1.552, allocations: 144.5 MB / 0.5913 GB, free: 94.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.552, allocations: 0 / 0.5913 GB, free: 94.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004098/1.552, allocations: 146.4 kB / 0.5915 GB, free: 94.57 MB / 458.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.02748/1.58, allocations: 6.544 MB / 0.5979 GB, free: 90.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.58, allocations: 13.88 kB / 0.5979 GB, free: 90.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007045/1.587, allocations: 1.365 MB / 0.5992 GB, free: 89.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/1.617, allocations: 3.617 MB / 0.6027 GB, free: 86.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/1.645, allocations: 7.62 MB / 0.6102 GB, free: 78.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009015/1.646, allocations: 0.6007 MB / 0.6108 GB, free: 78.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00487/1.65, allocations: 0.777 MB / 0.6115 GB, free: 77.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07793/1.728, allocations: 21.44 MB / 0.6325 GB, free: 54.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006477/1.729, allocations: 95.16 kB / 0.6326 GB, free: 54.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004786/1.734, allocations: 375.8 kB / 0.6329 GB, free: 53.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005678/1.74, allocations: 1.941 MB / 0.6348 GB, free: 51.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06442/1.804, allocations: 16.87 MB / 0.6513 GB, free: 34.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.516/2.32, allocations: 79.33 MB / 0.7288 GB, free: 48.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03307/2.353, allocations: 6.463 MB / 0.7351 GB, free: 47.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006103/2.359, allocations: 2.048 MB / 0.7371 GB, free: 47.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/2.39, allocations: 9.739 MB / 0.7466 GB, free: 45.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/2.39, allocations: 69.88 kB / 0.7467 GB, free: 45.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.003e-06/2.39, allocations: 0 / 0.7467 GB, free: 45.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.1227/2.512, allocations: 22.61 MB / 0.7687 GB, free: 40.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/2.513, allocations: 163.8 kB / 0.7689 GB, free: 40.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/2.527, allocations: 5.256 MB / 0.774 GB, free: 39.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007458/2.528, allocations: 72.2 kB / 0.7741 GB, free: 39.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004927/2.533, allocations: 5.172 MB / 0.7791 GB, free: 36.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001923/2.535, allocations: 1.223 MB / 0.7803 GB, free: 35.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/2.536, allocations: 188.5 kB / 0.7805 GB, free: 35.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001382/2.538, allocations: 0.7165 MB / 0.7812 GB, free: 34.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007684/2.545, allocations: 2.624 MB / 0.7838 GB, free: 33.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.557, allocations: 8.299 MB / 0.7919 GB, free: 25.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/2.568, allocations: 4.625 MB / 0.7964 GB, free: 23.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/2.568, allocations: 56.03 kB / 0.7965 GB, free: 23.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02848/2.596, allocations: 10.15 MB / 0.8064 GB, free: 20.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/2.597, allocations: 94.44 kB / 0.8065 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003151/2.597, allocations: 204 kB / 0.8067 GB, free: 20.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/2.597, allocations: 304 kB / 0.8069 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/2.613, allocations: 2.387 MB / 0.8093 GB, free: 18.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004086/2.614, allocations: 400.4 kB / 0.8097 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/2.626, allocations: 0.6273 MB / 0.8103 GB, free: 17.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/2.628, allocations: 0.5676 MB / 0.8108 GB, free: 16.73 MB / 474.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.003775/2.632, allocations: 0.848 MB / 0.8117 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.634, allocations: 0.5435 MB / 0.8122 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/2.643, allocations: 3.189 MB / 0.8153 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-05/2.643, allocations: 32 kB / 0.8153 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/2.643, allocations: 4 kB / 0.8153 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/2.643, allocations: 15.7 kB / 0.8153 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03663/2.68, allocations: 13.49 MB / 0.8285 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/2.68, allocations: 35.94 kB / 0.8286 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00458/2.684, allocations: 0.5913 MB / 0.8291 GB, free: 352 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/2.684, allocations: 48 kB / 0.8292 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004236/2.685, allocations: 98.61 kB / 0.8293 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-05/2.685, allocations: 69.66 kB / 0.8293 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.274e-05/2.685, allocations: 49.19 kB / 0.8294 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/2.702, allocations: 11.95 MB / 0.8411 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003615/2.705, allocations: 0.8356 MB / 0.8419 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/2.707, allocations: 98.8 kB / 0.842 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005497/2.713, allocations: 197.6 kB / 0.8422 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009409/2.714, allocations: 290.7 kB / 0.8424 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003488/2.714, allocations: 128.8 kB / 0.8426 GB, free: 1.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01729/2.732, allocations: 4.04 MB / 0.8465 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.72e-07/2.732, allocations: 0 / 0.8465 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01232/2.744, allocations: 1.55 MB / 0.848 GB, free: 13.66 MB / 0.4948 GB 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.01807/2.762, allocations: 18.47 MB / 0.8661 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01595/2.778, allocations: 5.832 MB / 0.8717 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-05/2.778, allocations: 4 kB / 0.8717 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/2.782, allocations: 1.426 MB / 0.8731 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006978/2.789, allocations: 0.7077 MB / 0.8738 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05363/2.843, allocations: 15.1 MB / 0.8886 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01379/2.857, allocations: 5.253 MB / 0.8937 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01489/2.872, allocations: 2.749 MB / 0.8964 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009404/2.881, allocations: 3.471 MB / 0.8998 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of SimCode: time 2.395e-06/2.881, allocations: 0 / 0.8998 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/3.558, allocations: 112.1 MB / 1.009 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/3.559, allocations: 136.4 kB / 1.009 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/11.45, allocations: 3.938 kB / 1.009 GB, free: 118.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat