Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.215/2.215, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.335e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5224, allocations: 82.48 MB / 398.8 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5227, allocations: 75.27 kB / 398.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.7301, allocations: 45.86 MB / 444.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.135e-06/0.7302, allocations: 0 / 444.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001222/0.7303, allocations: 40 kB / 444.8 MB, free: 15.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.008821/0.7392, allocations: 2.311 MB / 447.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.7392, allocations: 12.03 kB / 447.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/0.7532, allocations: 1.771 MB / 448.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/0.7579, allocations: 1.348 MB / 450.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.7581, allocations: 79.98 kB / 450.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007185/0.7588, allocations: 136 kB / 450.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009384/0.7682, allocations: 3.714 MB / 454.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.782, allocations: 6.064 MB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.7822, allocations: 43.59 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.7827, allocations: 24 kB / 460.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.7842, allocations: 0.6994 MB / 461 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04424/0.8284, allocations: 30.21 MB / 491.2 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.8325, allocations: 2.005 MB / 493.2 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.8344, allocations: 0.9444 MB / 494.1 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.8346, allocations: 43.97 kB / 494.2 MB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.8347, allocations: 46.48 kB / 494.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.578e-06/0.8347, allocations: 4 kB / 494.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=117): time 0.03034/0.8651, allocations: 8.388 MB / 0.4908 GB, free: 3.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.8652, allocations: 137.1 kB / 0.4909 GB, free: 3.516 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/0.8696, allocations: 1.991 MB / 0.4929 GB, free: 1.492 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.8699, allocations: 29.7 kB / 0.4929 GB, free: 1.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2768/1.147, allocations: 2.109 MB / 0.495 GB, free: 124.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/1.148, allocations: 465.9 kB / 0.4954 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/1.148, allocations: 0 / 0.4954 GB, free: 124.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004405/1.149, allocations: 0.5004 MB / 0.4959 GB, free: 124 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003883/1.153, allocations: 1.305 MB / 0.4972 GB, free: 124 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006188/1.159, allocations: 4.174 MB / 0.5013 GB, free: 120.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/1.166, allocations: 2.351 MB / 0.5036 GB, free: 120.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/1.166, allocations: 29.88 kB / 0.5036 GB, free: 120.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01696/1.183, allocations: 5.049 MB / 0.5085 GB, free: 119.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.183, allocations: 49.92 kB / 0.5086 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.184, allocations: 103.8 kB / 0.5087 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.186, allocations: 466.6 kB / 0.5091 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006884/1.193, allocations: 1.067 MB / 0.5102 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/1.198, allocations: 3.153 MB / 0.5132 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/1.203, allocations: 149.7 kB / 0.5134 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.204, allocations: 292.3 kB / 0.5137 GB, free: 118.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (560): * Single equations (assignments): 556 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001073/1.205, allocations: 353.6 kB / 0.514 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005252/1.211, allocations: 1.856 MB / 0.5158 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/1.211, allocations: 203.7 kB / 0.516 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.215, allocations: 1.413 MB / 0.5174 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.359e-05/1.215, allocations: 11.28 kB / 0.5174 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.215, allocations: 3.344 kB / 0.5174 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/1.216, allocations: 10.83 kB / 0.5174 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.227, allocations: 3.997 MB / 0.5213 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.227, allocations: 3.375 kB / 0.5213 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.228, allocations: 170.5 kB / 0.5215 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/1.23, allocations: 308.1 kB / 0.5218 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.23, allocations: 3.094 kB / 0.5218 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/1.234, allocations: 2.621 MB / 0.5243 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.234, allocations: 0 / 0.5243 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00628/1.24, allocations: 3.249 MB / 0.5275 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.241, allocations: 403.9 kB / 0.5279 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.242, allocations: 10.91 kB / 0.5279 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.243, allocations: 34.2 kB / 0.5279 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.243, allocations: 56.48 kB / 0.528 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.243, allocations: 39.44 kB / 0.528 GB, free: 113.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002551/1.246, allocations: 1.299 MB / 0.5293 GB, free: 112.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.246, allocations: 3.5 kB / 0.5293 GB, free: 112.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005023/1.251, allocations: 0.5152 MB / 0.5298 GB, free: 112.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006789/1.258, allocations: 4.043 MB / 0.5337 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00685/1.265, allocations: 3.149 MB / 0.5368 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.265, allocations: 3.312 kB / 0.5368 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/1.267, allocations: 0.9064 MB / 0.5377 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.268, allocations: 146.4 kB / 0.5378 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.286, allocations: 5.541 MB / 0.5433 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/1.29, allocations: 2.241 MB / 0.5454 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00369/1.294, allocations: 1.075 MB / 0.5465 GB, free: 105.2 MB / 426.7 MB Notification: Performance of SimCode: time 3.857e-06/1.294, allocations: 3.938 kB / 0.5465 GB, free: 105.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.835/5.129, allocations: 58.38 MB / 0.6035 GB, free: 54.74 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat