Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.397e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4388/0.545, allocations: 95.74 MB / 417.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5454, allocations: 75.95 kB / 417.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2926/0.838, allocations: 72.06 MB / 489.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8381, allocations: 0 / 489.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000256/0.8384, allocations: 76 kB / 489.8 MB, free: 1.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01637/0.8548, allocations: 3.875 MB / 493.7 MB, free: 13.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.8548, allocations: 12.03 kB / 493.7 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003956/0.8588, allocations: 0.7083 MB / 494.4 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.8659, allocations: 0.7241 MB / 495.1 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.8761, allocations: 2.571 MB / 497.7 MB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/0.8767, allocations: 324.5 kB / 498 MB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.879, allocations: 419.8 kB / 498.4 MB, free: 8.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3268/1.206, allocations: 9.068 MB / 0.4956 GB, free: 99.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/1.206, allocations: 15.72 kB / 0.4956 GB, free: 99.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/1.208, allocations: 192.1 kB / 0.4958 GB, free: 99.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/1.211, allocations: 0.7989 MB / 0.4966 GB, free: 99.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/1.239, allocations: 7.173 MB / 0.5036 GB, free: 99.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06506/1.304, allocations: 29.67 MB / 0.5325 GB, free: 86.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/1.315, allocations: 2.124 MB / 0.5346 GB, free: 85.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/1.318, allocations: 0.9358 MB / 0.5355 GB, free: 85.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.332, allocations: 6.733 MB / 0.5421 GB, free: 80.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/1.332, allocations: 57.77 kB / 0.5422 GB, free: 80.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.997e-06/1.332, allocations: 0 / 0.5422 GB, free: 80.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02993/1.362, allocations: 6.876 MB / 0.5489 GB, free: 77.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/1.362, allocations: 168.6 kB / 0.549 GB, free: 77.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/1.368, allocations: 2.363 MB / 0.5513 GB, free: 76.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/1.368, allocations: 41.64 kB / 0.5514 GB, free: 76.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.37, allocations: 2.499 MB / 0.5538 GB, free: 74.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/1.37, allocations: 398.9 kB / 0.5542 GB, free: 74.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.371, allocations: 79.28 kB / 0.5543 GB, free: 74.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002484/1.371, allocations: 475.9 kB / 0.5547 GB, free: 73.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/1.374, allocations: 1.052 MB / 0.5558 GB, free: 73.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/1.378, allocations: 3.369 MB / 0.559 GB, free: 70.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/1.382, allocations: 1.846 MB / 0.5608 GB, free: 69.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/1.382, allocations: 21.03 kB / 0.5609 GB, free: 69.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01158/1.394, allocations: 4.269 MB / 0.565 GB, free: 67.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/1.394, allocations: 44.28 kB / 0.5651 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/1.394, allocations: 87.56 kB / 0.5652 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/1.394, allocations: 118.7 kB / 0.5653 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/1.4, allocations: 0.9411 MB / 0.5662 GB, free: 67.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001733/1.4, allocations: 162.5 kB / 0.5663 GB, free: 67.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/1.404, allocations: 208.5 kB / 0.5665 GB, free: 67.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007492/1.405, allocations: 232.2 kB / 0.5668 GB, free: 67.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 500 * Array equations: 1 * 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.0007921/1.406, allocations: 432.1 kB / 0.5672 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/1.407, allocations: 238.9 kB / 0.5674 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/1.409, allocations: 1.16 MB / 0.5685 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.409, allocations: 11.44 kB / 0.5686 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.409, allocations: 7.75 kB / 0.5686 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.409, allocations: 11.02 kB / 0.5686 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/1.425, allocations: 6.794 MB / 0.5752 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.426, allocations: 22.12 kB / 0.5752 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.427, allocations: 287.8 kB / 0.5755 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-05/1.428, allocations: 33.28 kB / 0.5755 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.428, allocations: 60.41 kB / 0.5756 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-05/1.428, allocations: 40.64 kB / 0.5756 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-05/1.428, allocations: 34.94 kB / 0.5757 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/1.432, allocations: 4.56 MB / 0.5801 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/1.433, allocations: 353.2 kB / 0.5805 GB, free: 58.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.434, allocations: 55.33 kB / 0.5805 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.436, allocations: 63.52 kB / 0.5806 GB, free: 58.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.436, allocations: 168 kB / 0.5807 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.437, allocations: 69.56 kB / 0.5808 GB, free: 58.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004233/1.441, allocations: 1.734 MB / 0.5825 GB, free: 57.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.441, allocations: 0 / 0.5825 GB, free: 57.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005624/1.447, allocations: 0.7109 MB / 0.5832 GB, free: 57.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * Array equations: 0 * 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.006105/1.453, allocations: 10.98 MB / 0.5939 GB, free: 47.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005868/1.459, allocations: 2.559 MB / 0.5964 GB, free: 45.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.777e-05/1.459, allocations: 4 kB / 0.5964 GB, free: 45.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.46, allocations: 0.7045 MB / 0.5971 GB, free: 45.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.463, allocations: 337.1 kB / 0.5974 GB, free: 44.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.488, allocations: 7.885 MB / 0.6051 GB, free: 37.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00616/1.494, allocations: 3.039 MB / 0.6081 GB, free: 35.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003803/1.498, allocations: 1.624 MB / 0.6097 GB, free: 33.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/1.498, allocations: 0 / 0.6097 GB, free: 33.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.042/5.54, allocations: 63.46 MB / 0.6716 GB, free: 102.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat