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.758/1.758, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.779e-05, allocations: 8 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.286, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.429, allocations: 81.54 MB / 339.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4293, allocations: 83.95 kB / 339.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4745/0.9039, allocations: 64.85 MB / 404.8 MB, free: 70.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9039, allocations: 0 / 404.8 MB, free: 70.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001821/0.9041, allocations: 68 kB / 404.9 MB, free: 70.1 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.009602/0.9138, allocations: 3.18 MB / 408 MB, free: 66.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.9138, allocations: 8.031 kB / 408.1 MB, free: 66.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.9277, allocations: 1.949 MB / 410 MB, free: 64.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006856/0.9346, allocations: 2.159 MB / 412.2 MB, free: 62.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.9349, allocations: 112 kB / 412.3 MB, free: 62.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.9365, allocations: 192 kB / 412.5 MB, free: 62.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01075/0.9473, allocations: 4.437 MB / 416.9 MB, free: 57.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.9644, allocations: 7.511 MB / 424.4 MB, free: 49.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.9646, allocations: 47.47 kB / 424.5 MB, free: 49.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.9656, allocations: 32 kB / 424.5 MB, free: 49.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.967, allocations: 0.7918 MB / 425.3 MB, free: 48.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05427/1.021, allocations: 38.14 MB / 463.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.024, allocations: 1.377 MB / 464.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/1.024, allocations: 421 kB / 465.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/1.025, allocations: 343 kB / 465.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.025, allocations: 42.5 kB / 465.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.908e-06/1.025, allocations: 0 / 465.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.004107/1.029, allocations: 1.215 MB / 466.8 MB, free: 5.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/1.029, allocations: 188.1 kB / 467 MB, free: 5.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/1.036, allocations: 3.109 MB / 470.1 MB, free: 2.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.036, allocations: 29.7 kB / 470.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002781/1.039, allocations: 2.913 MB / 473 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007484/1.04, allocations: 387.5 kB / 473.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/1.04, allocations: 0 / 473.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005121/1.041, allocations: 0.5376 MB / 473.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/1.044, allocations: 1.174 MB / 475.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.051, allocations: 4.847 MB / 480 MB, free: 6.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/1.057, allocations: 2.411 MB / 482.4 MB, free: 4.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/1.058, allocations: 36 kB / 482.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.0155/1.073, allocations: 5.008 MB / 487.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.073, allocations: 60 kB / 487.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/1.074, allocations: 144.1 kB / 487.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/1.074, allocations: 192 kB / 487.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007214/1.081, allocations: 1.22 MB / 489 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002739/1.081, allocations: 259 kB / 489.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/1.087, allocations: 0.6449 MB / 489.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.089, allocations: 351.9 kB / 490.3 MB, free: 12.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (661): * Single equations (assignments): 658 * 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.0009402/1.09, allocations: 424.9 kB / 490.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002989/1.093, allocations: 1.047 MB / 491.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000792/1.094, allocations: 296.1 kB / 492 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.095, allocations: 0.4886 MB / 492.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.095, allocations: 12 kB / 492.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.095, allocations: 0.5625 kB / 492.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.095, allocations: 11.94 kB / 492.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/1.104, allocations: 3.044 MB / 495.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.104, allocations: 4 kB / 495.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.105, allocations: 115.9 kB / 495.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-05/1.105, allocations: 8 kB / 495.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/1.105, allocations: 15.88 kB / 495.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/1.105, allocations: 11.98 kB / 495.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.105, allocations: 4 kB / 495.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/1.109, allocations: 2.409 MB / 498.1 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.111, allocations: 0.5124 MB / 498.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005389/1.111, allocations: 8 kB / 498.7 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.113, allocations: 47.97 kB / 498.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.113, allocations: 55.83 kB / 498.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/1.113, allocations: 28 kB / 498.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005771/1.119, allocations: 2.126 MB / 0.4892 GB, free: 1.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.119, allocations: 4 kB / 0.4892 GB, free: 1.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006304/1.125, allocations: 0.8248 MB / 0.49 GB, free: 488 kB / 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 (64): * Single equations (assignments): 61 * 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.2743/1.4, allocations: 3.839 MB / 0.4937 GB, free: 89.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006645/1.407, allocations: 2.713 MB / 0.4964 GB, free: 89.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.407, allocations: 0 / 0.4964 GB, free: 89.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/1.407, allocations: 410.5 kB / 0.4968 GB, free: 89.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.41, allocations: 344.2 kB / 0.4971 GB, free: 89.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.437, allocations: 8.661 MB / 0.5056 GB, free: 88.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/1.443, allocations: 2.933 MB / 0.5084 GB, free: 87.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003652/1.446, allocations: 1.644 MB / 0.51 GB, free: 87.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/1.446, allocations: 0 / 0.51 GB, free: 87.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.212/5.659, allocations: 70.15 MB / 0.5785 GB, free: 33.47 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