Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.13e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4124, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.6016, allocations: 101.5 MB / 461.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.602, allocations: 79.94 kB / 461.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9098/1.512, allocations: 145 MB / 0.5922 GB, free: 94.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.512, allocations: 0 / 0.5922 GB, free: 94.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004109/1.512, allocations: 150.2 kB / 0.5924 GB, free: 94.14 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02769/1.54, allocations: 6.633 MB / 0.5989 GB, free: 89.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.54, allocations: 11.03 kB / 0.5989 GB, free: 89.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006364/1.546, allocations: 1.363 MB / 0.6002 GB, free: 88.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02961/1.576, allocations: 3.633 MB / 0.6038 GB, free: 85.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02614/1.602, allocations: 7.636 MB / 0.6112 GB, free: 77.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008149/1.603, allocations: 0.5891 MB / 0.6118 GB, free: 77.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004479/1.608, allocations: 0.7925 MB / 0.6126 GB, free: 76.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07339/1.681, allocations: 21.44 MB / 0.6335 GB, free: 53.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004828/1.682, allocations: 99.14 kB / 0.6336 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003942/1.686, allocations: 383.8 kB / 0.634 GB, free: 52.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005464/1.691, allocations: 1.937 MB / 0.6359 GB, free: 50.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06388/1.755, allocations: 16.89 MB / 0.6523 GB, free: 33.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5891/2.344, allocations: 79.41 MB / 0.7299 GB, free: 48.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03368/2.378, allocations: 6.486 MB / 0.7362 GB, free: 47.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/2.384, allocations: 2.064 MB / 0.7382 GB, free: 47.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02844/2.412, allocations: 9.77 MB / 0.7478 GB, free: 45.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02555/2.438, allocations: 4.315 MB / 0.752 GB, free: 45.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 9.077e-06/2.438, allocations: 0 / 0.752 GB, free: 45.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=323): time 0.1431/2.581, allocations: 22.7 MB / 0.7742 GB, free: 40.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/2.581, allocations: 166.8 kB / 0.7743 GB, free: 40.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/2.594, allocations: 5.266 MB / 0.7795 GB, free: 39.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007963/2.595, allocations: 71.52 kB / 0.7795 GB, free: 38.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005976/2.601, allocations: 5.274 MB / 0.7847 GB, free: 34.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/2.603, allocations: 1.231 MB / 0.7859 GB, free: 34.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/2.605, allocations: 197.4 kB / 0.7861 GB, free: 33.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009097/2.606, allocations: 0.7124 MB / 0.7868 GB, free: 33.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007527/2.613, allocations: 2.646 MB / 0.7894 GB, free: 32.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/2.624, allocations: 8.303 MB / 0.7975 GB, free: 24.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/2.635, allocations: 4.66 MB / 0.802 GB, free: 22.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002424/2.635, allocations: 63 kB / 0.8021 GB, free: 22.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02921/2.665, allocations: 10.23 MB / 0.8121 GB, free: 17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/2.665, allocations: 120.8 kB / 0.8122 GB, free: 16.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003441/2.665, allocations: 204 kB / 0.8124 GB, free: 16.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/2.666, allocations: 300 kB / 0.8127 GB, free: 16.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/2.681, allocations: 2.399 MB / 0.815 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004652/2.682, allocations: 405.7 kB / 0.8154 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/2.694, allocations: 0.644 MB / 0.816 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/2.697, allocations: 0.5657 MB / 0.8166 GB, free: 12.84 MB / 474.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.003381/2.7, allocations: 0.8629 MB / 0.8174 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.701, allocations: 0.5399 MB / 0.8179 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/2.711, allocations: 3.21 MB / 0.8211 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/2.711, allocations: 36 kB / 0.8211 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/2.711, allocations: 1 kB / 0.8211 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.508e-05/2.711, allocations: 23.75 kB / 0.8211 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04321/2.754, allocations: 13.54 MB / 0.8344 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.511e-05/2.754, allocations: 32.56 kB / 0.8344 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005246/2.76, allocations: 0.6064 MB / 0.835 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/2.76, allocations: 52 kB / 0.835 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006568/2.76, allocations: 98.41 kB / 0.8351 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.208e-05/2.761, allocations: 72.8 kB / 0.8352 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.247e-05/2.761, allocations: 47.81 kB / 0.8352 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/2.781, allocations: 11.94 MB / 0.8469 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003898/2.784, allocations: 0.8474 MB / 0.8477 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/2.786, allocations: 103.5 kB / 0.8478 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005821/2.792, allocations: 218 kB / 0.848 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.793, allocations: 294.3 kB / 0.8483 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000484/2.794, allocations: 127.6 kB / 0.8484 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01156/2.806, allocations: 3.644 MB / 0.852 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.172e-06/2.806, allocations: 0 / 0.852 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01307/2.819, allocations: 1.565 MB / 0.8535 GB, free: 9.738 MB / 0.4948 GB 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.01939/2.838, allocations: 18.29 MB / 0.8714 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.855, allocations: 5.911 MB / 0.8772 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.007e-05/2.855, allocations: 8 kB / 0.8772 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005821/2.861, allocations: 1.711 MB / 0.8788 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/2.867, allocations: 0.7113 MB / 0.8795 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06753/2.935, allocations: 15.13 MB / 0.8943 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02038/2.955, allocations: 5.251 MB / 0.8994 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02211/2.978, allocations: 2.746 MB / 0.9021 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01228/2.99, allocations: 3.409 MB / 0.9054 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.725e-06/2.99, allocations: 0 / 0.9054 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6262/3.616, allocations: 112.9 MB / 1.016 GB, free: 113 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/3.616, allocations: 153.4 kB / 1.016 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/11.7, allocations: 3.938 kB / 1.016 GB, free: 112.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat