Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.738e-05/4.743e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4069, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.6006, allocations: 109 MB / 491.3 MB, free: 15.41 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6009, allocations: 75.97 kB / 491.3 MB, free: 15.34 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9211/1.522, allocations: 146.7 MB / 0.6231 GB, free: 51.15 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.633e-06/1.522, allocations: 0 / 0.6231 GB, free: 51.15 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003667/1.523, allocations: 148 kB / 0.6232 GB, free: 51.01 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02459/1.547, allocations: 6.734 MB / 0.6298 GB, free: 44.19 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.547, allocations: 12.03 kB / 0.6298 GB, free: 44.18 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006114/1.553, allocations: 1.38 MB / 0.6312 GB, free: 42.79 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/1.582, allocations: 3.625 MB / 0.6347 GB, free: 39.14 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/1.608, allocations: 7.696 MB / 0.6422 GB, free: 31.38 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008077/1.609, allocations: 0.6055 MB / 0.6428 GB, free: 30.77 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/1.613, allocations: 0.7848 MB / 0.6436 GB, free: 29.99 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07208/1.685, allocations: 21.45 MB / 0.6645 GB, free: 6.914 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004786/1.686, allocations: 95.16 kB / 0.6646 GB, free: 6.82 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003934/1.69, allocations: 383.8 kB / 0.665 GB, free: 6.445 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005338/1.695, allocations: 1.945 MB / 0.6669 GB, free: 4.496 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0895/1.785, allocations: 16.91 MB / 0.6834 GB, free: 3.574 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5174/2.302, allocations: 79.67 MB / 0.7612 GB, free: 52.41 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/2.331, allocations: 6.457 MB / 0.7675 GB, free: 51.74 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005603/2.337, allocations: 2.171 MB / 0.7696 GB, free: 51.68 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02687/2.364, allocations: 9.946 MB / 0.7793 GB, free: 49.28 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02449/2.389, allocations: 4.27 MB / 0.7835 GB, free: 49.14 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=299): time 6.502e-06/2.389, allocations: 0 / 0.7835 GB, free: 49.14 MB / 0.4949 GB Notification: Performance of matching and sorting (n=333): time 0.09918/2.488, allocations: 21.03 MB / 0.804 GB, free: 44.41 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/2.488, allocations: 164.2 kB / 0.8042 GB, free: 44.25 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/2.501, allocations: 5.295 MB / 0.8094 GB, free: 43.72 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007889/2.502, allocations: 76.98 kB / 0.8094 GB, free: 43.69 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005895/2.508, allocations: 5.305 MB / 0.8146 GB, free: 40.18 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/2.51, allocations: 1.265 MB / 0.8159 GB, free: 39.26 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/2.512, allocations: 197.9 kB / 0.816 GB, free: 39.11 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001091/2.513, allocations: 0.7197 MB / 0.8167 GB, free: 38.62 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007821/2.521, allocations: 2.654 MB / 0.8193 GB, free: 37.75 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/2.532, allocations: 8.343 MB / 0.8275 GB, free: 29.21 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/2.543, allocations: 4.7 MB / 0.8321 GB, free: 27.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002585/2.544, allocations: 55.88 kB / 0.8321 GB, free: 27.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.02828/2.572, allocations: 10.31 MB / 0.8422 GB, free: 23.42 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/2.572, allocations: 120.8 kB / 0.8423 GB, free: 23.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002889/2.572, allocations: 204 kB / 0.8425 GB, free: 23.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/2.573, allocations: 304 kB / 0.8428 GB, free: 22.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/2.588, allocations: 2.397 MB / 0.8451 GB, free: 20.71 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004083/2.588, allocations: 404.2 kB / 0.8455 GB, free: 20.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.6, allocations: 0.6058 MB / 0.8461 GB, free: 19.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/2.603, allocations: 0.5698 MB / 0.8467 GB, free: 19.27 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: 77 ($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.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 (1253): * Single equations (assignments): 1249 * 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.003155/2.606, allocations: 0.8613 MB / 0.8475 GB, free: 18.41 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/2.607, allocations: 0.5475 MB / 0.848 GB, free: 17.86 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/2.616, allocations: 3.278 MB / 0.8512 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/2.616, allocations: 32 kB / 0.8513 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/2.616, allocations: 7.516 kB / 0.8513 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/2.616, allocations: 16.66 kB / 0.8513 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0362/2.652, allocations: 13.48 MB / 0.8645 GB, free: 3.336 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/2.652, allocations: 36 kB / 0.8645 GB, free: 3.301 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004781/2.657, allocations: 0.6141 MB / 0.8651 GB, free: 2.773 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-05/2.657, allocations: 55.94 kB / 0.8652 GB, free: 2.719 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/2.658, allocations: 102.2 kB / 0.8652 GB, free: 2.625 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.095e-05/2.658, allocations: 66.98 kB / 0.8653 GB, free: 2.566 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.302e-05/2.658, allocations: 55.7 kB / 0.8654 GB, free: 2.512 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/2.674, allocations: 11.98 MB / 0.8771 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/2.677, allocations: 0.8493 MB / 0.8779 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/2.679, allocations: 98.52 kB / 0.878 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005532/2.685, allocations: 223 kB / 0.8782 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009776/2.686, allocations: 304.5 kB / 0.8785 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003635/2.686, allocations: 129.8 kB / 0.8786 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01106/2.697, allocations: 3.662 MB / 0.8822 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.453e-06/2.697, allocations: 0 / 0.8822 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02082/2.718, allocations: 2.068 MB / 0.8842 GB, free: 0 / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (314): * Single equations (assignments): 309 * 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.02039/2.739, allocations: 18.51 MB / 0.9023 GB, free: 12.81 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01656/2.755, allocations: 5.957 MB / 0.9081 GB, free: 7.328 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.331e-05/2.755, allocations: 6.062 kB / 0.9081 GB, free: 7.324 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0058/2.761, allocations: 1.746 MB / 0.9098 GB, free: 5.707 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006536/2.768, allocations: 0.7209 MB / 0.9105 GB, free: 5.098 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05789/2.826, allocations: 15.24 MB / 0.9254 GB, free: 7.168 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/2.84, allocations: 5.283 MB / 0.9306 GB, free: 1.879 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.4002/3.24, allocations: 2.768 MB / 0.9333 GB, free: 156.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008082/3.248, allocations: 3.47 MB / 0.9366 GB, free: 156.8 MB / 0.5574 GB Notification: Performance of SimCode: time 1.894e-06/3.248, allocations: 0 / 0.9366 GB, free: 156.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/3.513, allocations: 114.2 MB / 1.048 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/3.514, allocations: 149.5 kB / 1.048 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/11.64, allocations: 0 / 1.048 GB, free: 101.6 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat