Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.973e-05, allocations: 0 / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.09984, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5399, allocations: 88.06 MB / 388 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5403, allocations: 85.44 kB / 388.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2629/0.8032, allocations: 67.1 MB / 455.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8033, allocations: 0 / 455.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.8036, allocations: 64 kB / 455.3 MB, free: 11.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01232/0.8159, allocations: 3.18 MB / 458.4 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.816, allocations: 8.031 kB / 458.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002965/0.819, allocations: 0.6414 MB / 459.1 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.8339, allocations: 1.945 MB / 461 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007945/0.8419, allocations: 2.062 MB / 463.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.8424, allocations: 257 kB / 463.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.8443, allocations: 342.1 kB / 463.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.8673, allocations: 8.014 MB / 471.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.8676, allocations: 51.5 kB / 471.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.8689, allocations: 173.3 kB / 471.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.8707, allocations: 0.7814 MB / 472.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.8885, allocations: 5.859 MB / 478.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07291/0.9614, allocations: 39.81 MB / 0.5062 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.9697, allocations: 1.59 MB / 0.5078 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.9715, allocations: 457 kB / 0.5082 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009349/0.9809, allocations: 2.742 MB / 0.5109 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.9811, allocations: 50.5 kB / 0.5109 GB, free: 4.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 6.913e-06/0.9811, allocations: 0 / 0.5109 GB, free: 4.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.008389/0.9895, allocations: 1.33 MB / 0.5122 GB, free: 3.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.9897, allocations: 191.9 kB / 0.5124 GB, free: 2.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.287/1.277, allocations: 3.585 MB / 0.5159 GB, free: 107.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.277, allocations: 39.45 kB / 0.5159 GB, free: 107.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003103/1.28, allocations: 2.821 MB / 0.5187 GB, free: 106 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007568/1.281, allocations: 369 kB / 0.519 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006703/1.282, allocations: 96.19 kB / 0.5191 GB, free: 105.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005235/1.282, allocations: 0.5209 MB / 0.5196 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.286, allocations: 1.209 MB / 0.5208 GB, free: 105.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/1.292, allocations: 4.755 MB / 0.5255 GB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/1.299, allocations: 2.423 MB / 0.5278 GB, free: 100.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002328/1.299, allocations: 35.66 kB / 0.5279 GB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01657/1.316, allocations: 5.524 MB / 0.5333 GB, free: 100.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.316, allocations: 65.09 kB / 0.5333 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.316, allocations: 127.2 kB / 0.5335 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/1.316, allocations: 187.6 kB / 0.5336 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006812/1.323, allocations: 1.166 MB / 0.5348 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/1.323, allocations: 250.1 kB / 0.535 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/1.33, allocations: 0.7448 MB / 0.5357 GB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.331, allocations: 335.9 kB / 0.5361 GB, free: 99.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (630): * Single equations (assignments): 627 * 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.00142/1.333, allocations: 0.5064 MB / 0.5365 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007474/1.334, allocations: 330.5 kB / 0.5369 GB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/1.336, allocations: 0.5075 MB / 0.5374 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/1.336, allocations: 12.98 kB / 0.5374 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.336, allocations: 4.531 kB / 0.5374 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.336, allocations: 2.719 kB / 0.5374 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.348, allocations: 3.336 MB / 0.5406 GB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.348, allocations: 7.906 kB / 0.5406 GB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/1.349, allocations: 103.3 kB / 0.5407 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.349, allocations: 6.875 kB / 0.5407 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/1.349, allocations: 17.94 kB / 0.5408 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/1.349, allocations: 7.844 kB / 0.5408 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.349, allocations: 7.094 kB / 0.5408 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/1.353, allocations: 2.398 MB / 0.5431 GB, free: 97.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.354, allocations: 473.8 kB / 0.5436 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007963/1.355, allocations: 15.5 kB / 0.5436 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.357, allocations: 37.11 kB / 0.5436 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.357, allocations: 52.55 kB / 0.5437 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/1.357, allocations: 26.42 kB / 0.5437 GB, free: 97.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006589/1.364, allocations: 2.555 MB / 0.5462 GB, free: 96.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.364, allocations: 0 / 0.5462 GB, free: 96.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005907/1.37, allocations: 0.8765 MB / 0.5471 GB, free: 96.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.003919/1.374, allocations: 3.784 MB / 0.5507 GB, free: 94.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006672/1.38, allocations: 2.842 MB / 0.5535 GB, free: 93.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.381, allocations: 0 / 0.5535 GB, free: 93.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/1.381, allocations: 397.7 kB / 0.5539 GB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.385, allocations: 412 kB / 0.5543 GB, free: 93.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.41, allocations: 7.286 MB / 0.5614 GB, free: 91.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006345/1.416, allocations: 2.931 MB / 0.5643 GB, free: 90.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003617/1.42, allocations: 1.626 MB / 0.5659 GB, free: 89 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/1.42, allocations: 0 / 0.5659 GB, free: 89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.878/5.298, allocations: 68.26 MB / 0.6325 GB, free: 38.61 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat