Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.756e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5659, allocations: 93.96 MB / 410.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5662, allocations: 75.25 kB / 410.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8803/1.447, allocations: 141 MB / 0.5384 GB, free: 81.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.447, allocations: 0 / 0.5384 GB, free: 81.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003813/1.447, allocations: 151.4 kB / 0.5385 GB, free: 81.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02478/1.472, allocations: 6.548 MB / 0.5449 GB, free: 78.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.472, allocations: 7.344 kB / 0.5449 GB, free: 78.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/1.501, allocations: 3.616 MB / 0.5485 GB, free: 77.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02502/1.526, allocations: 7.613 MB / 0.5559 GB, free: 73.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/1.527, allocations: 264.3 kB / 0.5562 GB, free: 73.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004026/1.531, allocations: 474.3 kB / 0.5566 GB, free: 73.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02773/1.559, allocations: 11.29 MB / 0.5676 GB, free: 61.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0412/1.6, allocations: 16.52 MB / 0.5838 GB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/1.6, allocations: 99.14 kB / 0.5839 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/1.603, allocations: 48 kB / 0.5839 GB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005026/1.608, allocations: 1.941 MB / 0.5858 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4684/2.077, allocations: 77.01 MB / 0.661 GB, free: 43.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007717/2.084, allocations: 3.307 MB / 0.6642 GB, free: 43.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/2.09, allocations: 1.874 MB / 0.6661 GB, free: 43.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/2.092, allocations: 1.778 MB / 0.6678 GB, free: 41.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.59e-05/2.093, allocations: 60.77 kB / 0.6679 GB, free: 41.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 8.536e-06/2.093, allocations: 2.594 kB / 0.6679 GB, free: 41.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=317): time 0.08287/2.175, allocations: 18.06 MB / 0.6855 GB, free: 37.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.176, allocations: 158.9 kB / 0.6857 GB, free: 37.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/2.187, allocations: 4.419 MB / 0.69 GB, free: 36.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007017/2.187, allocations: 29.55 kB / 0.69 GB, free: 36.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004476/2.192, allocations: 5.168 MB / 0.695 GB, free: 33.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001871/2.194, allocations: 1.171 MB / 0.6962 GB, free: 32.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/2.195, allocations: 3.156 kB / 0.6962 GB, free: 32.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001062/2.196, allocations: 0.729 MB / 0.6969 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006997/2.203, allocations: 2.487 MB / 0.6993 GB, free: 32.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.215, allocations: 8.344 MB / 0.7075 GB, free: 23.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/2.225, allocations: 4.504 MB / 0.7119 GB, free: 22.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002637/2.226, allocations: 59.44 kB / 0.7119 GB, free: 22.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.02719/2.253, allocations: 9.451 MB / 0.7212 GB, free: 19.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/2.253, allocations: 98.28 kB / 0.7213 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003452/2.253, allocations: 209 kB / 0.7215 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/2.254, allocations: 314.1 kB / 0.7218 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/2.269, allocations: 2.446 MB / 0.7241 GB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/2.27, allocations: 421.1 kB / 0.7245 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.282, allocations: 447.6 kB / 0.725 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002407/2.284, allocations: 0.5831 MB / 0.7255 GB, free: 19.31 MB / 426.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: 69 (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 (1269): * Single equations (assignments): 1266 * 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.003413/2.288, allocations: 0.634 MB / 0.7262 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008082/2.296, allocations: 3.083 MB / 0.7292 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/2.297, allocations: 0.4897 MB / 0.7297 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007914/2.305, allocations: 2.837 MB / 0.7324 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.087e-05/2.305, allocations: 32 kB / 0.7325 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/2.305, allocations: 0.5 kB / 0.7325 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/2.305, allocations: 16.47 kB / 0.7325 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/2.339, allocations: 11.53 MB / 0.7437 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-05/2.339, allocations: 28 kB / 0.7438 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00461/2.344, allocations: 0.5901 MB / 0.7443 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/2.344, allocations: 48 kB / 0.7444 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004877/2.344, allocations: 51.56 kB / 0.7444 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/2.344, allocations: 65.53 kB / 0.7445 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-05/2.344, allocations: 51.77 kB / 0.7445 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/2.358, allocations: 10.13 MB / 0.7544 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/2.362, allocations: 0.7609 MB / 0.7552 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/2.363, allocations: 56.61 kB / 0.7552 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004987/2.369, allocations: 149.2 kB / 0.7554 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009572/2.37, allocations: 276.5 kB / 0.7556 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/2.37, allocations: 123 kB / 0.7558 GB, free: 8.711 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00844/2.378, allocations: 2.886 MB / 0.7586 GB, free: 6.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.242e-06/2.378, allocations: 0 / 0.7586 GB, free: 6.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01269/2.391, allocations: 1.304 MB / 0.7598 GB, free: 4.922 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * 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 (298): * Single equations (assignments): 295 * 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.01923/2.41, allocations: 17.4 MB / 0.7768 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01591/2.426, allocations: 5.729 MB / 0.7824 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-05/2.426, allocations: 4 kB / 0.7824 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003805/2.43, allocations: 1.376 MB / 0.7838 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/2.436, allocations: 0.5235 MB / 0.7843 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05837/2.494, allocations: 15.52 MB / 0.7995 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/2.508, allocations: 5.24 MB / 0.8046 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009287/2.517, allocations: 3.53 MB / 0.808 GB, free: 7.383 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/2.517, allocations: 0 / 0.808 GB, free: 7.383 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.945/7.462, allocations: 124 MB / 0.9291 GB, free: 106.5 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat