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.253/2.253, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.885e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5743, allocations: 95.76 MB / 417.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5746, allocations: 75.95 kB / 417.7 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2844/0.859, allocations: 72.05 MB / 489.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8591, allocations: 0 / 489.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002674/0.8594, allocations: 83.98 kB / 489.8 MB, free: 1.418 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.01688/0.8763, allocations: 3.875 MB / 493.7 MB, free: 13.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.8764, allocations: 15.97 kB / 493.7 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0036/0.88, allocations: 0.7043 MB / 494.4 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006858/0.8869, allocations: 0.7241 MB / 495.1 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.8979, allocations: 2.575 MB / 497.7 MB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/0.8984, allocations: 320.5 kB / 498 MB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002489/0.9009, allocations: 423.8 kB / 498.4 MB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3847/1.286, allocations: 9.009 MB / 0.4956 GB, free: 99.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002848/1.286, allocations: 18.62 kB / 0.4956 GB, free: 99.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001981/1.288, allocations: 187.4 kB / 0.4958 GB, free: 99.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003085/1.291, allocations: 0.8064 MB / 0.4965 GB, free: 99.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02842/1.32, allocations: 7.068 MB / 0.5034 GB, free: 99.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06612/1.386, allocations: 29.68 MB / 0.5324 GB, free: 85.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.397, allocations: 2.113 MB / 0.5345 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/1.399, allocations: 0.9222 MB / 0.5354 GB, free: 84.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/1.412, allocations: 6.745 MB / 0.542 GB, free: 80.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/1.412, allocations: 43 kB / 0.542 GB, free: 80.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.957e-06/1.412, allocations: 0 / 0.542 GB, free: 80.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.0288/1.441, allocations: 6.889 MB / 0.5488 GB, free: 77.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/1.441, allocations: 172.6 kB / 0.5489 GB, free: 76.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/1.446, allocations: 2.362 MB / 0.5512 GB, free: 75.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002556/1.447, allocations: 45.47 kB / 0.5513 GB, free: 75.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.449, allocations: 2.487 MB / 0.5537 GB, free: 73.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/1.449, allocations: 401.6 kB / 0.5541 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.45, allocations: 81.59 kB / 0.5542 GB, free: 73.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/1.45, allocations: 466.4 kB / 0.5546 GB, free: 73.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/1.452, allocations: 1.061 MB / 0.5556 GB, free: 72.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/1.456, allocations: 3.342 MB / 0.5589 GB, free: 69.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/1.46, allocations: 1.838 MB / 0.5607 GB, free: 68.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.352e-05/1.461, allocations: 23.44 kB / 0.5607 GB, free: 68.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01101/1.472, allocations: 4.042 MB / 0.5647 GB, free: 67.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/1.472, allocations: 39.84 kB / 0.5647 GB, free: 67.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.472, allocations: 83.09 kB / 0.5648 GB, free: 67.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/1.472, allocations: 125.4 kB / 0.5649 GB, free: 67.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/1.478, allocations: 0.9366 MB / 0.5658 GB, free: 67.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001717/1.478, allocations: 167 kB / 0.566 GB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/1.483, allocations: 208.1 kB / 0.5662 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008223/1.483, allocations: 238.4 kB / 0.5664 GB, free: 67.07 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.0007351/1.484, allocations: 426.7 kB / 0.5668 GB, free: 66.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006362/1.485, allocations: 242.2 kB / 0.567 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/1.488, allocations: 1.164 MB / 0.5682 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.488, allocations: 7.812 kB / 0.5682 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.488, allocations: 3.969 kB / 0.5682 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/1.488, allocations: 7.547 kB / 0.5682 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.503, allocations: 6.73 MB / 0.5748 GB, free: 62.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/1.503, allocations: 20.22 kB / 0.5748 GB, free: 62.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.505, allocations: 295.4 kB / 0.5751 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.724e-05/1.505, allocations: 33.12 kB / 0.5751 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.505, allocations: 57.06 kB / 0.5752 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.603e-05/1.505, allocations: 48.55 kB / 0.5752 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/1.505, allocations: 35.16 kB / 0.5752 GB, free: 62.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/1.51, allocations: 4.551 MB / 0.5797 GB, free: 58.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/1.511, allocations: 353.8 kB / 0.58 GB, free: 58.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/1.511, allocations: 55.45 kB / 0.5801 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.513, allocations: 72 kB / 0.5801 GB, free: 58.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/1.513, allocations: 163.8 kB / 0.5803 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.513, allocations: 66.25 kB / 0.5804 GB, free: 58.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003879/1.517, allocations: 1.741 MB / 0.5821 GB, free: 57.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.517, allocations: 0 / 0.5821 GB, free: 57.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005408/1.523, allocations: 0.704 MB / 0.5827 GB, free: 57.31 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.005813/1.529, allocations: 10.98 MB / 0.5935 GB, free: 46.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005769/1.534, allocations: 2.419 MB / 0.5958 GB, free: 45.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.643e-05/1.534, allocations: 4 kB / 0.5958 GB, free: 45.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/1.536, allocations: 0.6835 MB / 0.5965 GB, free: 44.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.539, allocations: 327.6 kB / 0.5968 GB, free: 44.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.562, allocations: 7.858 MB / 0.6045 GB, free: 37.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/1.568, allocations: 3.038 MB / 0.6074 GB, free: 35.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003521/1.571, allocations: 1.619 MB / 0.609 GB, free: 33.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/1.572, allocations: 0 / 0.609 GB, free: 33.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.835/5.406, allocations: 62.82 MB / 0.6704 GB, free: 102 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