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.77/1.77, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.441e-05, allocations: 4 kB / 225.1 MB, free: 2.195 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2948, allocations: 38.76 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.4455, allocations: 82.22 MB / 346.1 MB, free: 7.461 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/0.446, allocations: 83.95 kB / 346.2 MB, free: 7.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4884/0.9344, allocations: 66.46 MB / 412.6 MB, free: 60.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.9345, allocations: 0 / 412.6 MB, free: 60.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002555/0.9348, allocations: 75.92 kB / 412.7 MB, free: 60.88 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.01044/0.9452, allocations: 3.176 MB / 415.9 MB, free: 57.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9453, allocations: 8.031 kB / 415.9 MB, free: 57.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002478/0.9478, allocations: 0.6347 MB / 416.5 MB, free: 56.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.962, allocations: 1.956 MB / 418.5 MB, free: 55.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007721/0.9698, allocations: 2.146 MB / 420.6 MB, free: 52.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.9701, allocations: 262.8 kB / 420.9 MB, free: 52.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.972, allocations: 339.8 kB / 421.2 MB, free: 52.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.9927, allocations: 8.018 MB / 429.2 MB, free: 43.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000252/0.993, allocations: 55.48 kB / 429.3 MB, free: 43.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/0.9947, allocations: 171.9 kB / 429.4 MB, free: 43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.9963, allocations: 0.7894 MB / 430.2 MB, free: 42.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.012, allocations: 5.858 MB / 436.1 MB, free: 36.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05078/1.063, allocations: 39.91 MB / 476 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/1.068, allocations: 1.581 MB / 477.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.069, allocations: 457.5 kB / 478 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007567/1.077, allocations: 2.841 MB / 480.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.077, allocations: 46.5 kB / 480.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 4.448e-06/1.077, allocations: 0 / 480.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.007465/1.084, allocations: 1.335 MB / 482.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/1.085, allocations: 187.9 kB / 482.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/1.101, allocations: 3.602 MB / 486 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.101, allocations: 37.7 kB / 486.1 MB, free: 496 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005232/1.106, allocations: 2.908 MB / 489 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/1.107, allocations: 371.9 kB / 489.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/1.108, allocations: 96 kB / 489.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006774/1.109, allocations: 0.5168 MB / 489.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/1.114, allocations: 1.213 MB / 491.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.126, allocations: 4.756 MB / 495.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/1.134, allocations: 2.425 MB / 498.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.134, allocations: 39.95 kB / 498.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.2901/1.424, allocations: 5.654 MB / 0.4922 GB, free: 85.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.424, allocations: 62.47 kB / 0.4923 GB, free: 85.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002594/1.424, allocations: 126 kB / 0.4924 GB, free: 85.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/1.425, allocations: 184.8 kB / 0.4926 GB, free: 85.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009069/1.434, allocations: 1.167 MB / 0.4937 GB, free: 85.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003299/1.434, allocations: 248.6 kB / 0.4939 GB, free: 85.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008909/1.443, allocations: 0.7617 MB / 0.4947 GB, free: 85.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.445, allocations: 334.1 kB / 0.495 GB, free: 85.69 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.001565/1.446, allocations: 0.5018 MB / 0.4955 GB, free: 85.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/1.447, allocations: 336.4 kB / 0.4958 GB, free: 85.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/1.449, allocations: 0.5138 MB / 0.4963 GB, free: 85.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/1.449, allocations: 11.91 kB / 0.4963 GB, free: 85.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.449, allocations: 3.344 kB / 0.4963 GB, free: 85.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.449, allocations: 7.906 kB / 0.4963 GB, free: 85.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.46, allocations: 3.408 MB / 0.4997 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.46, allocations: 3.812 kB / 0.4997 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.461, allocations: 109.2 kB / 0.4998 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/1.461, allocations: 7.656 kB / 0.4998 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/1.461, allocations: 20.8 kB / 0.4998 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/1.461, allocations: 12.39 kB / 0.4998 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.461, allocations: 3.875 kB / 0.4998 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/1.465, allocations: 2.401 MB / 0.5022 GB, free: 83.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/1.466, allocations: 0.5401 MB / 0.5027 GB, free: 83.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000913/1.467, allocations: 12.88 kB / 0.5027 GB, free: 83.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.47, allocations: 60.73 kB / 0.5028 GB, free: 83.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.47, allocations: 48.61 kB / 0.5028 GB, free: 83.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/1.47, allocations: 27.69 kB / 0.5028 GB, free: 83.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.007065/1.477, allocations: 2.567 MB / 0.5053 GB, free: 83.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.123e-06/1.477, allocations: 3.406 kB / 0.5053 GB, free: 83.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006233/1.483, allocations: 0.8998 MB / 0.5062 GB, free: 83.04 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.004498/1.488, allocations: 3.808 MB / 0.5099 GB, free: 80.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006597/1.495, allocations: 2.832 MB / 0.5127 GB, free: 80.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.495, allocations: 2.094 kB / 0.5127 GB, free: 80.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008316/1.495, allocations: 396.6 kB / 0.5131 GB, free: 80.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/1.499, allocations: 399.5 kB / 0.5135 GB, free: 80.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.528, allocations: 8.383 MB / 0.5217 GB, free: 78.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00632/1.534, allocations: 2.93 MB / 0.5245 GB, free: 76.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007576/1.542, allocations: 1.636 MB / 0.5261 GB, free: 76.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/1.545, allocations: 1.62 MB / 0.5277 GB, free: 74.53 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/1.545, allocations: 1.641 kB / 0.5277 GB, free: 74.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/1.693, allocations: 63.62 MB / 0.5898 GB, free: 16.58 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.694, allocations: 156.8 kB / 0.59 GB, free: 16.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.975/6.669, allocations: 8 kB / 0.59 GB, free: 16.35 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