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.58/2.58, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.029e-05, allocations: 7.938 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.372, allocations: 54.86 MB / 354.4 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5561, allocations: 100.4 MB / 454.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5564, allocations: 75.97 kB / 454.8 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8682/1.425, allocations: 141 MB / 0.5818 GB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.425, allocations: 4 kB / 0.5818 GB, free: 12.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003736/1.425, allocations: 144 kB / 0.582 GB, free: 12.5 MB / 410.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.02475/1.45, allocations: 6.538 MB / 0.5884 GB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.45, allocations: 8.031 kB / 0.5884 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0288/1.479, allocations: 3.617 MB / 0.5919 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03065/1.509, allocations: 7.625 MB / 0.5994 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/1.51, allocations: 271.9 kB / 0.5996 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005348/1.516, allocations: 463.9 kB / 0.6001 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04386/1.56, allocations: 11.3 MB / 0.6111 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05616/1.616, allocations: 16.51 MB / 0.6272 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005966/1.617, allocations: 95.16 kB / 0.6273 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003965/1.621, allocations: 48 kB / 0.6273 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0063/1.627, allocations: 1.941 MB / 0.6292 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8404/2.467, allocations: 77.01 MB / 0.7044 GB, free: 33.63 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/2.474, allocations: 3.324 MB / 0.7077 GB, free: 32.95 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004293/2.478, allocations: 1.878 MB / 0.7095 GB, free: 32.89 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/2.481, allocations: 1.769 MB / 0.7113 GB, free: 31.38 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/2.481, allocations: 65.19 kB / 0.7113 GB, free: 31.34 MB / 458.8 MB Notification: Performance of pre-optimization done (n=287): time 7.424e-06/2.481, allocations: 3.5 kB / 0.7113 GB, free: 31.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=317): time 0.07847/2.559, allocations: 18.04 MB / 0.7289 GB, free: 26.72 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/2.559, allocations: 167.1 kB / 0.7291 GB, free: 26.56 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009159/2.568, allocations: 4.418 MB / 0.7334 GB, free: 25.14 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006397/2.569, allocations: 25.7 kB / 0.7334 GB, free: 25.11 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004334/2.573, allocations: 5.24 MB / 0.7386 GB, free: 21.37 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001721/2.575, allocations: 1.173 MB / 0.7397 GB, free: 20.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000976/2.576, allocations: 0 / 0.7397 GB, free: 20.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005933/2.577, allocations: 0.7189 MB / 0.7404 GB, free: 20.02 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00605/2.583, allocations: 2.487 MB / 0.7428 GB, free: 19.14 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.594, allocations: 8.35 MB / 0.751 GB, free: 10.34 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.604, allocations: 4.497 MB / 0.7554 GB, free: 8.949 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002961/2.604, allocations: 65.23 kB / 0.7554 GB, free: 8.949 MB / 458.8 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.02625/2.631, allocations: 9.566 MB / 0.7648 GB, free: 3.941 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/2.631, allocations: 96 kB / 0.7649 GB, free: 3.848 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/2.631, allocations: 212 kB / 0.7651 GB, free: 3.641 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/2.631, allocations: 312 kB / 0.7654 GB, free: 3.336 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/2.647, allocations: 2.445 MB / 0.7678 GB, free: 1.207 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004117/2.647, allocations: 420.9 kB / 0.7682 GB, free: 0.8398 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/2.659, allocations: 447.3 kB / 0.7686 GB, free: 0.4922 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003164/2.663, allocations: 0.6176 MB / 0.7692 GB, free: 0 / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 (1269): * Single equations (assignments): 1266 * 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.003192/2.666, allocations: 0.6355 MB / 0.7698 GB, free: 15.36 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008593/2.674, allocations: 3.097 MB / 0.7728 GB, free: 12.55 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/2.676, allocations: 497.6 kB / 0.7733 GB, free: 12.06 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00857/2.685, allocations: 2.828 MB / 0.7761 GB, free: 9.629 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.548e-05/2.685, allocations: 32 kB / 0.7761 GB, free: 9.598 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/2.685, allocations: 4 kB / 0.7761 GB, free: 9.594 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.262e-05/2.685, allocations: 23.17 kB / 0.7761 GB, free: 9.586 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/2.721, allocations: 11.54 MB / 0.7874 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.776e-05/2.721, allocations: 32 kB / 0.7874 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004766/2.726, allocations: 0.5846 MB / 0.788 GB, free: 15.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-05/2.726, allocations: 51.61 kB / 0.788 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004031/2.726, allocations: 55.66 kB / 0.7881 GB, free: 15.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.931e-05/2.726, allocations: 66.5 kB / 0.7882 GB, free: 14.99 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-05/2.727, allocations: 43.81 kB / 0.7882 GB, free: 14.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/2.741, allocations: 10.13 MB / 0.7981 GB, free: 4.066 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003265/2.744, allocations: 0.7664 MB / 0.7988 GB, free: 3.336 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.746, allocations: 45.77 kB / 0.7989 GB, free: 3.297 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004922/2.751, allocations: 156.4 kB / 0.799 GB, free: 3.188 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/2.752, allocations: 277.7 kB / 0.7993 GB, free: 2.977 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/2.752, allocations: 119.9 kB / 0.7994 GB, free: 2.863 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008951/2.761, allocations: 2.893 MB / 0.8022 GB, free: 380 kB / 490.8 MB Notification: Performance of sort global known variables: time 1.273e-06/2.761, allocations: 0 / 0.8022 GB, free: 380 kB / 490.8 MB Notification: Performance of remove unused functions: time 0.02036/2.781, allocations: 1.767 MB / 0.804 GB, free: 0 / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * 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 (298): * Single equations (assignments): 295 * 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.02093/2.802, allocations: 17.42 MB / 0.821 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.819, allocations: 5.709 MB / 0.8266 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-05/2.819, allocations: 4 kB / 0.8266 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003865/2.823, allocations: 1.381 MB / 0.8279 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.828, allocations: 0.5139 MB / 0.8284 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4487/3.277, allocations: 15.24 MB / 0.8433 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/3.292, allocations: 5.23 MB / 0.8484 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01932/3.312, allocations: 2.796 MB / 0.8511 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01142/3.323, allocations: 3.451 MB / 0.8545 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.224e-06/3.323, allocations: 0 / 0.8545 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2959/3.619, allocations: 102 MB / 0.9541 GB, free: 75.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/3.619, allocations: 129.1 kB / 0.9542 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/11.11, allocations: 0 / 0.9542 GB, free: 75.46 MB / 0.5105 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