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 2.009/2.009, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.666e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 44.5 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.486, allocations: 87.4 MB / 381.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.4864, allocations: 87.95 kB / 381.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5312/1.018, allocations: 65.41 MB / 447.1 MB, free: 90.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.018, allocations: 0 / 447.1 MB, free: 90.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002232/1.018, allocations: 73.33 kB / 447.2 MB, free: 90.17 MB / 362.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.01001/1.028, allocations: 3.17 MB / 450.3 MB, free: 88.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.028, allocations: 19.08 kB / 450.4 MB, free: 88.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/1.042, allocations: 1.944 MB / 452.3 MB, free: 88.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007348/1.049, allocations: 2.053 MB / 454.4 MB, free: 87.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/1.05, allocations: 110 kB / 454.5 MB, free: 87.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/1.051, allocations: 195 kB / 454.7 MB, free: 87.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01131/1.063, allocations: 4.446 MB / 459.1 MB, free: 86.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/1.08, allocations: 7.501 MB / 466.6 MB, free: 79.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/1.081, allocations: 51.47 kB / 466.7 MB, free: 79.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008881/1.081, allocations: 31.94 kB / 466.7 MB, free: 79.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/1.083, allocations: 0.7782 MB / 467.5 MB, free: 78.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/1.126, allocations: 38.06 MB / 0.4937 GB, free: 39.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/1.129, allocations: 1.366 MB / 0.495 GB, free: 38.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/1.13, allocations: 427.5 kB / 0.4954 GB, free: 37.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/1.13, allocations: 347.5 kB / 0.4957 GB, free: 37.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.13, allocations: 54.39 kB / 0.4958 GB, free: 37.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 4.478e-06/1.13, allocations: 0 / 0.4958 GB, free: 37.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=87): time 0.004213/1.134, allocations: 1.21 MB / 0.497 GB, free: 36.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.134, allocations: 195.9 kB / 0.4972 GB, free: 35.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007246/1.142, allocations: 3.085 MB / 0.5002 GB, free: 32.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.142, allocations: 25.7 kB / 0.5002 GB, free: 32.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002235/1.144, allocations: 2.913 MB / 0.503 GB, free: 29.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005571/1.145, allocations: 395.4 kB / 0.5034 GB, free: 29.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/1.145, allocations: 0 / 0.5034 GB, free: 29.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003117/1.145, allocations: 0.526 MB / 0.5039 GB, free: 28.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/1.148, allocations: 1.174 MB / 0.5051 GB, free: 27.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.153, allocations: 4.843 MB / 0.5098 GB, free: 21.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/1.158, allocations: 2.414 MB / 0.5122 GB, free: 18.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.158, allocations: 40 kB / 0.5122 GB, free: 18.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01307/1.171, allocations: 5.009 MB / 0.5171 GB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/1.171, allocations: 64.34 kB / 0.5172 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.171, allocations: 139.9 kB / 0.5173 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/1.171, allocations: 199.9 kB / 0.5175 GB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006798/1.178, allocations: 1.216 MB / 0.5187 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001924/1.179, allocations: 259 kB / 0.5189 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005709/1.184, allocations: 0.6254 MB / 0.5195 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.185, allocations: 348 kB / 0.5199 GB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (661): * Single equations (assignments): 658 * 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.0007344/1.186, allocations: 436.6 kB / 0.5203 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002485/1.189, allocations: 1.035 MB / 0.5213 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/1.189, allocations: 296.1 kB / 0.5216 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/1.191, allocations: 496.3 kB / 0.522 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/1.191, allocations: 12 kB / 0.5221 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.191, allocations: 0 / 0.5221 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.191, allocations: 4 kB / 0.5221 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/1.199, allocations: 2.974 MB / 0.525 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.199, allocations: 4 kB / 0.525 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.2, allocations: 115.8 kB / 0.5251 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/1.2, allocations: 8 kB / 0.5251 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/1.2, allocations: 7.984 kB / 0.5251 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.2, allocations: 8 kB / 0.5251 GB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.2, allocations: 11.89 kB / 0.5251 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/1.203, allocations: 2.409 MB / 0.5275 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.204, allocations: 444.8 kB / 0.5279 GB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.204, allocations: 12.06 kB / 0.5279 GB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.206, allocations: 23.97 kB / 0.5279 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.206, allocations: 55.83 kB / 0.528 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/1.206, allocations: 27.75 kB / 0.528 GB, free: 2.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004163/1.21, allocations: 2.11 MB / 0.5301 GB, free: 24 kB / 362.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.21, allocations: 4 kB / 0.5301 GB, free: 20 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.00615/1.217, allocations: 0.8092 MB / 0.5309 GB, free: 15.2 MB / 378.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 (64): * Single equations (assignments): 61 * 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.004926/1.221, allocations: 3.807 MB / 0.5346 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006757/1.228, allocations: 2.709 MB / 0.5372 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.228, allocations: 5 kB / 0.5372 GB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009429/1.229, allocations: 412.8 kB / 0.5376 GB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.232, allocations: 346.1 kB / 0.538 GB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.256, allocations: 7.166 MB / 0.545 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006532/1.263, allocations: 2.928 MB / 0.5478 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004135/1.267, allocations: 1.628 MB / 0.5494 GB, free: 12 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/1.267, allocations: 0 / 0.5494 GB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.078/5.344, allocations: 66.06 MB / 0.6139 GB, free: 80.47 MB / 394.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