Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3e-05, allocations: 0 / 225.1 MB, free: 2.742 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 38.76 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.3963, allocations: 82.2 MB / 346 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.3967, allocations: 83.95 kB / 346.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4814/0.8782, allocations: 66.47 MB / 412.6 MB, free: 61.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8782, allocations: 8 kB / 412.6 MB, free: 61.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002022/0.8784, allocations: 68 kB / 412.7 MB, free: 60.96 MB / 314.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.009463/0.8879, allocations: 3.18 MB / 415.8 MB, free: 57.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.888, allocations: 12.03 kB / 415.8 MB, free: 57.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002131/0.8901, allocations: 0.6347 MB / 416.5 MB, free: 57.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.9039, allocations: 1.941 MB / 418.4 MB, free: 55.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006893/0.9108, allocations: 2.158 MB / 420.6 MB, free: 52.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.9111, allocations: 258.8 kB / 420.8 MB, free: 52.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.9127, allocations: 343.8 kB / 421.2 MB, free: 52.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.9312, allocations: 8.014 MB / 429.2 MB, free: 43.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.9314, allocations: 51.5 kB / 429.2 MB, free: 43.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.9325, allocations: 171.9 kB / 429.4 MB, free: 43.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001349/0.9339, allocations: 0.7906 MB / 430.2 MB, free: 42.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.9484, allocations: 5.858 MB / 436.1 MB, free: 36.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.9958, allocations: 39.91 MB / 476 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/1, allocations: 1.576 MB / 477.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.002, allocations: 466.5 kB / 478 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006973/1.009, allocations: 2.826 MB / 480.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.009, allocations: 50.59 kB / 480.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 4.348e-06/1.009, allocations: 3.938 kB / 480.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.005793/1.014, allocations: 1.331 MB / 482.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.015, allocations: 195.9 kB / 482.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.025, allocations: 3.606 MB / 486 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/1.025, allocations: 33.7 kB / 486 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003454/1.028, allocations: 2.825 MB / 488.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/1.029, allocations: 363.9 kB / 489.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/1.03, allocations: 99.98 kB / 489.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004604/1.03, allocations: 0.5176 MB / 489.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003315/1.034, allocations: 1.209 MB / 491 MB, free: 11.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006854/1.04, allocations: 4.756 MB / 495.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006024/1.047, allocations: 2.422 MB / 498.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.047, allocations: 43.89 kB / 498.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.2501/1.297, allocations: 5.516 MB / 0.492 GB, free: 84.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/1.297, allocations: 63.88 kB / 0.492 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/1.297, allocations: 136.2 kB / 0.4922 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/1.297, allocations: 184.2 kB / 0.4923 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006424/1.304, allocations: 1.16 MB / 0.4935 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002459/1.304, allocations: 249 kB / 0.4937 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/1.31, allocations: 0.765 MB / 0.4944 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/1.311, allocations: 334.2 kB / 0.4948 GB, free: 84.96 MB / 346.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.0009393/1.312, allocations: 0.5151 MB / 0.4953 GB, free: 84.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007907/1.313, allocations: 321.3 kB / 0.4956 GB, free: 84.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.314, allocations: 0.5065 MB / 0.4961 GB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.314, allocations: 10.34 kB / 0.4961 GB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.314, allocations: 3.844 kB / 0.4961 GB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.314, allocations: 3.516 kB / 0.4961 GB, free: 84.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/1.324, allocations: 3.421 MB / 0.4994 GB, free: 84.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.324, allocations: 3.875 kB / 0.4994 GB, free: 84.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/1.325, allocations: 105.2 kB / 0.4995 GB, free: 84.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.325, allocations: 7.719 kB / 0.4995 GB, free: 84.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/1.325, allocations: 18.95 kB / 0.4996 GB, free: 84.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/1.325, allocations: 7.75 kB / 0.4996 GB, free: 84.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.325, allocations: 3.812 kB / 0.4996 GB, free: 84.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/1.328, allocations: 2.401 MB / 0.5019 GB, free: 82.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.33, allocations: 0.5409 MB / 0.5024 GB, free: 82.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007296/1.331, allocations: 14.27 kB / 0.5025 GB, free: 82.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.333, allocations: 54.42 kB / 0.5025 GB, free: 82.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.333, allocations: 52.61 kB / 0.5026 GB, free: 82.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/1.333, allocations: 27.77 kB / 0.5026 GB, free: 82.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006327/1.339, allocations: 2.572 MB / 0.5051 GB, free: 82.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.339, allocations: 0 / 0.5051 GB, free: 82.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005731/1.345, allocations: 0.8972 MB / 0.506 GB, free: 82.38 MB / 346.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.004022/1.349, allocations: 3.807 MB / 0.5097 GB, free: 79.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006428/1.356, allocations: 2.844 MB / 0.5125 GB, free: 79.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.356, allocations: 0 / 0.5125 GB, free: 79.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008037/1.356, allocations: 405.5 kB / 0.5129 GB, free: 79.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.36, allocations: 395.8 kB / 0.5132 GB, free: 79.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.386, allocations: 8.779 MB / 0.5218 GB, free: 77.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005495/1.392, allocations: 2.93 MB / 0.5247 GB, free: 76.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003521/1.395, allocations: 1.651 MB / 0.5263 GB, free: 74.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/1.395, allocations: 5.312 kB / 0.5263 GB, free: 74.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.096/5.492, allocations: 72.38 MB / 0.597 GB, free: 8.457 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat