Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.899e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5727, allocations: 94.8 MB / 416.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5731, allocations: 71.97 kB / 416.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9075/1.481, allocations: 145 MB / 0.5485 GB, free: 89.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.597e-06/1.481, allocations: 0 / 0.5485 GB, free: 89.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003889/1.481, allocations: 146.6 kB / 0.5487 GB, free: 89.06 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.02694/1.508, allocations: 6.644 MB / 0.5552 GB, free: 86.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.508, allocations: 11.38 kB / 0.5552 GB, free: 86.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006638/1.515, allocations: 1.367 MB / 0.5565 GB, free: 86.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02951/1.544, allocations: 3.618 MB / 0.56 GB, free: 85.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/1.572, allocations: 7.633 MB / 0.5675 GB, free: 83.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009063/1.573, allocations: 0.5954 MB / 0.5681 GB, free: 82.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004788/1.578, allocations: 0.7888 MB / 0.5688 GB, free: 82.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08051/1.658, allocations: 21.55 MB / 0.5899 GB, free: 63.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006145/1.659, allocations: 95.16 kB / 0.59 GB, free: 63.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004379/1.663, allocations: 386 kB / 0.5903 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005623/1.669, allocations: 1.936 MB / 0.5922 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0634/1.732, allocations: 17.19 MB / 0.609 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4787/2.211, allocations: 79.41 MB / 0.6866 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05151/2.263, allocations: 6.511 MB / 0.6929 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007125/2.27, allocations: 2.059 MB / 0.6949 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02686/2.297, allocations: 9.778 MB / 0.7045 GB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02533/2.322, allocations: 4.333 MB / 0.7087 GB, free: 24.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 1.033e-05/2.322, allocations: 2.75 kB / 0.7087 GB, free: 24.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=323): time 0.1228/2.445, allocations: 22.69 MB / 0.7309 GB, free: 19.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/2.445, allocations: 172.8 kB / 0.731 GB, free: 19.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/2.459, allocations: 5.272 MB / 0.7362 GB, free: 18.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000787/2.46, allocations: 72.8 kB / 0.7363 GB, free: 18.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005974/2.466, allocations: 5.275 MB / 0.7414 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001897/2.468, allocations: 1.23 MB / 0.7426 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/2.469, allocations: 195.8 kB / 0.7428 GB, free: 13.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007941/2.47, allocations: 0.7092 MB / 0.7435 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007821/2.478, allocations: 2.642 MB / 0.7461 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/2.49, allocations: 8.361 MB / 0.7542 GB, free: 3.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/2.501, allocations: 4.669 MB / 0.7588 GB, free: 1.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/2.501, allocations: 55 kB / 0.7589 GB, free: 1.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0302/2.531, allocations: 10.8 MB / 0.7694 GB, free: 13.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/2.531, allocations: 117.7 kB / 0.7695 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/2.532, allocations: 200.6 kB / 0.7697 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/2.532, allocations: 300 kB / 0.77 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01651/2.549, allocations: 2.402 MB / 0.7723 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/2.549, allocations: 399.5 kB / 0.7727 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/2.562, allocations: 0.645 MB / 0.7733 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002481/2.564, allocations: 0.5699 MB / 0.7739 GB, free: 9.059 MB / 442.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.004211/2.568, allocations: 0.8583 MB / 0.7747 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/2.57, allocations: 0.5438 MB / 0.7753 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/2.582, allocations: 3.212 MB / 0.7784 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/2.582, allocations: 37.17 kB / 0.7784 GB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/2.582, allocations: 7.844 kB / 0.7784 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/2.582, allocations: 14.02 kB / 0.7785 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04637/2.628, allocations: 13.59 MB / 0.7917 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.988e-05/2.629, allocations: 32 kB / 0.7918 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005231/2.634, allocations: 0.6077 MB / 0.7924 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/2.634, allocations: 51.94 kB / 0.7924 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006412/2.635, allocations: 99.25 kB / 0.7925 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.234e-05/2.635, allocations: 67.36 kB / 0.7926 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/2.635, allocations: 59.02 kB / 0.7926 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/2.653, allocations: 11.8 MB / 0.8041 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003804/2.656, allocations: 0.8417 MB / 0.805 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/2.658, allocations: 95.36 kB / 0.8051 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005712/2.664, allocations: 220.2 kB / 0.8053 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/2.665, allocations: 303.9 kB / 0.8056 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005833/2.666, allocations: 130.6 kB / 0.8057 GB, free: 10.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01203/2.678, allocations: 3.637 MB / 0.8092 GB, free: 6.977 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.363e-06/2.678, allocations: 4 kB / 0.8092 GB, free: 6.973 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01218/2.69, allocations: 1.558 MB / 0.8108 GB, free: 5.422 MB / 474.7 MB 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.02032/2.711, allocations: 18.3 MB / 0.8286 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3383/3.049, allocations: 6.215 MB / 0.8347 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.74e-05/3.049, allocations: 5.5 kB / 0.8347 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006057/3.055, allocations: 1.76 MB / 0.8364 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006679/3.062, allocations: 0.7023 MB / 0.8371 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/3.122, allocations: 15.17 MB / 0.8519 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/3.136, allocations: 5.256 MB / 0.8571 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0143/3.15, allocations: 2.75 MB / 0.8597 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00829/3.159, allocations: 3.405 MB / 0.8631 GB, free: 134.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.444e-06/3.159, allocations: 0 / 0.8631 GB, free: 134.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/3.426, allocations: 113.7 MB / 0.9741 GB, free: 56.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/3.426, allocations: 142.7 kB / 0.9742 GB, free: 56.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/11.4, allocations: 0 / 0.9742 GB, free: 56.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat