Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.311e-05/5.312e-05, allocations: 7.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.464, allocations: 58.84 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.6612, allocations: 108.4 MB / 490.7 MB, free: 15.95 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.6615, allocations: 75.97 kB / 490.8 MB, free: 15.88 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9471/1.609, allocations: 146.3 MB / 0.6221 GB, free: 52.08 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.705e-06/1.609, allocations: 0 / 0.6221 GB, free: 52.08 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003969/1.609, allocations: 148 kB / 0.6223 GB, free: 51.94 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02533/1.634, allocations: 6.632 MB / 0.6287 GB, free: 45.23 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.364e-05/1.635, allocations: 8.031 kB / 0.6288 GB, free: 45.22 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006264/1.641, allocations: 1.376 MB / 0.6301 GB, free: 43.83 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/1.67, allocations: 3.629 MB / 0.6336 GB, free: 40.19 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/1.696, allocations: 7.668 MB / 0.6411 GB, free: 32.45 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/1.696, allocations: 0.5938 MB / 0.6417 GB, free: 31.86 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004206/1.701, allocations: 0.7891 MB / 0.6425 GB, free: 31.07 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07111/1.772, allocations: 21.43 MB / 0.6634 GB, free: 8.012 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004744/1.772, allocations: 107 kB / 0.6635 GB, free: 7.906 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003478/1.776, allocations: 379.8 kB / 0.6639 GB, free: 7.535 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005075/1.781, allocations: 1.937 MB / 0.6658 GB, free: 5.594 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06669/1.847, allocations: 16.9 MB / 0.6823 GB, free: 4.676 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5544/2.402, allocations: 79.59 MB / 0.76 GB, free: 52.98 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02937/2.431, allocations: 6.436 MB / 0.7663 GB, free: 52.32 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006888/2.438, allocations: 2.163 MB / 0.7684 GB, free: 52.27 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/2.467, allocations: 9.909 MB / 0.7781 GB, free: 49.87 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/2.467, allocations: 63.16 kB / 0.7781 GB, free: 49.83 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 7.674e-06/2.467, allocations: 2.969 kB / 0.7781 GB, free: 49.83 MB / 0.4949 GB Notification: Performance of matching and sorting (n=330): time 0.1047/2.571, allocations: 20.94 MB / 0.7986 GB, free: 45.11 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/2.572, allocations: 158.7 kB / 0.7987 GB, free: 44.95 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01407/2.586, allocations: 5.284 MB / 0.8039 GB, free: 44.41 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007011/2.586, allocations: 73.77 kB / 0.804 GB, free: 44.38 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004721/2.591, allocations: 5.195 MB / 0.809 GB, free: 41.39 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/2.593, allocations: 1.252 MB / 0.8103 GB, free: 40.64 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/2.594, allocations: 203 kB / 0.8105 GB, free: 40.48 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009013/2.595, allocations: 0.7222 MB / 0.8112 GB, free: 40 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/2.603, allocations: 2.644 MB / 0.8137 GB, free: 39.13 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/2.614, allocations: 8.322 MB / 0.8219 GB, free: 30.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/2.626, allocations: 4.663 MB / 0.8264 GB, free: 29.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/2.626, allocations: 58.84 kB / 0.8265 GB, free: 29.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.02991/2.656, allocations: 10.23 MB / 0.8365 GB, free: 26.34 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/2.656, allocations: 92.81 kB / 0.8366 GB, free: 26.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003857/2.657, allocations: 206.2 kB / 0.8368 GB, free: 26.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/2.657, allocations: 299.6 kB / 0.837 GB, free: 26.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/2.673, allocations: 2.38 MB / 0.8394 GB, free: 24.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/2.673, allocations: 408.8 kB / 0.8398 GB, free: 24.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/2.685, allocations: 0.5925 MB / 0.8403 GB, free: 23.81 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/2.688, allocations: 0.5658 MB / 0.8409 GB, free: 23.25 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 72 (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.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 (1249): * Single equations (assignments): 1246 * 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.003774/2.692, allocations: 0.8641 MB / 0.8417 GB, free: 22.38 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.693, allocations: 0.5437 MB / 0.8423 GB, free: 21.83 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00992/2.703, allocations: 3.252 MB / 0.8454 GB, free: 19.01 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.298e-05/2.703, allocations: 35.05 kB / 0.8455 GB, free: 18.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/2.703, allocations: 4 kB / 0.8455 GB, free: 18.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/2.703, allocations: 15.98 kB / 0.8455 GB, free: 18.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/2.74, allocations: 13.56 MB / 0.8587 GB, free: 7.273 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.804e-05/2.74, allocations: 35.8 kB / 0.8588 GB, free: 7.242 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004585/2.745, allocations: 0.5907 MB / 0.8593 GB, free: 6.73 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-05/2.745, allocations: 56 kB / 0.8594 GB, free: 6.676 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/2.745, allocations: 105.3 kB / 0.8595 GB, free: 6.578 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.295e-05/2.745, allocations: 68.19 kB / 0.8596 GB, free: 6.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-05/2.745, allocations: 51.81 kB / 0.8596 GB, free: 6.469 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/2.76, allocations: 12.12 MB / 0.8714 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003658/2.764, allocations: 0.8452 MB / 0.8723 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.766, allocations: 102.8 kB / 0.8724 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005597/2.772, allocations: 207.6 kB / 0.8726 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009548/2.773, allocations: 284.1 kB / 0.8728 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/2.773, allocations: 135.6 kB / 0.873 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0117/2.785, allocations: 3.644 MB / 0.8765 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.037e-06/2.785, allocations: 4 kB / 0.8765 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01278/2.798, allocations: 1.583 MB / 0.8781 GB, free: 2.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (311): * Single equations (assignments): 308 * 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.0224/2.82, allocations: 18.81 MB / 0.8964 GB, free: 15.85 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01692/2.837, allocations: 5.885 MB / 0.9022 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-05/2.837, allocations: 4 kB / 0.9022 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00412/2.841, allocations: 1.455 MB / 0.9036 GB, free: 9.113 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006752/2.848, allocations: 0.7154 MB / 0.9043 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05709/2.905, allocations: 15.25 MB / 0.9192 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01436/2.92, allocations: 5.281 MB / 0.9244 GB, free: 6.973 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01556/2.935, allocations: 2.775 MB / 0.9271 GB, free: 4.859 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009827/2.945, allocations: 3.475 MB / 0.9305 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of SimCode: time 1.543e-06/2.945, allocations: 0 / 0.9305 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6455/3.591, allocations: 113.5 MB / 1.041 GB, free: 104 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/3.591, allocations: 136.4 kB / 1.041 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/11.81, allocations: 0 / 1.041 GB, free: 103.8 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat