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.448/2.448, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.869e-05, allocations: 4 kB / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3986, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.5918, allocations: 100.8 MB / 455.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5922, allocations: 83.95 kB / 455.3 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9993/1.591, allocations: 141.5 MB / 0.5827 GB, free: 43.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.592, allocations: 0 / 0.5827 GB, free: 43.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003711/1.592, allocations: 144 kB / 0.5829 GB, free: 43.72 MB / 426.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.0256/1.618, allocations: 6.634 MB / 0.5894 GB, free: 37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.618, allocations: 12.03 kB / 0.5894 GB, free: 36.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/1.647, allocations: 3.621 MB / 0.5929 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/1.673, allocations: 7.637 MB / 0.6004 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005885/1.673, allocations: 260.3 kB / 0.6006 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004283/1.678, allocations: 471.8 kB / 0.6011 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02855/1.706, allocations: 11.31 MB / 0.6121 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04544/1.752, allocations: 16.52 MB / 0.6282 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005801/1.752, allocations: 99.14 kB / 0.6283 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00396/1.756, allocations: 48 kB / 0.6284 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006162/1.763, allocations: 1.941 MB / 0.6303 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4944/2.257, allocations: 77.1 MB / 0.7056 GB, free: 53.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/2.264, allocations: 3.327 MB / 0.7088 GB, free: 52.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/2.269, allocations: 1.896 MB / 0.7107 GB, free: 52.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/2.271, allocations: 1.769 MB / 0.7124 GB, free: 50.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005449/2.276, allocations: 2.015 MB / 0.7144 GB, free: 50.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.476e-06/2.277, allocations: 0 / 0.7144 GB, free: 50.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.1075/2.384, allocations: 18.1 MB / 0.732 GB, free: 46.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.384, allocations: 161.6 kB / 0.7322 GB, free: 45.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0157/2.4, allocations: 4.439 MB / 0.7365 GB, free: 45.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007821/2.401, allocations: 32.33 kB / 0.7366 GB, free: 45.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006775/2.408, allocations: 5.347 MB / 0.7418 GB, free: 42.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/2.41, allocations: 1.195 MB / 0.743 GB, free: 41.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/2.411, allocations: 0 / 0.743 GB, free: 41.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007409/2.412, allocations: 0.7204 MB / 0.7437 GB, free: 41.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006908/2.419, allocations: 2.496 MB / 0.7461 GB, free: 41.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/2.43, allocations: 8.373 MB / 0.7543 GB, free: 33.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/2.44, allocations: 4.516 MB / 0.7587 GB, free: 32.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00023/2.44, allocations: 60.5 kB / 0.7587 GB, free: 32.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.0274/2.468, allocations: 9.594 MB / 0.7681 GB, free: 29.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/2.468, allocations: 124.2 kB / 0.7682 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004007/2.468, allocations: 208.5 kB / 0.7684 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/2.469, allocations: 310 kB / 0.7687 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01609/2.485, allocations: 2.473 MB / 0.7711 GB, free: 29.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004801/2.485, allocations: 409.2 kB / 0.7715 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.498, allocations: 476.6 kB / 0.772 GB, free: 29.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/2.501, allocations: 0.5815 MB / 0.7725 GB, free: 28.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 (1273): * Single equations (assignments): 1269 * 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.00384/2.504, allocations: 0.6428 MB / 0.7732 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009145/2.514, allocations: 3.116 MB / 0.7762 GB, free: 26.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/2.515, allocations: 0.4898 MB / 0.7767 GB, free: 26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008823/2.524, allocations: 2.857 MB / 0.7795 GB, free: 23.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-05/2.524, allocations: 32 kB / 0.7795 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/2.524, allocations: 7.172 kB / 0.7795 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.126e-05/2.524, allocations: 18.25 kB / 0.7795 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03532/2.56, allocations: 11.82 MB / 0.7911 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-05/2.56, allocations: 35.95 kB / 0.7911 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004927/2.565, allocations: 0.6003 MB / 0.7917 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/2.565, allocations: 48 kB / 0.7918 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006211/2.565, allocations: 54.77 kB / 0.7918 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.148e-05/2.566, allocations: 61.91 kB / 0.7919 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.443e-05/2.566, allocations: 51.75 kB / 0.7919 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/2.578, allocations: 10.02 MB / 0.8017 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/2.582, allocations: 0.7621 MB / 0.8024 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.584, allocations: 55.27 kB / 0.8025 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005737/2.59, allocations: 167.5 kB / 0.8027 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/2.591, allocations: 302 kB / 0.8029 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004528/2.592, allocations: 123.2 kB / 0.8031 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0179/2.609, allocations: 3.407 MB / 0.8064 GB, free: 15.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.61, allocations: 3.844 kB / 0.8064 GB, free: 15.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0137/2.623, allocations: 1.312 MB / 0.8077 GB, free: 14.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * 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 (301): * Single equations (assignments): 296 * 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.02296/2.646, allocations: 17.42 MB / 0.8247 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01655/2.663, allocations: 5.778 MB / 0.8303 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.64e-05/2.663, allocations: 4.688 kB / 0.8303 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005405/2.668, allocations: 1.65 MB / 0.8319 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/2.674, allocations: 0.5288 MB / 0.8325 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05963/2.734, allocations: 14.68 MB / 0.8468 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/2.749, allocations: 5.238 MB / 0.8519 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01543/2.764, allocations: 2.793 MB / 0.8546 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/2.776, allocations: 3.478 MB / 0.858 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.894e-06/2.776, allocations: 0 / 0.858 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6486/3.424, allocations: 102.7 MB / 0.9584 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/3.425, allocations: 130.4 kB / 0.9585 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/10.73, allocations: 0 / 0.9585 GB, free: 117.7 MB / 0.5261 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