Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.875e-05/4.884e-05, allocations: 7.984 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6115, allocations: 94.81 MB / 416.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/0.612, allocations: 75.95 kB / 416.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9331/1.545, allocations: 144.9 MB / 0.5486 GB, free: 89.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.545, allocations: 0 / 0.5486 GB, free: 89.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003736/1.546, allocations: 148.1 kB / 0.5487 GB, free: 89.55 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.03437/1.58, allocations: 6.639 MB / 0.5552 GB, free: 86.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/1.58, allocations: 8.75 kB / 0.5552 GB, free: 86.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008291/1.588, allocations: 1.37 MB / 0.5565 GB, free: 86.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0448/1.633, allocations: 3.613 MB / 0.5601 GB, free: 86.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03377/1.667, allocations: 7.64 MB / 0.5675 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008112/1.668, allocations: 0.5908 MB / 0.5681 GB, free: 83.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00565/1.674, allocations: 0.7872 MB / 0.5689 GB, free: 83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09098/1.765, allocations: 21.45 MB / 0.5898 GB, free: 64.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005667/1.765, allocations: 95.14 kB / 0.5899 GB, free: 63.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004535/1.77, allocations: 384.2 kB / 0.5903 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005453/1.775, allocations: 1.941 MB / 0.5922 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06332/1.839, allocations: 16.9 MB / 0.6087 GB, free: 44.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4762/2.315, allocations: 79.4 MB / 0.6862 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03174/2.347, allocations: 6.49 MB / 0.6925 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005856/2.353, allocations: 2.063 MB / 0.6946 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02734/2.38, allocations: 9.772 MB / 0.7041 GB, free: 25.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02533/2.405, allocations: 4.316 MB / 0.7083 GB, free: 25.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 9.397e-06/2.406, allocations: 3.281 kB / 0.7083 GB, free: 25.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=323): time 0.1551/2.561, allocations: 22.69 MB / 0.7305 GB, free: 20.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/2.561, allocations: 168.9 kB / 0.7306 GB, free: 20.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/2.574, allocations: 5.269 MB / 0.7358 GB, free: 18.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006971/2.575, allocations: 72.2 kB / 0.7359 GB, free: 18.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005656/2.58, allocations: 5.274 MB / 0.741 GB, free: 14.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001803/2.582, allocations: 1.229 MB / 0.7422 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/2.583, allocations: 194.4 kB / 0.7424 GB, free: 13.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005623/2.584, allocations: 0.7181 MB / 0.7431 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007052/2.591, allocations: 2.641 MB / 0.7457 GB, free: 12.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/2.602, allocations: 8.308 MB / 0.7538 GB, free: 3.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.613, allocations: 4.669 MB / 0.7583 GB, free: 2.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002547/2.613, allocations: 57.81 kB / 0.7584 GB, free: 2.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02942/2.643, allocations: 10.23 MB / 0.7684 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/2.643, allocations: 117.7 kB / 0.7685 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003751/2.644, allocations: 200 kB / 0.7687 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/2.644, allocations: 304.1 kB / 0.769 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/2.661, allocations: 2.41 MB / 0.7713 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005505/2.661, allocations: 401.2 kB / 0.7717 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.674, allocations: 0.6442 MB / 0.7723 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/2.676, allocations: 0.5619 MB / 0.7729 GB, free: 10.29 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: 74 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1240): * Single equations (assignments): 1236 * Array equations: 3 * Algorithm blocks: 1 * 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.003777/2.68, allocations: 0.8594 MB / 0.7737 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.682, allocations: 0.5468 MB / 0.7743 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/2.693, allocations: 3.213 MB / 0.7774 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-05/2.693, allocations: 32.86 kB / 0.7774 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/2.693, allocations: 7.953 kB / 0.7774 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-05/2.693, allocations: 15.52 kB / 0.7775 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04315/2.736, allocations: 13.37 MB / 0.7905 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.35e-05/2.736, allocations: 32 kB / 0.7906 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005029/2.741, allocations: 0.6034 MB / 0.7911 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/2.741, allocations: 54.72 kB / 0.7912 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000511/2.742, allocations: 98.62 kB / 0.7913 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.507e-05/2.742, allocations: 71.81 kB / 0.7914 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/2.742, allocations: 51.81 kB / 0.7914 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/2.76, allocations: 11.88 MB / 0.803 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003697/2.763, allocations: 0.8326 MB / 0.8038 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/2.766, allocations: 107 kB / 0.8039 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005533/2.771, allocations: 217.6 kB / 0.8041 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000955/2.772, allocations: 295.7 kB / 0.8044 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003937/2.773, allocations: 123.6 kB / 0.8045 GB, free: 11.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0111/2.784, allocations: 3.65 MB / 0.8081 GB, free: 8.172 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.784, allocations: 0 / 0.8081 GB, free: 8.172 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0134/2.797, allocations: 1.565 MB / 0.8096 GB, free: 6.617 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.02062/2.818, allocations: 18.31 MB / 0.8275 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3502/3.168, allocations: 5.895 MB / 0.8333 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.794e-05/3.168, allocations: 7.969 kB / 0.8333 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005991/3.174, allocations: 1.71 MB / 0.8349 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/3.181, allocations: 0.7018 MB / 0.8356 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05609/3.237, allocations: 15.12 MB / 0.8504 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/3.25, allocations: 5.252 MB / 0.8555 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01422/3.264, allocations: 2.75 MB / 0.8582 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008602/3.273, allocations: 3.404 MB / 0.8615 GB, free: 133.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/3.273, allocations: 0 / 0.8615 GB, free: 133.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2456/3.518, allocations: 112.9 MB / 0.9718 GB, free: 58.76 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/3.519, allocations: 141.5 kB / 0.9719 GB, free: 58.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/12.13, allocations: 0 / 0.9719 GB, free: 58.54 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat