Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.689e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6175, allocations: 94.81 MB / 416.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.6179, allocations: 74.75 kB / 416.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9088/1.527, allocations: 145 MB / 0.5485 GB, free: 89.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.527, allocations: 0 / 0.5485 GB, free: 89.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003948/1.527, allocations: 146.7 kB / 0.5487 GB, free: 89.73 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.02691/1.554, allocations: 6.634 MB / 0.5552 GB, free: 86.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.554, allocations: 6.875 kB / 0.5552 GB, free: 86.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006505/1.561, allocations: 1.371 MB / 0.5565 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02962/1.59, allocations: 3.619 MB / 0.56 GB, free: 86.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.618, allocations: 7.638 MB / 0.5675 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009231/1.618, allocations: 0.5879 MB / 0.5681 GB, free: 83.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004808/1.623, allocations: 0.7886 MB / 0.5688 GB, free: 83.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07617/1.7, allocations: 21.46 MB / 0.5898 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005441/1.7, allocations: 94.7 kB / 0.5899 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004422/1.705, allocations: 389.6 kB / 0.5903 GB, free: 63.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005493/1.71, allocations: 1.932 MB / 0.5921 GB, free: 62.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0633/1.773, allocations: 16.9 MB / 0.6086 GB, free: 45.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4737/2.247, allocations: 79.41 MB / 0.6862 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0423/2.29, allocations: 6.482 MB / 0.6925 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/2.295, allocations: 2.063 MB / 0.6945 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02832/2.324, allocations: 9.771 MB / 0.7041 GB, free: 25.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02594/2.35, allocations: 4.315 MB / 0.7083 GB, free: 25.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 9.988e-06/2.35, allocations: 1.969 kB / 0.7083 GB, free: 25.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=323): time 0.1255/2.475, allocations: 22.7 MB / 0.7305 GB, free: 21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/2.475, allocations: 166 kB / 0.7306 GB, free: 20.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/2.488, allocations: 5.269 MB / 0.7358 GB, free: 18.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007171/2.489, allocations: 78.67 kB / 0.7358 GB, free: 18.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005779/2.494, allocations: 5.118 MB / 0.7408 GB, free: 14.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/2.496, allocations: 1.231 MB / 0.742 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/2.497, allocations: 202.1 kB / 0.7422 GB, free: 13.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007067/2.498, allocations: 0.7172 MB / 0.7429 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00693/2.505, allocations: 2.644 MB / 0.7455 GB, free: 12.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/2.516, allocations: 8.305 MB / 0.7536 GB, free: 3.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/2.527, allocations: 4.669 MB / 0.7582 GB, free: 2.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002195/2.527, allocations: 60.22 kB / 0.7582 GB, free: 2.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02863/2.556, allocations: 10.04 MB / 0.768 GB, free: 14.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002337/2.556, allocations: 121.7 kB / 0.7682 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000405/2.557, allocations: 200 kB / 0.7684 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/2.557, allocations: 300 kB / 0.7686 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0171/2.574, allocations: 2.405 MB / 0.771 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/2.575, allocations: 399.2 kB / 0.7714 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/2.587, allocations: 0.643 MB / 0.772 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/2.59, allocations: 0.5642 MB / 0.7725 GB, free: 10.53 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.003734/2.594, allocations: 0.8608 MB / 0.7734 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.595, allocations: 0.536 MB / 0.7739 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/2.606, allocations: 3.216 MB / 0.7771 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.605e-05/2.606, allocations: 32.55 kB / 0.7771 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/2.606, allocations: 4 kB / 0.7771 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/2.606, allocations: 16.69 kB / 0.7771 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/2.648, allocations: 13.38 MB / 0.7902 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.996e-05/2.648, allocations: 32 kB / 0.7902 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005114/2.653, allocations: 0.6131 MB / 0.7908 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/2.653, allocations: 55.28 kB / 0.7908 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006302/2.654, allocations: 94.72 kB / 0.7909 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.032e-05/2.654, allocations: 70.83 kB / 0.791 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-05/2.654, allocations: 51.06 kB / 0.7911 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/2.671, allocations: 11.82 MB / 0.8026 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/2.675, allocations: 0.8381 MB / 0.8034 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001837/2.677, allocations: 100.3 kB / 0.8035 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005764/2.683, allocations: 225.4 kB / 0.8037 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.684, allocations: 298.5 kB / 0.804 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/2.684, allocations: 133.7 kB / 0.8041 GB, free: 11.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01083/2.695, allocations: 3.645 MB / 0.8077 GB, free: 8.285 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.695, allocations: 0 / 0.8077 GB, free: 8.285 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01258/2.708, allocations: 1.557 MB / 0.8092 GB, free: 6.734 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.01963/2.727, allocations: 18.3 MB / 0.8271 GB, free: 3.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3246/3.052, allocations: 5.952 MB / 0.8329 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.358e-05/3.052, allocations: 4.812 kB / 0.8329 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004968/3.057, allocations: 1.585 MB / 0.8345 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006326/3.063, allocations: 0.7027 MB / 0.8351 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05943/3.123, allocations: 15.91 MB / 0.8507 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01385/3.137, allocations: 5.256 MB / 0.8558 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008436/3.145, allocations: 3.478 MB / 0.8592 GB, free: 134 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/3.145, allocations: 0 / 0.8592 GB, free: 134 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.121/8.266, allocations: 128.2 MB / 0.9844 GB, free: 47.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat