Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.62e-05, allocations: 7.938 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09913, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5258, allocations: 93.92 MB / 410.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5261, allocations: 78.39 kB / 410.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.843/1.369, allocations: 141 MB / 0.5384 GB, free: 82.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.604e-06/1.369, allocations: 0 / 0.5384 GB, free: 82.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003754/1.37, allocations: 142.1 kB / 0.5385 GB, free: 82.02 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.02437/1.394, allocations: 6.551 MB / 0.5449 GB, free: 78.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.394, allocations: 10.47 kB / 0.545 GB, free: 78.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02893/1.423, allocations: 3.613 MB / 0.5485 GB, free: 77.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02585/1.449, allocations: 7.613 MB / 0.5559 GB, free: 73.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/1.449, allocations: 260.3 kB / 0.5562 GB, free: 73.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004236/1.454, allocations: 471.8 kB / 0.5566 GB, free: 72.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02909/1.483, allocations: 11.29 MB / 0.5676 GB, free: 61.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/1.527, allocations: 16.52 MB / 0.5838 GB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004605/1.527, allocations: 99.14 kB / 0.5839 GB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003785/1.531, allocations: 48 kB / 0.5839 GB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005263/1.536, allocations: 1.932 MB / 0.5858 GB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4578/1.994, allocations: 77.02 MB / 0.661 GB, free: 44.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/2.002, allocations: 3.311 MB / 0.6642 GB, free: 43.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005079/2.007, allocations: 1.872 MB / 0.6661 GB, free: 43.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/2.01, allocations: 1.779 MB / 0.6678 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.062e-05/2.01, allocations: 61.58 kB / 0.6679 GB, free: 42.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 1.078e-05/2.01, allocations: 0 / 0.6679 GB, free: 42.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=317): time 0.07964/2.089, allocations: 18.05 MB / 0.6855 GB, free: 37.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/2.09, allocations: 159.4 kB / 0.6857 GB, free: 37.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.101, allocations: 4.429 MB / 0.69 GB, free: 36.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007606/2.101, allocations: 25.7 kB / 0.69 GB, free: 36.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004447/2.106, allocations: 5.238 MB / 0.6951 GB, free: 33.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/2.108, allocations: 1.17 MB / 0.6963 GB, free: 33.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/2.109, allocations: 0 / 0.6963 GB, free: 33.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006867/2.11, allocations: 0.7243 MB / 0.697 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006703/2.116, allocations: 2.481 MB / 0.6994 GB, free: 32.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/2.127, allocations: 8.347 MB / 0.7075 GB, free: 24.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/2.137, allocations: 4.505 MB / 0.7119 GB, free: 22.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002967/2.138, allocations: 60.84 kB / 0.712 GB, free: 22.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.02772/2.165, allocations: 9.569 MB / 0.7213 GB, free: 20.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/2.166, allocations: 95.41 kB / 0.7214 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003238/2.166, allocations: 208.2 kB / 0.7216 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/2.166, allocations: 317.9 kB / 0.7219 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/2.182, allocations: 2.447 MB / 0.7243 GB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003743/2.182, allocations: 414.6 kB / 0.7247 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.194, allocations: 448.8 kB / 0.7252 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002384/2.196, allocations: 0.5849 MB / 0.7257 GB, free: 19.52 MB / 426.7 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.00378/2.2, allocations: 0.6344 MB / 0.7263 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008567/2.209, allocations: 3.092 MB / 0.7294 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/2.211, allocations: 500 kB / 0.7298 GB, free: 17.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009144/2.22, allocations: 2.827 MB / 0.7326 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.963e-05/2.22, allocations: 35.5 kB / 0.7326 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/2.22, allocations: 4 kB / 0.7326 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/2.22, allocations: 14.67 kB / 0.7327 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0334/2.254, allocations: 11.53 MB / 0.7439 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/2.254, allocations: 32 kB / 0.7439 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/2.258, allocations: 0.584 MB / 0.7445 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/2.258, allocations: 52 kB / 0.7446 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004869/2.259, allocations: 55.94 kB / 0.7446 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.37e-05/2.259, allocations: 67.62 kB / 0.7447 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.202e-05/2.259, allocations: 47.77 kB / 0.7447 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/2.272, allocations: 10.12 MB / 0.7546 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/2.276, allocations: 0.7664 MB / 0.7554 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00222/2.278, allocations: 49.81 kB / 0.7554 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005123/2.283, allocations: 152.3 kB / 0.7555 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009196/2.284, allocations: 281 kB / 0.7558 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/2.285, allocations: 122.8 kB / 0.7559 GB, free: 8.512 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009057/2.294, allocations: 2.882 MB / 0.7587 GB, free: 6.023 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.102e-06/2.294, allocations: 0 / 0.7587 GB, free: 6.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01265/2.306, allocations: 1.312 MB / 0.76 GB, free: 4.719 MB / 442.7 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.01715/2.324, allocations: 17.4 MB / 0.777 GB, free: 2.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/2.339, allocations: 5.726 MB / 0.7826 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.233e-05/2.339, allocations: 4 kB / 0.7826 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003676/2.342, allocations: 1.377 MB / 0.784 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/2.348, allocations: 0.5197 MB / 0.7845 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05578/2.404, allocations: 14.85 MB / 0.799 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/2.418, allocations: 5.231 MB / 0.8041 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01447/2.432, allocations: 2.791 MB / 0.8068 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009253/2.442, allocations: 3.45 MB / 0.8102 GB, free: 6.379 MB / 490.7 MB Notification: Performance of SimCode: time 2.244e-06/2.442, allocations: 0 / 0.8102 GB, free: 6.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5776/3.019, allocations: 102 MB / 0.9098 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/3.02, allocations: 121.2 kB / 0.9099 GB, free: 127 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.276/9.296, allocations: 0 / 0.9099 GB, free: 127 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat