Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.654/1.654, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.114e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 38.77 MB / 263.9 MB, free: 9.773 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4163, allocations: 82.21 MB / 346.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4167, allocations: 83.95 kB / 346.2 MB, free: 7.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5153/0.932, allocations: 66.46 MB / 412.6 MB, free: 60.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.932, allocations: 4 kB / 412.6 MB, free: 60.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.9322, allocations: 68 kB / 412.7 MB, free: 60.74 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.008829/0.941, allocations: 3.184 MB / 415.9 MB, free: 57.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.9411, allocations: 8.031 kB / 415.9 MB, free: 57.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.9428, allocations: 0.6347 MB / 416.5 MB, free: 56.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.9564, allocations: 1.952 MB / 418.5 MB, free: 54.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/0.9629, allocations: 2.146 MB / 420.6 MB, free: 52.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.9632, allocations: 266.8 kB / 420.9 MB, free: 52.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.9643, allocations: 335.8 kB / 421.2 MB, free: 52.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.9803, allocations: 7.978 MB / 429.2 MB, free: 43.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.9804, allocations: 47.56 kB / 429.2 MB, free: 43.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006818/0.9811, allocations: 175.9 kB / 429.4 MB, free: 42.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.9824, allocations: 0.7893 MB / 430.2 MB, free: 42.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.9962, allocations: 5.689 MB / 435.9 MB, free: 36.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0445/1.041, allocations: 39.91 MB / 475.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/1.045, allocations: 1.578 MB / 477.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.046, allocations: 457 kB / 477.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006574/1.053, allocations: 2.838 MB / 480.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/1.053, allocations: 46.48 kB / 480.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/1.053, allocations: 0 / 480.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.005477/1.059, allocations: 1.327 MB / 482 MB, free: 4.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.059, allocations: 191.9 kB / 482.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00887/1.068, allocations: 3.61 MB / 485.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.068, allocations: 33.7 kB / 485.8 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003182/1.071, allocations: 2.817 MB / 488.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/1.072, allocations: 371.9 kB / 489 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/1.072, allocations: 96 kB / 489.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004403/1.073, allocations: 0.5176 MB / 489.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.076, allocations: 1.209 MB / 490.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/1.082, allocations: 4.727 MB / 495.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005931/1.088, allocations: 2.428 MB / 498 MB, free: 2.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.088, allocations: 39.95 kB / 498 MB, free: 2.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.2563/1.345, allocations: 5.163 MB / 0.4914 GB, free: 84.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/1.345, allocations: 62.59 kB / 0.4915 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.345, allocations: 128.4 kB / 0.4916 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/1.345, allocations: 185.6 kB / 0.4918 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006425/1.352, allocations: 1.168 MB / 0.4929 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00024/1.352, allocations: 246.9 kB / 0.4931 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005934/1.358, allocations: 0.7635 MB / 0.4939 GB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.359, allocations: 337.5 kB / 0.4942 GB, free: 84.77 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.001403/1.361, allocations: 0.5025 MB / 0.4947 GB, free: 84.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008782/1.361, allocations: 327.5 kB / 0.495 GB, free: 84.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.363, allocations: 0.5124 MB / 0.4955 GB, free: 84.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/1.363, allocations: 11.66 kB / 0.4955 GB, free: 84.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.363, allocations: 6.578 kB / 0.4955 GB, free: 84.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.363, allocations: 4.891 kB / 0.4955 GB, free: 84.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/1.373, allocations: 3.401 MB / 0.4989 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/1.373, allocations: 10.67 kB / 0.4989 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/1.374, allocations: 107.8 kB / 0.499 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/1.374, allocations: 7.75 kB / 0.499 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/1.374, allocations: 19.31 kB / 0.499 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.374, allocations: 7.312 kB / 0.499 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.374, allocations: 3.906 kB / 0.499 GB, free: 84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/1.377, allocations: 2.404 MB / 0.5014 GB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.379, allocations: 0.5456 MB / 0.5019 GB, free: 82.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/1.38, allocations: 12.89 kB / 0.5019 GB, free: 82.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.382, allocations: 52.47 kB / 0.502 GB, free: 82.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.382, allocations: 53.59 kB / 0.502 GB, free: 82.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/1.382, allocations: 22.06 kB / 0.502 GB, free: 82.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006531/1.389, allocations: 2.573 MB / 0.5045 GB, free: 82.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.389, allocations: 0 / 0.5045 GB, free: 82.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006394/1.395, allocations: 0.8997 MB / 0.5054 GB, free: 82.17 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.004033/1.399, allocations: 3.798 MB / 0.5091 GB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006113/1.405, allocations: 2.679 MB / 0.5117 GB, free: 79.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.405, allocations: 3.812 kB / 0.5117 GB, free: 79.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007936/1.406, allocations: 390.6 kB / 0.5121 GB, free: 79.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.409, allocations: 400.5 kB / 0.5125 GB, free: 79.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.436, allocations: 8.781 MB / 0.5211 GB, free: 77.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005996/1.442, allocations: 2.929 MB / 0.5239 GB, free: 76.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003589/1.446, allocations: 1.652 MB / 0.5255 GB, free: 74.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/1.446, allocations: 1.25 kB / 0.5255 GB, free: 74.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.596/6.042, allocations: 71.6 MB / 0.5955 GB, free: 9.754 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat