Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.112e-05, allocations: 4 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09369, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5203, allocations: 88.06 MB / 388 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5207, allocations: 89.22 kB / 388.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2962/0.8169, allocations: 67.11 MB / 455.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8169, allocations: 0 / 455.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003396/0.8173, allocations: 68 kB / 455.3 MB, free: 10.95 MB / 346.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.01519/0.8325, allocations: 3.169 MB / 458.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.8326, allocations: 12.03 kB / 458.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003605/0.8362, allocations: 0.6423 MB / 459.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/0.8582, allocations: 1.945 MB / 461.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.8688, allocations: 2.06 MB / 463.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/0.8694, allocations: 259.2 kB / 463.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.8718, allocations: 334.3 kB / 463.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.9027, allocations: 7.984 MB / 471.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.9031, allocations: 47.56 kB / 471.7 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.9045, allocations: 174 kB / 471.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002478/0.907, allocations: 0.7855 MB / 472.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/0.9321, allocations: 5.689 MB / 478.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08178/1.014, allocations: 39.81 MB / 0.506 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/1.019, allocations: 1.573 MB / 0.5076 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.02, allocations: 463 kB / 0.508 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00703/1.027, allocations: 2.748 MB / 0.5107 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/1.027, allocations: 46.5 kB / 0.5107 GB, free: 4.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.518e-06/1.027, allocations: 0 / 0.5107 GB, free: 4.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.005822/1.033, allocations: 1.334 MB / 0.512 GB, free: 3.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.033, allocations: 195.9 kB / 0.5122 GB, free: 3.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3005/1.334, allocations: 3.584 MB / 0.5157 GB, free: 107 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.334, allocations: 35.8 kB / 0.5158 GB, free: 107 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.337, allocations: 2.816 MB / 0.5185 GB, free: 105.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006563/1.337, allocations: 373.4 kB / 0.5189 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/1.338, allocations: 98.5 kB / 0.519 GB, free: 105.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003862/1.338, allocations: 0.5197 MB / 0.5195 GB, free: 105.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/1.342, allocations: 1.209 MB / 0.5207 GB, free: 105.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006186/1.348, allocations: 4.727 MB / 0.5253 GB, free: 100.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006056/1.354, allocations: 2.419 MB / 0.5276 GB, free: 100.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/1.354, allocations: 36.09 kB / 0.5277 GB, free: 100.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01632/1.371, allocations: 5.169 MB / 0.5327 GB, free: 100.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.371, allocations: 57.94 kB / 0.5328 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/1.371, allocations: 131.5 kB / 0.5329 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/1.371, allocations: 188.3 kB / 0.5331 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/1.378, allocations: 1.163 MB / 0.5342 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003048/1.379, allocations: 248.9 kB / 0.5345 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/1.385, allocations: 0.7433 MB / 0.5352 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.386, allocations: 336 kB / 0.5355 GB, free: 99.8 MB / 410.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.0009898/1.387, allocations: 0.5062 MB / 0.536 GB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007202/1.388, allocations: 326.6 kB / 0.5363 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.39, allocations: 0.5123 MB / 0.5368 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/1.39, allocations: 16.98 kB / 0.5368 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.39, allocations: 5.812 kB / 0.5368 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.39, allocations: 6.188 kB / 0.5368 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/1.398, allocations: 3.324 MB / 0.5401 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.398, allocations: 7.422 kB / 0.5401 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/1.399, allocations: 103.7 kB / 0.5402 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/1.399, allocations: 6.688 kB / 0.5402 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.4, allocations: 23.27 kB / 0.5402 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.4, allocations: 7.594 kB / 0.5402 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/1.4, allocations: 7.922 kB / 0.5402 GB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.403, allocations: 2.395 MB / 0.5426 GB, free: 97.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.404, allocations: 472.8 kB / 0.543 GB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/1.404, allocations: 13.66 kB / 0.543 GB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.406, allocations: 37.23 kB / 0.5431 GB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.406, allocations: 42.75 kB / 0.5431 GB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/1.406, allocations: 26.8 kB / 0.5431 GB, free: 97.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006041/1.412, allocations: 2.552 MB / 0.5456 GB, free: 97 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.353e-06/1.412, allocations: 7.938 kB / 0.5456 GB, free: 96.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006182/1.418, allocations: 0.8872 MB / 0.5465 GB, free: 96.85 MB / 410.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.005038/1.424, allocations: 3.778 MB / 0.5502 GB, free: 94.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008884/1.432, allocations: 2.669 MB / 0.5528 GB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.433, allocations: 4.062 kB / 0.5528 GB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01434/1.447, allocations: 393.5 kB / 0.5532 GB, free: 94.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.451, allocations: 392.5 kB / 0.5535 GB, free: 94.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06336/1.515, allocations: 7.283 MB / 0.5607 GB, free: 91.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008445/1.523, allocations: 2.937 MB / 0.5635 GB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004971/1.528, allocations: 1.625 MB / 0.5651 GB, free: 89.3 MB / 410.7 MB Notification: Performance of SimCode: time 3.226e-06/1.528, allocations: 0 / 0.5651 GB, free: 89.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.008/5.536, allocations: 67.43 MB / 0.631 GB, free: 40.09 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat