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 1.836/1.836, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.241e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5182, allocations: 88.06 MB / 388 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5185, allocations: 86.31 kB / 388.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2607/0.7792, allocations: 67.11 MB / 455.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.7793, allocations: 0 / 455.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002255/0.7795, allocations: 64 kB / 455.3 MB, free: 10.64 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.01084/0.7904, allocations: 3.177 MB / 458.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.7904, allocations: 8.031 kB / 458.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002267/0.7927, allocations: 0.6381 MB / 459.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.8073, allocations: 1.949 MB / 461.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007389/0.8148, allocations: 2.054 MB / 463.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.8151, allocations: 265.5 kB / 463.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.8167, allocations: 334.7 kB / 463.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/0.8375, allocations: 8.019 MB / 471.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.8377, allocations: 47.56 kB / 471.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.8388, allocations: 171.1 kB / 471.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/0.8404, allocations: 0.7894 MB / 472.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.8572, allocations: 5.85 MB / 478.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05984/0.9171, allocations: 39.81 MB / 0.5062 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/0.9236, allocations: 1.596 MB / 0.5078 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.9251, allocations: 462.9 kB / 0.5082 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008763/0.9339, allocations: 2.744 MB / 0.5109 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.934, allocations: 46.5 kB / 0.511 GB, free: 4.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 5.66e-06/0.934, allocations: 0 / 0.511 GB, free: 4.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.0076/0.9416, allocations: 1.33 MB / 0.5123 GB, free: 2.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.9418, allocations: 195.9 kB / 0.5124 GB, free: 2.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2649/1.207, allocations: 3.586 MB / 0.5159 GB, free: 107.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/1.207, allocations: 35.52 kB / 0.516 GB, free: 107.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.21, allocations: 2.912 MB / 0.5188 GB, free: 106.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/1.21, allocations: 370.2 kB / 0.5192 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/1.211, allocations: 99.41 kB / 0.5193 GB, free: 106.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003281/1.211, allocations: 0.5159 MB / 0.5198 GB, free: 105.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/1.214, allocations: 1.206 MB / 0.5209 GB, free: 105.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005339/1.219, allocations: 4.754 MB / 0.5256 GB, free: 101.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/1.225, allocations: 2.428 MB / 0.528 GB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002059/1.225, allocations: 36.19 kB / 0.528 GB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01621/1.241, allocations: 5.652 MB / 0.5335 GB, free: 100.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.242, allocations: 58.16 kB / 0.5336 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000235/1.242, allocations: 133.5 kB / 0.5337 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/1.242, allocations: 187.8 kB / 0.5339 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007111/1.249, allocations: 1.165 MB / 0.535 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003041/1.25, allocations: 245.9 kB / 0.5353 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006417/1.256, allocations: 0.746 MB / 0.536 GB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.257, allocations: 338 kB / 0.5363 GB, free: 99.86 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.001163/1.259, allocations: 0.5072 MB / 0.5368 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007862/1.259, allocations: 323.1 kB / 0.5371 GB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/1.261, allocations: 0.5085 MB / 0.5376 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/1.261, allocations: 14.48 kB / 0.5376 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.261, allocations: 4.141 kB / 0.5376 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.261, allocations: 2.625 kB / 0.5376 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009386/1.271, allocations: 3.339 MB / 0.5409 GB, free: 98.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.271, allocations: 8.406 kB / 0.5409 GB, free: 98.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.272, allocations: 99.98 kB / 0.541 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/1.272, allocations: 6 kB / 0.541 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/1.272, allocations: 21.95 kB / 0.541 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/1.272, allocations: 11.38 kB / 0.541 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.272, allocations: 3.906 kB / 0.541 GB, free: 98.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.275, allocations: 2.395 MB / 0.5434 GB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.276, allocations: 474.5 kB / 0.5438 GB, free: 97.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005686/1.277, allocations: 19.28 kB / 0.5438 GB, free: 97.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.279, allocations: 31.98 kB / 0.5439 GB, free: 97.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.279, allocations: 45.92 kB / 0.5439 GB, free: 97.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/1.279, allocations: 29.08 kB / 0.5439 GB, free: 97.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005807/1.285, allocations: 2.556 MB / 0.5464 GB, free: 97.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.285, allocations: 0 / 0.5464 GB, free: 97.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005664/1.291, allocations: 0.8791 MB / 0.5473 GB, free: 96.91 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.003838/1.294, allocations: 3.783 MB / 0.551 GB, free: 94.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006548/1.301, allocations: 2.853 MB / 0.5538 GB, free: 94.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.301, allocations: 0 / 0.5538 GB, free: 94.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/1.302, allocations: 391.7 kB / 0.5541 GB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/1.305, allocations: 412.3 kB / 0.5545 GB, free: 94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.326, allocations: 6.873 MB / 0.5613 GB, free: 91.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/1.332, allocations: 2.927 MB / 0.5641 GB, free: 90.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007083/1.339, allocations: 1.599 MB / 0.5657 GB, free: 90.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003311/1.342, allocations: 1.593 MB / 0.5672 GB, free: 88.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.342, allocations: 0 / 0.5672 GB, free: 88.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1662/1.509, allocations: 61.01 MB / 0.6268 GB, free: 44.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.509, allocations: 161.1 kB / 0.627 GB, free: 43.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.787/6.296, allocations: 0 / 0.627 GB, free: 43.91 MB / 410.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