Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.532e-05, allocations: 4 kB / 292.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 50.41 MB / 342.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.6356, allocations: 94.68 MB / 437.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.636, allocations: 87.08 kB / 437.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2919/0.928, allocations: 67.55 MB / 0.4931 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.9281, allocations: 3.938 kB / 0.4931 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.9283, allocations: 68 kB / 0.4932 GB, free: 15.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.01144/0.9398, allocations: 3.091 MB / 0.4962 GB, free: 12.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.9398, allocations: 12.03 kB / 0.4962 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002013/0.9419, allocations: 0.5851 MB / 0.4968 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.9558, allocations: 1.89 MB / 0.4986 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00715/0.963, allocations: 1.977 MB / 0.5006 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.9634, allocations: 230.1 kB / 0.5008 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.9652, allocations: 307.8 kB / 0.5011 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.9858, allocations: 7.365 MB / 0.5083 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.986, allocations: 43.62 kB / 0.5083 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009087/0.9869, allocations: 159.9 kB / 0.5085 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.9884, allocations: 0.7426 MB / 0.5092 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.004, allocations: 5.456 MB / 0.5145 GB, free: 8.809 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.342/1.347, allocations: 35.31 MB / 0.549 GB, free: 86.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/1.351, allocations: 1.632 MB / 0.5506 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.353, allocations: 477.8 kB / 0.5511 GB, free: 85.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006794/1.359, allocations: 2.914 MB / 0.5539 GB, free: 83.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.36, allocations: 43.56 kB / 0.554 GB, free: 83.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.898e-06/1.36, allocations: 2.531 kB / 0.554 GB, free: 83.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.006588/1.366, allocations: 1.422 MB / 0.5553 GB, free: 83.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/1.366, allocations: 220.7 kB / 0.5556 GB, free: 83.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/1.375, allocations: 3.273 MB / 0.5587 GB, free: 83.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/1.375, allocations: 41.55 kB / 0.5588 GB, free: 83.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.378, allocations: 2.695 MB / 0.5614 GB, free: 81.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006029/1.378, allocations: 374.2 kB / 0.5618 GB, free: 81.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/1.379, allocations: 95.62 kB / 0.5619 GB, free: 81.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003277/1.379, allocations: 0.5096 MB / 0.5624 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/1.382, allocations: 1.186 MB / 0.5635 GB, free: 81.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005044/1.387, allocations: 4.5 MB / 0.5679 GB, free: 76.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/1.392, allocations: 2.32 MB / 0.5702 GB, free: 76.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/1.393, allocations: 35.03 kB / 0.5702 GB, free: 76.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01384/1.406, allocations: 5.102 MB / 0.5752 GB, free: 76.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/1.407, allocations: 54.72 kB / 0.5753 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.407, allocations: 123 kB / 0.5754 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/1.407, allocations: 174.9 kB / 0.5755 GB, free: 76.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006338/1.413, allocations: 1.131 MB / 0.5766 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/1.414, allocations: 238.1 kB / 0.5769 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005641/1.419, allocations: 0.705 MB / 0.5776 GB, free: 75.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009224/1.42, allocations: 349.8 kB / 0.5779 GB, free: 75.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (596): * Single equations (assignments): 593 * 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.0007985/1.421, allocations: 0.492 MB / 0.5784 GB, free: 75.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/1.422, allocations: 296.1 kB / 0.5787 GB, free: 75.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/1.423, allocations: 495.5 kB / 0.5791 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.423, allocations: 15.33 kB / 0.5791 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.423, allocations: 0 / 0.5791 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.423, allocations: 6.719 kB / 0.5791 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/1.431, allocations: 3.291 MB / 0.5824 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.431, allocations: 3.75 kB / 0.5824 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/1.432, allocations: 114.8 kB / 0.5825 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.432, allocations: 6.812 kB / 0.5825 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/1.432, allocations: 21.89 kB / 0.5825 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/1.432, allocations: 6.781 kB / 0.5825 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.433, allocations: 7.844 kB / 0.5825 GB, free: 73.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/1.436, allocations: 2.467 MB / 0.5849 GB, free: 72.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.437, allocations: 473.1 kB / 0.5854 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/1.437, allocations: 19.64 kB / 0.5854 GB, free: 71.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.439, allocations: 40.06 kB / 0.5854 GB, free: 71.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.439, allocations: 55.55 kB / 0.5855 GB, free: 71.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/1.439, allocations: 29.14 kB / 0.5855 GB, free: 71.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00508/1.444, allocations: 2.328 MB / 0.5878 GB, free: 71.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.444, allocations: 0 / 0.5878 GB, free: 71.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005613/1.45, allocations: 0.8298 MB / 0.5886 GB, free: 70.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (60): * Single equations (assignments): 57 * 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.003668/1.454, allocations: 4.048 MB / 0.5926 GB, free: 67.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005827/1.459, allocations: 2.605 MB / 0.5951 GB, free: 66.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.459, allocations: 0 / 0.5951 GB, free: 66.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008132/1.46, allocations: 399.1 kB / 0.5955 GB, free: 66.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.463, allocations: 370.2 kB / 0.5958 GB, free: 66.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.483, allocations: 6.417 MB / 0.6021 GB, free: 64.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.488, allocations: 2.752 MB / 0.6048 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007136/1.495, allocations: 1.58 MB / 0.6063 GB, free: 63.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/1.498, allocations: 1.484 MB / 0.6078 GB, free: 61.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.498, allocations: 0 / 0.6078 GB, free: 61.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/1.659, allocations: 56.44 MB / 0.6629 GB, free: 15.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.66, allocations: 167.7 kB / 0.6631 GB, free: 14.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.663/6.322, allocations: 8.062 kB / 0.6631 GB, free: 14.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat