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.788/1.788, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.531e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2675, allocations: 38.78 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4169, allocations: 82.21 MB / 346.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.4173, allocations: 83.95 kB / 346.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4927/0.9101, allocations: 66.46 MB / 412.6 MB, free: 60.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.9101, allocations: 4 kB / 412.6 MB, free: 60.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002069/0.9103, allocations: 68 kB / 412.7 MB, free: 60.69 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.0101/0.9204, allocations: 3.184 MB / 415.9 MB, free: 57.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.9205, allocations: 12.03 kB / 415.9 MB, free: 57.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002137/0.9227, allocations: 0.6347 MB / 416.5 MB, free: 56.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.9368, allocations: 1.949 MB / 418.5 MB, free: 54.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00719/0.944, allocations: 2.15 MB / 420.6 MB, free: 52.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.9443, allocations: 258.8 kB / 420.9 MB, free: 52.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.9459, allocations: 343.8 kB / 421.2 MB, free: 52.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.9648, allocations: 7.978 MB / 429.2 MB, free: 43.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.9651, allocations: 47.56 kB / 429.3 MB, free: 43.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.9662, allocations: 171.9 kB / 429.4 MB, free: 42.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.9676, allocations: 0.7932 MB / 430.2 MB, free: 42.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.9828, allocations: 5.689 MB / 435.9 MB, free: 36.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04833/1.031, allocations: 39.91 MB / 475.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/1.036, allocations: 1.572 MB / 477.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.037, allocations: 453 kB / 477.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00754/1.044, allocations: 2.842 MB / 480.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.045, allocations: 46.5 kB / 480.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 5.681e-06/1.045, allocations: 0 / 480.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.005882/1.05, allocations: 1.331 MB / 482 MB, free: 4.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.051, allocations: 191.8 kB / 482.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009866/1.061, allocations: 3.598 MB / 485.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.061, allocations: 37.7 kB / 485.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003724/1.065, allocations: 2.92 MB / 488.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/1.065, allocations: 363.9 kB / 489.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/1.066, allocations: 96 kB / 489.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004406/1.066, allocations: 0.5168 MB / 489.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/1.069, allocations: 1.209 MB / 491 MB, free: 11.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006673/1.076, allocations: 4.723 MB / 495.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/1.082, allocations: 2.424 MB / 498.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.082, allocations: 43.95 kB / 498.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.2594/1.342, allocations: 5.297 MB / 0.4916 GB, free: 85.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.342, allocations: 61.16 kB / 0.4917 GB, free: 85.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.342, allocations: 129.6 kB / 0.4918 GB, free: 85.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.342, allocations: 183 kB / 0.492 GB, free: 85.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006783/1.349, allocations: 1.163 MB / 0.4931 GB, free: 85.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00025/1.35, allocations: 247 kB / 0.4934 GB, free: 85.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00615/1.356, allocations: 0.767 MB / 0.4941 GB, free: 85.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.357, allocations: 338.3 kB / 0.4944 GB, free: 85.44 MB / 346.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.001373/1.358, allocations: 0.5047 MB / 0.4949 GB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008882/1.359, allocations: 328.8 kB / 0.4953 GB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/1.361, allocations: 0.5116 MB / 0.4958 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/1.361, allocations: 13.84 kB / 0.4958 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.361, allocations: 2.438 kB / 0.4958 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.361, allocations: 6.609 kB / 0.4958 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.371, allocations: 3.411 MB / 0.4991 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.372, allocations: 3.938 kB / 0.4991 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/1.373, allocations: 104.1 kB / 0.4992 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/1.373, allocations: 7.781 kB / 0.4992 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/1.373, allocations: 16.34 kB / 0.4992 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.373, allocations: 11.22 kB / 0.4992 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.373, allocations: 5.75 kB / 0.4992 GB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/1.376, allocations: 2.4 MB / 0.5016 GB, free: 83.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.378, allocations: 0.539 MB / 0.5021 GB, free: 83.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008048/1.379, allocations: 17.69 kB / 0.5021 GB, free: 83.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.381, allocations: 56.94 kB / 0.5022 GB, free: 83.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.381, allocations: 42.61 kB / 0.5022 GB, free: 83.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/1.381, allocations: 32.84 kB / 0.5023 GB, free: 83.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006424/1.387, allocations: 2.569 MB / 0.5048 GB, free: 82.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.387, allocations: 3.031 kB / 0.5048 GB, free: 82.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006274/1.394, allocations: 0.8954 MB / 0.5056 GB, free: 82.8 MB / 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 (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.004131/1.398, allocations: 3.813 MB / 0.5094 GB, free: 80.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006389/1.404, allocations: 2.668 MB / 0.512 GB, free: 80.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.404, allocations: 2.375 kB / 0.512 GB, free: 80.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008147/1.405, allocations: 392.5 kB / 0.5124 GB, free: 80.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.408, allocations: 405.8 kB / 0.5127 GB, free: 80.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.435, allocations: 8.369 MB / 0.5209 GB, free: 78.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005312/1.44, allocations: 2.928 MB / 0.5238 GB, free: 76.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007338/1.447, allocations: 1.635 MB / 0.5254 GB, free: 76.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/1.451, allocations: 1.616 MB / 0.5269 GB, free: 74.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.824e-06/1.451, allocations: 0 / 0.5269 GB, free: 74.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/1.643, allocations: 63.15 MB / 0.5886 GB, free: 17.57 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.644, allocations: 169.1 kB / 0.5888 GB, free: 17.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.762/6.405, allocations: 4 kB / 0.5888 GB, free: 17.33 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