Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.371e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5694, allocations: 96.03 MB / 417.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5698, allocations: 71.97 kB / 417.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8358/1.406, allocations: 138.2 MB / 0.5431 GB, free: 89.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.406, allocations: 0 / 0.5431 GB, free: 89.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004543/1.406, allocations: 134.8 kB / 0.5433 GB, free: 89.34 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02823/1.434, allocations: 6.789 MB / 0.5499 GB, free: 86.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.434, allocations: 6.5 kB / 0.5499 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005912/1.44, allocations: 1.23 MB / 0.5511 GB, free: 86.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05268/1.493, allocations: 7.183 MB / 0.5581 GB, free: 85.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0279/1.521, allocations: 7.527 MB / 0.5655 GB, free: 83.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006942/1.522, allocations: 0.5197 MB / 0.566 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/1.526, allocations: 0.6828 MB / 0.5666 GB, free: 82.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05389/1.58, allocations: 17.1 MB / 0.5833 GB, free: 71.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005022/1.581, allocations: 79.28 kB / 0.5834 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/1.584, allocations: 328.6 kB / 0.5837 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/1.588, allocations: 1.633 MB / 0.5853 GB, free: 69.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04599/1.634, allocations: 14.13 MB / 0.5991 GB, free: 55.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4524/2.086, allocations: 72.24 MB / 0.6697 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03164/2.118, allocations: 7.11 MB / 0.6766 GB, free: 34.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008818/2.127, allocations: 3.922 MB / 0.6804 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/2.153, allocations: 9.481 MB / 0.6897 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.815e-05/2.153, allocations: 66.48 kB / 0.6898 GB, free: 33.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 7.494e-06/2.153, allocations: 0 / 0.6898 GB, free: 33.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1229/2.276, allocations: 27.69 MB / 0.7168 GB, free: 26.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/2.276, allocations: 248.2 kB / 0.7171 GB, free: 26.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01604/2.292, allocations: 5.878 MB / 0.7228 GB, free: 23.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/2.293, allocations: 78.5 kB / 0.7229 GB, free: 23.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004295/2.298, allocations: 4.566 MB / 0.7273 GB, free: 20.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002258/2.3, allocations: 1.261 MB / 0.7286 GB, free: 19.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/2.301, allocations: 184.4 kB / 0.7287 GB, free: 19.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007475/2.302, allocations: 0.6821 MB / 0.7294 GB, free: 18.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009683/2.312, allocations: 3.648 MB / 0.733 GB, free: 17.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.325, allocations: 8.682 MB / 0.7414 GB, free: 9.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/2.338, allocations: 5.577 MB / 0.7469 GB, free: 7.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/2.338, allocations: 50.12 kB / 0.7469 GB, free: 7.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03748/2.376, allocations: 13.41 MB / 0.76 GB, free: 1.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/2.376, allocations: 83.94 kB / 0.7601 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002436/2.376, allocations: 180 kB / 0.7603 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007036/2.383, allocations: 1.693 MB / 0.7619 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01548/2.399, allocations: 2.115 MB / 0.764 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02514/2.424, allocations: 11.39 MB / 0.7751 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.436, allocations: 0.5247 MB / 0.7756 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002588/2.439, allocations: 0.5176 MB / 0.7761 GB, free: 3.309 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1089): * Single equations (assignments): 1084 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004204/2.443, allocations: 0.7744 MB / 0.7769 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/2.445, allocations: 0.5823 MB / 0.7775 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0266/2.472, allocations: 7.487 MB / 0.7848 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/2.472, allocations: 36 kB / 0.7848 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/2.472, allocations: 8 kB / 0.7848 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.416e-05/2.472, allocations: 14.39 kB / 0.7848 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05585/2.528, allocations: 16.01 MB / 0.8005 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.712e-05/2.528, allocations: 8.219 kB / 0.8005 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006989/2.535, allocations: 0.6318 MB / 0.8011 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007173/2.542, allocations: 1.417 MB / 0.8025 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/2.543, allocations: 67.92 kB / 0.8025 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/2.568, allocations: 10.6 MB / 0.8129 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/2.568, allocations: 11.94 kB / 0.8129 GB, free: 1.645 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/2.603, allocations: 12.58 MB / 0.8252 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005487/2.609, allocations: 1.204 MB / 0.8264 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002589/2.612, allocations: 59.95 kB / 0.8264 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006676/2.618, allocations: 231 kB / 0.8266 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001515/2.62, allocations: 209.9 kB / 0.8268 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007745/2.621, allocations: 88 kB / 0.8269 GB, free: 3.027 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01318/2.634, allocations: 4.222 MB / 0.831 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.193e-06/2.634, allocations: 0 / 0.831 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0124/2.646, allocations: 1.701 MB / 0.8327 GB, free: 13.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.3582/3.005, allocations: 13.96 MB / 0.8463 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0239/3.028, allocations: 9.032 MB / 0.8552 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/3.029, allocations: 1.219 kB / 0.8552 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/3.04, allocations: 3.653 MB / 0.8587 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/3.046, allocations: 0.7241 MB / 0.8594 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05376/3.1, allocations: 16.77 MB / 0.8758 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/3.113, allocations: 5.182 MB / 0.8809 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00894/3.122, allocations: 3.336 MB / 0.8841 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.495e-06/3.122, allocations: 0 / 0.8841 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.796/8.918, allocations: 195 MB / 1.075 GB, free: 140.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat