Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.497e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09634, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5519, allocations: 88.07 MB / 388.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5523, allocations: 88.89 kB / 388.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2646/0.8168, allocations: 67.11 MB / 455.2 MB, free: 368 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.8169, allocations: 0 / 455.2 MB, free: 368 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002389/0.8171, allocations: 75.98 kB / 455.3 MB, free: 292 kB / 330.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.01129/0.8285, allocations: 3.17 MB / 458.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.8285, allocations: 16.03 kB / 458.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002883/0.8314, allocations: 0.6341 MB / 459.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.8463, allocations: 1.945 MB / 461.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007324/0.8537, allocations: 2.056 MB / 463.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/0.8541, allocations: 262.8 kB / 463.4 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/0.856, allocations: 335.9 kB / 463.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.8778, allocations: 7.974 MB / 471.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.878, allocations: 51.5 kB / 471.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.8791, allocations: 171.9 kB / 471.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.8808, allocations: 0.7855 MB / 472.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.8979, allocations: 5.692 MB / 478.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/1.221, allocations: 39.8 MB / 0.5061 GB, free: 86.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/1.225, allocations: 1.572 MB / 0.5076 GB, free: 85.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/1.227, allocations: 462.2 kB / 0.508 GB, free: 85.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006486/1.233, allocations: 2.753 MB / 0.5107 GB, free: 84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.233, allocations: 51.86 kB / 0.5108 GB, free: 83.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 5.21e-06/1.233, allocations: 1.062 kB / 0.5108 GB, free: 83.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.005808/1.239, allocations: 1.323 MB / 0.5121 GB, free: 83.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.239, allocations: 192.7 kB / 0.5122 GB, free: 83.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.249, allocations: 3.585 MB / 0.5158 GB, free: 83.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.25, allocations: 35.33 kB / 0.5158 GB, free: 83.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/1.253, allocations: 2.916 MB / 0.5186 GB, free: 81.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006318/1.253, allocations: 365.1 kB / 0.519 GB, free: 81.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/1.254, allocations: 97.69 kB / 0.5191 GB, free: 81.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003747/1.254, allocations: 0.5226 MB / 0.5196 GB, free: 81.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.257, allocations: 1.207 MB / 0.5208 GB, free: 81.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.263, allocations: 4.723 MB / 0.5254 GB, free: 76.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/1.268, allocations: 2.429 MB / 0.5277 GB, free: 76.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/1.269, allocations: 37.97 kB / 0.5278 GB, free: 76.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.0148/1.284, allocations: 5.297 MB / 0.533 GB, free: 76.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.284, allocations: 64 kB / 0.533 GB, free: 76.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.284, allocations: 127.6 kB / 0.5331 GB, free: 76.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/1.284, allocations: 183.8 kB / 0.5333 GB, free: 76.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006144/1.29, allocations: 1.166 MB / 0.5345 GB, free: 76.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002174/1.29, allocations: 247.8 kB / 0.5347 GB, free: 76.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.296, allocations: 0.7487 MB / 0.5354 GB, free: 75.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.298, allocations: 330.8 kB / 0.5357 GB, free: 75.82 MB / 394.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.001112/1.299, allocations: 0.5082 MB / 0.5362 GB, free: 75.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007659/1.3, allocations: 321.2 kB / 0.5365 GB, free: 75.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.301, allocations: 0.5162 MB / 0.537 GB, free: 75.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/1.301, allocations: 11.38 kB / 0.5371 GB, free: 75.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.301, allocations: 3.5 kB / 0.5371 GB, free: 75.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.301, allocations: 8.578 kB / 0.5371 GB, free: 75.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/1.31, allocations: 3.328 MB / 0.5403 GB, free: 74.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.31, allocations: 2.906 kB / 0.5403 GB, free: 74.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/1.311, allocations: 107.9 kB / 0.5404 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.311, allocations: 14.5 kB / 0.5404 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/1.311, allocations: 11 kB / 0.5404 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/1.311, allocations: 14.77 kB / 0.5405 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.311, allocations: 3.5 kB / 0.5405 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.315, allocations: 2.396 MB / 0.5428 GB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.316, allocations: 471.6 kB / 0.5433 GB, free: 73.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000656/1.317, allocations: 14.28 kB / 0.5433 GB, free: 73.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.319, allocations: 42.98 kB / 0.5433 GB, free: 73.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/1.319, allocations: 47.08 kB / 0.5434 GB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/1.319, allocations: 31.03 kB / 0.5434 GB, free: 73.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006453/1.326, allocations: 2.553 MB / 0.5459 GB, free: 73.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.326, allocations: 0 / 0.5459 GB, free: 73.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006094/1.332, allocations: 0.874 MB / 0.5467 GB, free: 72.89 MB / 394.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.003821/1.336, allocations: 3.787 MB / 0.5504 GB, free: 70.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006448/1.342, allocations: 2.676 MB / 0.553 GB, free: 69.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.342, allocations: 3.938 kB / 0.553 GB, free: 69.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/1.343, allocations: 382 kB / 0.5534 GB, free: 69.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.346, allocations: 410.6 kB / 0.5538 GB, free: 69.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.368, allocations: 6.868 MB / 0.5605 GB, free: 66.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.373, allocations: 2.928 MB / 0.5634 GB, free: 65.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007018/1.38, allocations: 1.593 MB / 0.5649 GB, free: 65.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/1.383, allocations: 1.591 MB / 0.5665 GB, free: 63.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.893e-06/1.383, allocations: 0 / 0.5665 GB, free: 63.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/1.523, allocations: 60.58 MB / 0.6256 GB, free: 16.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.524, allocations: 155.8 kB / 0.6258 GB, free: 16.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.731/6.255, allocations: 4 kB / 0.6258 GB, free: 16.35 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat