Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.845e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5668, allocations: 94.66 MB / 416.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.5671, allocations: 75.95 kB / 416.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/1.576, allocations: 178.5 MB / 0.5811 GB, free: 75.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.576, allocations: 0 / 0.5811 GB, free: 75.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005986/1.577, allocations: 182.7 kB / 0.5813 GB, free: 75.04 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03742/1.614, allocations: 8.801 MB / 0.5899 GB, free: 66.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.614, allocations: 8.031 kB / 0.5899 GB, free: 66.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00763/1.622, allocations: 1.607 MB / 0.5915 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07193/1.694, allocations: 9.871 MB / 0.6011 GB, free: 55.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03442/1.728, allocations: 9.843 MB / 0.6107 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008933/1.729, allocations: 0.6942 MB / 0.6114 GB, free: 44.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005298/1.734, allocations: 0.9175 MB / 0.6123 GB, free: 43.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07048/1.805, allocations: 22.13 MB / 0.6339 GB, free: 19.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000663/1.806, allocations: 107 kB / 0.634 GB, free: 19.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004774/1.81, allocations: 439.8 kB / 0.6344 GB, free: 19.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/1.815, allocations: 2.073 MB / 0.6365 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3908/2.206, allocations: 18.39 MB / 0.6544 GB, free: 61.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/2.368, allocations: 91.43 MB / 0.7437 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03763/2.406, allocations: 9.326 MB / 0.7528 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/2.417, allocations: 5.613 MB / 0.7583 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/2.418, allocations: 84.61 kB / 0.7584 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.607e-05/2.418, allocations: 78.44 kB / 0.7585 GB, free: 4.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=412): time 9.748e-06/2.418, allocations: 0 / 0.7585 GB, free: 4.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=475): time 0.1689/2.587, allocations: 38.58 MB / 0.7961 GB, free: 2.816 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/2.587, allocations: 289.8 kB / 0.7964 GB, free: 2.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03322/2.62, allocations: 8.081 MB / 0.8043 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001437/2.621, allocations: 100.9 kB / 0.8044 GB, free: 13.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00693/2.628, allocations: 5.766 MB / 0.81 GB, free: 8.539 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003567/2.632, allocations: 1.747 MB / 0.8117 GB, free: 6.992 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/2.634, allocations: 224 kB / 0.812 GB, free: 6.773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001036/2.635, allocations: 0.7817 MB / 0.8127 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01448/2.65, allocations: 4.925 MB / 0.8175 GB, free: 1.586 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02095/2.671, allocations: 10.98 MB / 0.8282 GB, free: 3.922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3666/3.037, allocations: 7.284 MB / 0.8354 GB, free: 105.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002997/3.038, allocations: 62.95 kB / 0.8354 GB, free: 105.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05746/3.095, allocations: 17.73 MB / 0.8527 GB, free: 104.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/3.095, allocations: 98.09 kB / 0.8528 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003391/3.096, allocations: 212.7 kB / 0.853 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/3.106, allocations: 2.469 MB / 0.8554 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01908/3.125, allocations: 2.678 MB / 0.8581 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03267/3.158, allocations: 16.91 MB / 0.8746 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/3.173, allocations: 0.6747 MB / 0.8752 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003011/3.176, allocations: 0.6438 MB / 0.8759 GB, free: 100.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004551/3.18, allocations: 0.9417 MB / 0.8768 GB, free: 99.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/3.183, allocations: 0.7486 MB / 0.8775 GB, free: 99.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/3.217, allocations: 10.66 MB / 0.8879 GB, free: 96.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.201e-05/3.217, allocations: 52.47 kB / 0.888 GB, free: 96.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/3.217, allocations: 11.66 kB / 0.888 GB, free: 96.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001321/3.217, allocations: 26.45 kB / 0.888 GB, free: 96.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07024/3.287, allocations: 22.84 MB / 0.9103 GB, free: 88.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.398e-05/3.288, allocations: 7.875 kB / 0.9103 GB, free: 88.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009713/3.297, allocations: 0.8714 MB / 0.9112 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009775/3.307, allocations: 2.129 MB / 0.9132 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00135/3.309, allocations: 92.03 kB / 0.9133 GB, free: 88.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0304/3.339, allocations: 15.68 MB / 0.9287 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/3.339, allocations: 4 kB / 0.9287 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0412/3.38, allocations: 17.59 MB / 0.9458 GB, free: 59.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006674/3.387, allocations: 1.611 MB / 0.9474 GB, free: 57.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/3.39, allocations: 80.02 kB / 0.9475 GB, free: 57.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008646/3.399, allocations: 355.8 kB / 0.9478 GB, free: 57.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/3.401, allocations: 289.7 kB / 0.9481 GB, free: 57.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006133/3.401, allocations: 121.6 kB / 0.9482 GB, free: 57.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01363/3.415, allocations: 5.196 MB / 0.9533 GB, free: 52.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/3.415, allocations: 0 / 0.9533 GB, free: 52.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01427/3.429, allocations: 2.282 MB / 0.9555 GB, free: 50.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04383/3.473, allocations: 18.89 MB / 0.974 GB, free: 33.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02878/3.502, allocations: 12.35 MB / 0.986 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/3.502, allocations: 4 kB / 0.986 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.517, allocations: 5.259 MB / 0.9912 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00859/3.525, allocations: 0.9388 MB / 0.9921 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4183/3.944, allocations: 22.43 MB / 1.014 GB, free: 99.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01998/3.964, allocations: 6.588 MB / 1.02 GB, free: 98.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0133/3.977, allocations: 4.523 MB / 1.025 GB, free: 98.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.535e-06/3.977, allocations: 0 / 1.025 GB, free: 98.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.795/10.77, allocations: 292 MB / 1.31 GB, free: 38.68 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat