Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.271e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4266, allocations: 61.88 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.6293, allocations: 109.8 MB / 0.508 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.6297, allocations: 79.95 kB / 0.5081 GB, free: 12.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8739/1.504, allocations: 141.2 MB / 0.6459 GB, free: 10.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.504, allocations: 0 / 0.6459 GB, free: 10.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004502/1.504, allocations: 144 kB / 0.6461 GB, free: 10.34 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02648/1.531, allocations: 6.441 MB / 0.6524 GB, free: 3.816 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/1.531, allocations: 16.03 kB / 0.6524 GB, free: 3.801 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006447/1.537, allocations: 1.31 MB / 0.6537 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03056/1.568, allocations: 3.551 MB / 0.6571 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02743/1.595, allocations: 7.073 MB / 0.664 GB, free: 7.777 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009793/1.596, allocations: 0.5696 MB / 0.6646 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/1.601, allocations: 0.7575 MB / 0.6653 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07596/1.677, allocations: 20.59 MB / 0.6854 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/1.678, allocations: 95.11 kB / 0.6855 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002861/1.68, allocations: 375.8 kB / 0.6859 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005469/1.686, allocations: 1.823 MB / 0.6877 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06481/1.751, allocations: 16.08 MB / 0.7034 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5089/2.26, allocations: 77.16 MB / 0.7787 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/2.289, allocations: 6.107 MB / 0.7847 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005004/2.294, allocations: 1.948 MB / 0.7866 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02499/2.32, allocations: 9.274 MB / 0.7956 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02403/2.344, allocations: 4.062 MB / 0.7996 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=260): time 6.592e-06/2.344, allocations: 3.938 kB / 0.7996 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294): time 0.1207/2.464, allocations: 19.7 MB / 0.8189 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/2.465, allocations: 165.2 kB / 0.819 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/2.477, allocations: 5.119 MB / 0.824 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005796/2.477, allocations: 65.17 kB / 0.8241 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005412/2.483, allocations: 5.065 MB / 0.829 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/2.485, allocations: 1.132 MB / 0.8301 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/2.486, allocations: 181.6 kB / 0.8303 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006593/2.486, allocations: 0.6953 MB / 0.831 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00645/2.493, allocations: 2.451 MB / 0.8334 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/2.503, allocations: 7.927 MB / 0.8411 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/2.513, allocations: 4.412 MB / 0.8454 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002272/2.513, allocations: 55.38 kB / 0.8455 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02598/2.539, allocations: 9.661 MB / 0.8549 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/2.54, allocations: 118.9 kB / 0.855 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/2.54, allocations: 196 kB / 0.8552 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/2.54, allocations: 292 kB / 0.8555 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/2.554, allocations: 2.251 MB / 0.8577 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004243/2.555, allocations: 394 kB / 0.8581 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.566, allocations: 0.586 MB / 0.8586 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/2.568, allocations: 0.535 MB / 0.8592 GB, free: 14.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1178): * Single equations (assignments): 1174 * 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.002292/2.571, allocations: 0.837 MB / 0.86 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.572, allocations: 0.5206 MB / 0.8605 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007748/2.58, allocations: 2.828 MB / 0.8632 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/2.58, allocations: 28 kB / 0.8633 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/2.58, allocations: 4 kB / 0.8633 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/2.58, allocations: 14.44 kB / 0.8633 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/2.611, allocations: 12.17 MB / 0.8752 GB, free: 116 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/2.611, allocations: 32.97 kB / 0.8752 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/2.615, allocations: 0.5301 MB / 0.8757 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/2.615, allocations: 55.78 kB / 0.8758 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/2.615, allocations: 98.45 kB / 0.8759 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-05/2.615, allocations: 63.31 kB / 0.8759 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-05/2.615, allocations: 47.81 kB / 0.876 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/2.63, allocations: 10.84 MB / 0.8866 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/2.632, allocations: 0.6005 MB / 0.8872 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.634, allocations: 94.97 kB / 0.8872 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005087/2.639, allocations: 206.2 kB / 0.8874 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009029/2.64, allocations: 276.1 kB / 0.8877 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/2.64, allocations: 123.1 kB / 0.8878 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01351/2.654, allocations: 3.705 MB / 0.8914 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.132e-06/2.654, allocations: 3.828 kB / 0.8914 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01179/2.666, allocations: 1.482 MB / 0.8929 GB, free: 13.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (272): * Single equations (assignments): 267 * 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.0172/2.683, allocations: 17.29 MB / 0.9098 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01474/2.698, allocations: 5.476 MB / 0.9151 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.958e-05/2.698, allocations: 4 kB / 0.9151 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005098/2.703, allocations: 1.524 MB / 0.9166 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/2.709, allocations: 0.729 MB / 0.9173 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4555/3.165, allocations: 14.19 MB / 0.9312 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/3.177, allocations: 5.029 MB / 0.9361 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01279/3.19, allocations: 2.621 MB / 0.9387 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00707/3.197, allocations: 3.239 MB / 0.9418 GB, free: 136 MB / 0.5573 GB Notification: Performance of SimCode: time 1.372e-06/3.197, allocations: 0 / 0.9418 GB, free: 136 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/3.43, allocations: 107.9 MB / 1.047 GB, free: 80.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/3.43, allocations: 149.8 kB / 1.047 GB, free: 79.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/11.48, allocations: 1.5 kB / 1.047 GB, free: 79.98 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat