Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.511/2.511, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.268e-05, allocations: 7.938 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6751, allocations: 109.8 MB / 0.508 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6755, allocations: 75.97 kB / 0.508 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08/1.756, allocations: 141.2 MB / 0.6459 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.288e-06/1.756, allocations: 3.531 kB / 0.646 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005207/1.756, allocations: 140.3 kB / 0.6461 GB, free: 109.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.03323/1.79, allocations: 6.443 MB / 0.6524 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.79, allocations: 11.62 kB / 0.6524 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006008/1.796, allocations: 1.306 MB / 0.6537 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02853/1.824, allocations: 3.544 MB / 0.6571 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/1.849, allocations: 7.09 MB / 0.664 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008582/1.85, allocations: 0.5684 MB / 0.6646 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/1.855, allocations: 0.7572 MB / 0.6653 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07399/1.929, allocations: 20.59 MB / 0.6855 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005839/1.929, allocations: 87.81 kB / 0.6855 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004475/1.934, allocations: 367.5 kB / 0.6859 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00854/1.942, allocations: 1.827 MB / 0.6877 GB, free: 98.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0736/2.016, allocations: 16.08 MB / 0.7034 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/2.133, allocations: 77.17 MB / 0.7787 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02901/2.162, allocations: 6.104 MB / 0.7847 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004976/2.167, allocations: 1.944 MB / 0.7866 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03065/2.198, allocations: 9.278 MB / 0.7956 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02615/2.224, allocations: 4.058 MB / 0.7996 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 7.113e-06/2.224, allocations: 0 / 0.7996 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.504/2.728, allocations: 19.69 MB / 0.8188 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/2.728, allocations: 164.8 kB / 0.819 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01569/2.744, allocations: 5.118 MB / 0.824 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006751/2.745, allocations: 71.89 kB / 0.8241 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006571/2.751, allocations: 5.057 MB / 0.829 GB, free: 110 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/2.753, allocations: 1.133 MB / 0.8301 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/2.755, allocations: 184.2 kB / 0.8303 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001014/2.756, allocations: 0.6987 MB / 0.831 GB, free: 109 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007991/2.764, allocations: 2.446 MB / 0.8334 GB, free: 109 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01268/2.777, allocations: 7.934 MB / 0.8411 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.788, allocations: 4.412 MB / 0.8454 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003416/2.788, allocations: 60.38 kB / 0.8455 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02833/2.817, allocations: 9.661 MB / 0.8549 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002777/2.817, allocations: 114.2 kB / 0.855 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003659/2.817, allocations: 197.9 kB / 0.8552 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/2.818, allocations: 291.6 kB / 0.8555 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/2.832, allocations: 2.255 MB / 0.8577 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/2.833, allocations: 384.3 kB / 0.858 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/2.845, allocations: 0.5876 MB / 0.8586 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/2.848, allocations: 0.5441 MB / 0.8592 GB, free: 100.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($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.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 (1178): * Single equations (assignments): 1174 * 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.003731/2.851, allocations: 0.8332 MB / 0.86 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/2.853, allocations: 0.5192 MB / 0.8605 GB, free: 99.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008621/2.862, allocations: 2.825 MB / 0.8632 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-05/2.862, allocations: 34.12 kB / 0.8633 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/2.862, allocations: 2.469 kB / 0.8633 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/2.862, allocations: 16.48 kB / 0.8633 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03621/2.898, allocations: 12.18 MB / 0.8752 GB, free: 93.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/2.898, allocations: 33.12 kB / 0.8752 GB, free: 93.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004028/2.902, allocations: 0.5314 MB / 0.8757 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.558e-05/2.902, allocations: 48.75 kB / 0.8758 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/2.903, allocations: 91.56 kB / 0.8759 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.266e-05/2.903, allocations: 66.78 kB / 0.8759 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.42e-05/2.903, allocations: 49.06 kB / 0.876 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/2.914, allocations: 10.84 MB / 0.8866 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/2.917, allocations: 0.5968 MB / 0.8871 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/2.919, allocations: 99.55 kB / 0.8872 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00539/2.924, allocations: 208.8 kB / 0.8874 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007935/2.925, allocations: 277.4 kB / 0.8877 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/2.925, allocations: 117.8 kB / 0.8878 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009191/2.935, allocations: 3.535 MB / 0.8913 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.272e-06/2.935, allocations: 0 / 0.8913 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01211/2.947, allocations: 1.485 MB / 0.8927 GB, free: 81.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (272): * Single equations (assignments): 267 * 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.01346/2.96, allocations: 17.3 MB / 0.9096 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01396/2.974, allocations: 5.464 MB / 0.9149 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.348e-05/2.974, allocations: 3.625 kB / 0.9149 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00452/2.979, allocations: 1.534 MB / 0.9164 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006568/2.985, allocations: 0.7204 MB / 0.9171 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/3.036, allocations: 14.2 MB / 0.931 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/3.048, allocations: 5.035 MB / 0.9359 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01294/3.061, allocations: 2.612 MB / 0.9385 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007607/3.069, allocations: 3.237 MB / 0.9416 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.326e-06/3.069, allocations: 0 / 0.9416 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7249/3.794, allocations: 107.9 MB / 1.047 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/3.794, allocations: 141.3 kB / 1.047 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/12.11, allocations: 0 / 1.047 GB, free: 116.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat