Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.915e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.56, allocations: 92.53 MB / 414.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5604, allocations: 83.06 kB / 414.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9475/1.508, allocations: 162.5 MB / 0.5634 GB, free: 84.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.508, allocations: 0 / 0.5634 GB, free: 84.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006456/1.509, allocations: 160.8 kB / 0.5635 GB, free: 84.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03357/1.542, allocations: 8.009 MB / 0.5714 GB, free: 80.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.542, allocations: 9.312 kB / 0.5714 GB, free: 80.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006901/1.549, allocations: 1.403 MB / 0.5727 GB, free: 79.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08611/1.635, allocations: 12.03 MB / 0.5845 GB, free: 71.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03684/1.672, allocations: 10.8 MB / 0.595 GB, free: 60.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007663/1.673, allocations: 0.6086 MB / 0.5956 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00446/1.678, allocations: 0.8104 MB / 0.5964 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06051/1.738, allocations: 19.1 MB / 0.6151 GB, free: 39.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006529/1.739, allocations: 103 kB / 0.6152 GB, free: 38.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003765/1.743, allocations: 389.6 kB / 0.6155 GB, free: 38.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/1.747, allocations: 1.733 MB / 0.6172 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0493/1.796, allocations: 15.46 MB / 0.6323 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4563/2.252, allocations: 79.6 MB / 0.7101 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03484/2.287, allocations: 8.179 MB / 0.7181 GB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008771/2.296, allocations: 4.086 MB / 0.722 GB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/2.297, allocations: 0.6662 MB / 0.7227 GB, free: 21.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.777e-05/2.297, allocations: 71.05 kB / 0.7228 GB, free: 21.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 7.664e-06/2.297, allocations: 0 / 0.7228 GB, free: 21.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=331): time 0.1179/2.415, allocations: 25.91 MB / 0.7481 GB, free: 14.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/2.415, allocations: 299.5 kB / 0.7484 GB, free: 13.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/2.433, allocations: 6.651 MB / 0.7549 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009251/2.434, allocations: 78.8 kB / 0.7549 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004948/2.439, allocations: 5.294 MB / 0.7601 GB, free: 7.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002141/2.441, allocations: 1.254 MB / 0.7613 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/2.443, allocations: 185.2 kB / 0.7615 GB, free: 6.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006927/2.444, allocations: 0.7028 MB / 0.7622 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008754/2.452, allocations: 3.37 MB / 0.7655 GB, free: 4.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.466, allocations: 8.864 MB / 0.7741 GB, free: 12.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/2.479, allocations: 5.407 MB / 0.7794 GB, free: 10.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002328/2.479, allocations: 54.34 kB / 0.7795 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03645/2.516, allocations: 12.53 MB / 0.7917 GB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/2.516, allocations: 88 kB / 0.7918 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003809/2.516, allocations: 192.8 kB / 0.792 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004454/2.521, allocations: 1.013 MB / 0.793 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.535, allocations: 2.156 MB / 0.7951 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/2.556, allocations: 10.99 MB / 0.8058 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.568, allocations: 0.5033 MB / 0.8063 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/2.57, allocations: 0.5548 MB / 0.8068 GB, free: 4.852 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1149): * Single equations (assignments): 1142 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003742/2.574, allocations: 0.8232 MB / 0.8076 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/2.576, allocations: 0.6673 MB / 0.8083 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/2.596, allocations: 5.921 MB / 0.8141 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.421e-05/2.597, allocations: 32 kB / 0.8141 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/2.597, allocations: 8 kB / 0.8141 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.712e-05/2.597, allocations: 17.5 kB / 0.8141 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05118/2.648, allocations: 14.64 MB / 0.8284 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/2.648, allocations: 0 / 0.8284 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005783/2.654, allocations: 0.52 MB / 0.8289 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/2.658, allocations: 0.6713 MB / 0.8296 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009041/2.658, allocations: 58.86 kB / 0.8296 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3491/3.008, allocations: 9.866 MB / 0.8393 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.008, allocations: 5.812 kB / 0.8393 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/3.035, allocations: 9.909 MB / 0.849 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00524/3.04, allocations: 1.177 MB / 0.8501 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/3.043, allocations: 53.62 kB / 0.8502 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006754/3.05, allocations: 193.8 kB / 0.8503 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/3.051, allocations: 196.8 kB / 0.8505 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006309/3.052, allocations: 86.61 kB / 0.8506 GB, free: 106.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01481/3.067, allocations: 4.749 MB / 0.8553 GB, free: 106.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.293e-06/3.067, allocations: 0 / 0.8553 GB, free: 106.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01307/3.08, allocations: 1.805 MB / 0.857 GB, free: 106.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02534/3.105, allocations: 10.89 MB / 0.8677 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0201/3.126, allocations: 8.639 MB / 0.8761 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/3.126, allocations: 3.906 kB / 0.8761 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007185/3.133, allocations: 3.141 MB / 0.8792 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008242/3.141, allocations: 0.9149 MB / 0.8801 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05999/3.201, allocations: 18.05 MB / 0.8977 GB, free: 93.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01496/3.216, allocations: 5.892 MB / 0.9034 GB, free: 92.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01022/3.226, allocations: 3.981 MB / 0.9073 GB, free: 88.85 MB / 474.7 MB Notification: Performance of SimCode: time 2.665e-06/3.226, allocations: 0 / 0.9073 GB, free: 88.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.768/9.995, allocations: 284.9 MB / 1.185 GB, free: 123 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat