Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.605/1.605, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.686e-05, allocations: 8 kB / 219.6 MB, free: 6.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 38.76 MB / 258.4 MB, free: 12.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.437, allocations: 81.53 MB / 339.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.4374, allocations: 91.92 kB / 340 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5208/0.9583, allocations: 64.84 MB / 404.8 MB, free: 70.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9583, allocations: 0 / 404.8 MB, free: 70.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001847/0.9585, allocations: 75.84 kB / 404.9 MB, free: 70.12 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.009294/0.9678, allocations: 3.172 MB / 408.1 MB, free: 66.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.9679, allocations: 16.02 kB / 408.1 MB, free: 66.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.9815, allocations: 1.949 MB / 410 MB, free: 64.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006561/0.9881, allocations: 2.159 MB / 412.2 MB, free: 62.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.9883, allocations: 112 kB / 412.3 MB, free: 62.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.9897, allocations: 192 kB / 412.5 MB, free: 62.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01032/1, allocations: 4.44 MB / 416.9 MB, free: 57.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/1.019, allocations: 7.505 MB / 424.4 MB, free: 49.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/1.019, allocations: 51.47 kB / 424.5 MB, free: 49.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006596/1.02, allocations: 28 kB / 424.5 MB, free: 49.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/1.021, allocations: 0.791 MB / 425.3 MB, free: 48.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/1.061, allocations: 38.14 MB / 463.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.064, allocations: 1.369 MB / 464.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/1.064, allocations: 429 kB / 465.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/1.065, allocations: 335 kB / 465.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/1.065, allocations: 50.48 kB / 465.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/1.065, allocations: 0 / 465.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.00385/1.069, allocations: 1.212 MB / 466.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.069, allocations: 187.9 kB / 467 MB, free: 5.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/1.075, allocations: 3.109 MB / 470.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.075, allocations: 29.73 kB / 470.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002584/1.078, allocations: 2.963 MB / 473.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007154/1.078, allocations: 391.5 kB / 473.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/1.079, allocations: 0 / 473.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004739/1.079, allocations: 0.5249 MB / 474 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.083, allocations: 1.178 MB / 475.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/1.089, allocations: 4.847 MB / 480 MB, free: 6.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/1.095, allocations: 2.407 MB / 482.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.096, allocations: 40 kB / 482.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01531/1.111, allocations: 5.107 MB / 487.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.111, allocations: 64 kB / 487.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.111, allocations: 136.9 kB / 487.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/1.112, allocations: 192 kB / 488 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007295/1.119, allocations: 1.224 MB / 489.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002786/1.119, allocations: 263 kB / 489.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/1.125, allocations: 0.641 MB / 490.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.126, allocations: 351.9 kB / 490.4 MB, free: 12.07 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.0008748/1.127, allocations: 430.1 kB / 490.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002777/1.13, allocations: 1.04 MB / 491.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/1.131, allocations: 296.1 kB / 492.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.132, allocations: 0.4925 MB / 492.7 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/1.132, allocations: 12 kB / 492.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.132, allocations: 0 / 492.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.132, allocations: 11.94 kB / 492.7 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008542/1.141, allocations: 3.039 MB / 495.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.141, allocations: 4.281 kB / 495.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.142, allocations: 119.8 kB / 495.9 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/1.142, allocations: 11.98 kB / 495.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/1.142, allocations: 8 kB / 495.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.142, allocations: 8 kB / 495.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.142, allocations: 4 kB / 495.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/1.146, allocations: 2.416 MB / 498.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.148, allocations: 0.5163 MB / 498.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005188/1.148, allocations: 7.938 kB / 498.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.15, allocations: 52.02 kB / 498.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.15, allocations: 43.91 kB / 498.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/1.15, allocations: 31.98 kB / 499 MB, free: 3.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005186/1.155, allocations: 2.122 MB / 0.4893 GB, free: 1.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.155, allocations: 0 / 0.4893 GB, free: 1.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006292/1.162, allocations: 0.8287 MB / 0.4901 GB, free: 364 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.2328/1.394, allocations: 3.842 MB / 0.4939 GB, free: 89.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006226/1.401, allocations: 2.712 MB / 0.4965 GB, free: 89.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.401, allocations: 0 / 0.4965 GB, free: 89.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008238/1.402, allocations: 412.8 kB / 0.4969 GB, free: 89.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.404, allocations: 342.7 kB / 0.4973 GB, free: 89.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/1.426, allocations: 8.256 MB / 0.5053 GB, free: 88.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004394/1.431, allocations: 2.932 MB / 0.5082 GB, free: 87.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007308/1.438, allocations: 1.712 MB / 0.5099 GB, free: 87.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003616/1.442, allocations: 1.609 MB / 0.5114 GB, free: 87.55 MB / 346.7 MB Notification: Performance of SimCode: time 2.164e-06/1.442, allocations: 0 / 0.5114 GB, free: 87.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/1.591, allocations: 58.39 MB / 0.5685 GB, free: 43.81 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/1.591, allocations: 150.8 kB / 0.5686 GB, free: 43.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.527/6.118, allocations: 0 / 0.5686 GB, free: 43.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat