Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.868e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5558/0.7047, allocations: 109.2 MB / 0.5074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.705, allocations: 79.95 kB / 0.5075 GB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9541/1.659, allocations: 140.8 MB / 0.6449 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/1.659, allocations: 0 / 0.6449 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003764/1.66, allocations: 143.2 kB / 0.6451 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02377/1.683, allocations: 6.328 MB / 0.6513 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.684, allocations: 11.53 kB / 0.6513 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005937/1.689, allocations: 1.305 MB / 0.6525 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/1.718, allocations: 3.546 MB / 0.656 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/1.743, allocations: 7.069 MB / 0.6629 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007754/1.744, allocations: 0.57 MB / 0.6635 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004443/1.749, allocations: 0.7507 MB / 0.6642 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07397/1.823, allocations: 20.57 MB / 0.6843 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005649/1.823, allocations: 98.19 kB / 0.6844 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004206/1.827, allocations: 370.2 kB / 0.6847 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005228/1.833, allocations: 1.816 MB / 0.6865 GB, free: 98.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05957/1.892, allocations: 16.07 MB / 0.7022 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/2.011, allocations: 77.09 MB / 0.7775 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02834/2.039, allocations: 6.088 MB / 0.7834 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004598/2.044, allocations: 1.937 MB / 0.7853 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02326/2.067, allocations: 9.233 MB / 0.7943 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.69e-05/2.067, allocations: 72.44 kB / 0.7944 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 6.502e-06/2.067, allocations: 3.938 kB / 0.7944 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=291): time 0.5109/2.578, allocations: 19.61 MB / 0.8136 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/2.578, allocations: 159.3 kB / 0.8137 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01585/2.594, allocations: 5.098 MB / 0.8187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006096/2.595, allocations: 69.92 kB / 0.8188 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005334/2.6, allocations: 4.964 MB / 0.8236 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/2.602, allocations: 1.118 MB / 0.8247 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/2.604, allocations: 185.8 kB / 0.8249 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001169/2.605, allocations: 0.6894 MB / 0.8255 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00792/2.613, allocations: 2.437 MB / 0.8279 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/2.626, allocations: 7.915 MB / 0.8357 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/2.638, allocations: 4.369 MB / 0.8399 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003588/2.639, allocations: 56.94 kB / 0.84 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02809/2.667, allocations: 9.604 MB / 0.8494 GB, free: 102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/2.667, allocations: 96.03 kB / 0.8494 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/2.667, allocations: 195 kB / 0.8496 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/2.668, allocations: 290.3 kB / 0.8499 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/2.682, allocations: 2.235 MB / 0.8521 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004011/2.682, allocations: 383.8 kB / 0.8525 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/2.694, allocations: 0.571 MB / 0.853 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002169/2.696, allocations: 0.536 MB / 0.8535 GB, free: 101.7 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: 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.003536/2.7, allocations: 0.8361 MB / 0.8544 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/2.701, allocations: 0.5152 MB / 0.8549 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009436/2.711, allocations: 2.787 MB / 0.8576 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/2.711, allocations: 33.98 kB / 0.8576 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/2.711, allocations: 2.531 kB / 0.8576 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/2.711, allocations: 20.72 kB / 0.8576 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/2.745, allocations: 12.26 MB / 0.8696 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/2.745, allocations: 34.03 kB / 0.8696 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/2.749, allocations: 0.5162 MB / 0.8701 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.934e-05/2.749, allocations: 51.62 kB / 0.8702 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/2.749, allocations: 95.36 kB / 0.8703 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.082e-05/2.749, allocations: 69.22 kB / 0.8703 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-05/2.749, allocations: 46.84 kB / 0.8704 GB, free: 95.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/2.761, allocations: 11 MB / 0.8811 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/2.763, allocations: 0.5933 MB / 0.8817 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/2.764, allocations: 92.3 kB / 0.8818 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004744/2.769, allocations: 183.1 kB / 0.882 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/2.77, allocations: 269.9 kB / 0.8822 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/2.77, allocations: 118 kB / 0.8823 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008715/2.779, allocations: 3.521 MB / 0.8858 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.72e-07/2.779, allocations: 0 / 0.8858 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01127/2.79, allocations: 1.481 MB / 0.8872 GB, free: 83.02 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.0121/2.802, allocations: 17.46 MB / 0.9043 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01277/2.815, allocations: 5.394 MB / 0.9095 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.36e-05/2.815, allocations: 8.594 kB / 0.9096 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002958/2.818, allocations: 1.248 MB / 0.9108 GB, free: 65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006647/2.825, allocations: 0.709 MB / 0.9115 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/2.872, allocations: 14.18 MB / 0.9253 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/2.885, allocations: 5.029 MB / 0.9302 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01285/2.898, allocations: 2.617 MB / 0.9328 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007318/2.905, allocations: 3.241 MB / 0.9359 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.224e-06/2.905, allocations: 0 / 0.9359 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.65/3.555, allocations: 107.1 MB / 1.041 GB, free: 111 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/3.556, allocations: 150.2 kB / 1.041 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/11.57, allocations: 0 / 1.041 GB, free: 110.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat