Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.401e-05/5.419e-05, allocations: 4 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.464, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.6652, allocations: 109.2 MB / 0.5074 GB, free: 13.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.6655, allocations: 79.95 kB / 0.5075 GB, free: 13.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9171/1.583, allocations: 140.7 MB / 0.6449 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.583, allocations: 0 / 0.6449 GB, free: 11.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004335/1.583, allocations: 136 kB / 0.6451 GB, free: 11.39 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02605/1.609, allocations: 6.332 MB / 0.6512 GB, free: 4.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.609, allocations: 12.03 kB / 0.6513 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006635/1.616, allocations: 1.302 MB / 0.6525 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03156/1.648, allocations: 3.551 MB / 0.656 GB, free: 84 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03121/1.679, allocations: 7.061 MB / 0.6629 GB, free: 8.957 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/1.68, allocations: 0.5774 MB / 0.6635 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005787/1.686, allocations: 0.7574 MB / 0.6642 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1079/1.794, allocations: 20.57 MB / 0.6843 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005122/1.795, allocations: 95.16 kB / 0.6844 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003914/1.799, allocations: 371.8 kB / 0.6847 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005973/1.805, allocations: 1.819 MB / 0.6865 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07531/1.88, allocations: 16.06 MB / 0.7022 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5594/2.439, allocations: 77.08 MB / 0.7775 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02861/2.468, allocations: 6.085 MB / 0.7834 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/2.473, allocations: 1.945 MB / 0.7853 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/2.498, allocations: 9.246 MB / 0.7943 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/2.498, allocations: 62.25 kB / 0.7944 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 6.683e-06/2.498, allocations: 0 / 0.7944 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.0985/2.596, allocations: 19.63 MB / 0.8136 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/2.596, allocations: 157.1 kB / 0.8137 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01903/2.615, allocations: 5.101 MB / 0.8187 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007301/2.616, allocations: 69.45 kB / 0.8188 GB, free: 37.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006468/2.623, allocations: 4.959 MB / 0.8236 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/2.625, allocations: 1.117 MB / 0.8247 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/2.627, allocations: 189.4 kB / 0.8249 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001462/2.628, allocations: 0.6924 MB / 0.8255 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/2.639, allocations: 2.434 MB / 0.8279 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01629/2.655, allocations: 7.915 MB / 0.8357 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/2.671, allocations: 4.367 MB / 0.8399 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002787/2.671, allocations: 58.41 kB / 0.84 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.04104/2.712, allocations: 9.597 MB / 0.8493 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002944/2.712, allocations: 89.31 kB / 0.8494 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004938/2.713, allocations: 196.4 kB / 0.8496 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/2.714, allocations: 289.7 kB / 0.8499 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02155/2.735, allocations: 2.245 MB / 0.8521 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005797/2.736, allocations: 385.7 kB / 0.8525 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01724/2.753, allocations: 0.5681 MB / 0.853 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002907/2.756, allocations: 0.5406 MB / 0.8535 GB, free: 18.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1174): * Single equations (assignments): 1171 * 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.004316/2.76, allocations: 0.8272 MB / 0.8543 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/2.762, allocations: 0.5245 MB / 0.8549 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/2.774, allocations: 2.787 MB / 0.8576 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/2.774, allocations: 32 kB / 0.8576 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/2.774, allocations: 0 / 0.8576 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.124e-05/2.774, allocations: 13.97 kB / 0.8576 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03875/2.813, allocations: 12.26 MB / 0.8696 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/2.813, allocations: 35.7 kB / 0.8696 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006027/2.819, allocations: 0.5219 MB / 0.8701 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/2.819, allocations: 48 kB / 0.8702 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006237/2.82, allocations: 91.33 kB / 0.8703 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001014/2.82, allocations: 66.59 kB / 0.8703 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.014e-05/2.82, allocations: 51.75 kB / 0.8704 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/2.836, allocations: 10.99 MB / 0.8811 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/2.838, allocations: 0.5941 MB / 0.8817 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/2.84, allocations: 95.59 kB / 0.8818 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005131/2.845, allocations: 184.1 kB / 0.882 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007932/2.846, allocations: 275.7 kB / 0.8822 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003803/2.846, allocations: 115.3 kB / 0.8823 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01037/2.857, allocations: 3.524 MB / 0.8858 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.71e-07/2.857, allocations: 0 / 0.8858 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01149/2.868, allocations: 1.474 MB / 0.8872 GB, free: 1.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (269): * Single equations (assignments): 266 * 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.0194/2.888, allocations: 17.6 MB / 0.9044 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0163/2.904, allocations: 5.4 MB / 0.9097 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.63e-05/2.904, allocations: 4 kB / 0.9097 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/2.908, allocations: 1.247 MB / 0.9109 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006638/2.914, allocations: 0.6991 MB / 0.9116 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4709/3.385, allocations: 14.19 MB / 0.9254 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/3.399, allocations: 5.024 MB / 0.9304 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01365/3.412, allocations: 2.613 MB / 0.9329 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00769/3.42, allocations: 3.247 MB / 0.9361 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.464e-06/3.42, allocations: 0 / 0.9361 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.287/3.707, allocations: 107.1 MB / 1.041 GB, free: 84.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/3.708, allocations: 150.8 kB / 1.041 GB, free: 84.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/12.08, allocations: 4 kB / 1.041 GB, free: 84.62 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat