Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 270 MB / 282.7 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.123e-05/5.134e-05, allocations: 7.984 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.6226, allocations: 109.2 MB / 0.506 GB, free: 13.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6229, allocations: 75.97 kB / 0.5061 GB, free: 13.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.887/1.51, allocations: 140.7 MB / 0.6435 GB, free: 11.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.51, allocations: 0 / 0.6435 GB, free: 11.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004072/1.51, allocations: 144 kB / 0.6437 GB, free: 11.65 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02595/1.536, allocations: 6.32 MB / 0.6498 GB, free: 5.246 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.536, allocations: 12.03 kB / 0.6499 GB, free: 5.234 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006354/1.543, allocations: 1.302 MB / 0.6511 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02965/1.573, allocations: 3.543 MB / 0.6546 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02728/1.6, allocations: 7.073 MB / 0.6615 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009347/1.601, allocations: 0.5657 MB / 0.662 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004357/1.605, allocations: 0.7574 MB / 0.6628 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07873/1.684, allocations: 20.57 MB / 0.6829 GB, free: 1.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/1.685, allocations: 99.14 kB / 0.683 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00337/1.688, allocations: 367.8 kB / 0.6833 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005674/1.694, allocations: 1.815 MB / 0.6851 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06707/1.761, allocations: 16.07 MB / 0.7008 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5138/2.275, allocations: 77.08 MB / 0.7761 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02949/2.304, allocations: 6.086 MB / 0.782 GB, free: 45.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005276/2.309, allocations: 1.938 MB / 0.7839 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/2.336, allocations: 9.252 MB / 0.7929 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/2.337, allocations: 60.66 kB / 0.793 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 6.602e-06/2.337, allocations: 0 / 0.793 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.09681/2.433, allocations: 19.63 MB / 0.8122 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/2.434, allocations: 157.5 kB / 0.8123 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/2.447, allocations: 5.098 MB / 0.8173 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005882/2.448, allocations: 71.98 kB / 0.8174 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004097/2.452, allocations: 4.819 MB / 0.8221 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001625/2.453, allocations: 1.11 MB / 0.8231 GB, free: 34.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/2.455, allocations: 186.9 kB / 0.8233 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008534/2.456, allocations: 0.7009 MB / 0.824 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00691/2.462, allocations: 2.431 MB / 0.8264 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/2.473, allocations: 7.913 MB / 0.8341 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.484, allocations: 4.373 MB / 0.8384 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/2.484, allocations: 56.47 kB / 0.8384 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.0269/2.511, allocations: 9.422 MB / 0.8476 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/2.511, allocations: 89.03 kB / 0.8477 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/2.512, allocations: 196 kB / 0.8479 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/2.512, allocations: 294.8 kB / 0.8482 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/2.526, allocations: 2.235 MB / 0.8504 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004742/2.527, allocations: 388.4 kB / 0.8507 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.538, allocations: 0.5642 MB / 0.8513 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/2.54, allocations: 0.5453 MB / 0.8518 GB, free: 19.29 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: 78 (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 (1174): * Single equations (assignments): 1171 * Array equations: 3 * Algorithm blocks: 0 * 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.003406/2.544, allocations: 0.8271 MB / 0.8526 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/2.545, allocations: 0.5207 MB / 0.8531 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008061/2.553, allocations: 2.795 MB / 0.8559 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/2.553, allocations: 28 kB / 0.8559 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/2.553, allocations: 4 kB / 0.8559 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/2.553, allocations: 10.64 kB / 0.8559 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03458/2.588, allocations: 12.27 MB / 0.8679 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.255e-05/2.588, allocations: 35.7 kB / 0.8679 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/2.592, allocations: 0.5173 MB / 0.8684 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/2.592, allocations: 48 kB / 0.8685 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/2.593, allocations: 95.8 kB / 0.8686 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-05/2.593, allocations: 70.84 kB / 0.8686 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/2.593, allocations: 51.75 kB / 0.8687 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/2.607, allocations: 10.99 MB / 0.8794 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/2.609, allocations: 0.5862 MB / 0.88 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/2.611, allocations: 91.27 kB / 0.8801 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004847/2.615, allocations: 190.7 kB / 0.8803 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007831/2.616, allocations: 272.2 kB / 0.8805 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/2.617, allocations: 115.1 kB / 0.8806 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01087/2.627, allocations: 3.524 MB / 0.8841 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/2.628, allocations: 4 kB / 0.8841 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01197/2.639, allocations: 1.474 MB / 0.8855 GB, free: 1.977 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.01965/2.659, allocations: 17.48 MB / 0.9026 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0155/2.675, allocations: 5.392 MB / 0.9078 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-05/2.675, allocations: 4 kB / 0.9078 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003528/2.678, allocations: 1.252 MB / 0.9091 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006418/2.685, allocations: 0.7111 MB / 0.9098 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4349/3.12, allocations: 14.94 MB / 0.9244 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01307/3.133, allocations: 5.026 MB / 0.9293 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008224/3.141, allocations: 3.315 MB / 0.9325 GB, free: 137 MB / 0.5573 GB Notification: Performance of SimCode: time 2.064e-06/3.141, allocations: 0 / 0.9325 GB, free: 137 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.82/7.961, allocations: 121.2 MB / 1.051 GB, free: 74.48 MB / 0.5573 GB