Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.027e-05/4.033e-05, allocations: 4 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5567, allocations: 93.2 MB / 410.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.5571, allocations: 90.62 kB / 410.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2848/0.8419, allocations: 66.57 MB / 476.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.842, allocations: 0 / 476.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002246/0.8422, allocations: 64 kB / 477 MB, free: 15.12 MB / 394.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.01192/0.8541, allocations: 3.091 MB / 480 MB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.8542, allocations: 8.031 kB / 480.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002554/0.8568, allocations: 0.5851 MB / 480.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.8712, allocations: 1.894 MB / 482.5 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00784/0.8791, allocations: 1.973 MB / 484.5 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.8795, allocations: 230.8 kB / 484.7 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.8813, allocations: 311.8 kB / 485 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.9025, allocations: 7.361 MB / 492.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.9028, allocations: 43.62 kB / 492.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.9042, allocations: 155.9 kB / 492.6 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001794/0.906, allocations: 0.7426 MB / 493.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.9226, allocations: 5.451 MB / 498.8 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3667/1.289, allocations: 35.31 MB / 0.5216 GB, free: 86.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/1.296, allocations: 1.634 MB / 0.5232 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/1.298, allocations: 476.2 kB / 0.5236 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008996/1.307, allocations: 2.911 MB / 0.5265 GB, free: 84.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.307, allocations: 50.03 kB / 0.5265 GB, free: 84.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 6.382e-06/1.307, allocations: 0 / 0.5265 GB, free: 84.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.008571/1.316, allocations: 1.419 MB / 0.5279 GB, free: 84.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/1.316, allocations: 222.4 kB / 0.5281 GB, free: 84.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008757/1.324, allocations: 3.274 MB / 0.5313 GB, free: 83.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.325, allocations: 39.75 kB / 0.5314 GB, free: 83.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.328, allocations: 2.697 MB / 0.534 GB, free: 82.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007096/1.328, allocations: 372.9 kB / 0.5343 GB, free: 82.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/1.329, allocations: 95.12 kB / 0.5344 GB, free: 82.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003656/1.329, allocations: 0.5045 MB / 0.5349 GB, free: 82.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/1.333, allocations: 1.182 MB / 0.5361 GB, free: 82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005376/1.338, allocations: 4.507 MB / 0.5405 GB, free: 77.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005079/1.343, allocations: 2.318 MB / 0.5427 GB, free: 77.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/1.343, allocations: 35.09 kB / 0.5428 GB, free: 77.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01391/1.357, allocations: 5.109 MB / 0.5478 GB, free: 77.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/1.357, allocations: 56.88 kB / 0.5478 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.358, allocations: 126 kB / 0.5479 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/1.358, allocations: 171.4 kB / 0.5481 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006327/1.364, allocations: 1.133 MB / 0.5492 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002049/1.364, allocations: 232.8 kB / 0.5494 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/1.37, allocations: 0.7117 MB / 0.5501 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.371, allocations: 347.4 kB / 0.5505 GB, free: 76.73 MB / 426.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.0008495/1.372, allocations: 497.5 kB / 0.5509 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/1.373, allocations: 307.1 kB / 0.5512 GB, free: 76.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/1.374, allocations: 0.4932 MB / 0.5517 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.374, allocations: 12.47 kB / 0.5517 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.374, allocations: 3.938 kB / 0.5517 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.374, allocations: 6.016 kB / 0.5517 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008183/1.382, allocations: 3.275 MB / 0.5549 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.382, allocations: 3.844 kB / 0.5549 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.383, allocations: 116.2 kB / 0.555 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/1.383, allocations: 9.188 kB / 0.5551 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/1.384, allocations: 15.28 kB / 0.5551 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.384, allocations: 11 kB / 0.5551 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.384, allocations: 7.094 kB / 0.5551 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/1.387, allocations: 2.469 MB / 0.5575 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.388, allocations: 472.6 kB / 0.5579 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/1.388, allocations: 18.67 kB / 0.558 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.39, allocations: 41.25 kB / 0.558 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.39, allocations: 50.61 kB / 0.5581 GB, free: 74.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/1.39, allocations: 25.81 kB / 0.5581 GB, free: 74.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004918/1.395, allocations: 2.333 MB / 0.5604 GB, free: 73.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.174e-06/1.395, allocations: 0 / 0.5604 GB, free: 73.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005452/1.401, allocations: 0.8262 MB / 0.5612 GB, free: 73.47 MB / 426.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.404, allocations: 4.054 MB / 0.5651 GB, free: 70.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005907/1.41, allocations: 2.611 MB / 0.5677 GB, free: 69.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.41, allocations: 0 / 0.5677 GB, free: 69.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007867/1.411, allocations: 396.5 kB / 0.5681 GB, free: 69.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.414, allocations: 350.9 kB / 0.5684 GB, free: 69.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.433, allocations: 6.43 MB / 0.5747 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/1.437, allocations: 2.755 MB / 0.5774 GB, free: 65.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00656/1.444, allocations: 1.581 MB / 0.5789 GB, free: 65.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/1.447, allocations: 1.476 MB / 0.5803 GB, free: 64.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/1.447, allocations: 3.938 kB / 0.5803 GB, free: 64.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/1.625, allocations: 56.38 MB / 0.6354 GB, free: 17.95 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/1.625, allocations: 163.8 kB / 0.6356 GB, free: 17.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.606/6.231, allocations: 3.938 kB / 0.6356 GB, free: 17.72 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat