Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.04e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 54.85 MB / 359.8 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.6267, allocations: 102.3 MB / 462.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.6271, allocations: 78.11 kB / 462.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3859/1.013, allocations: 72.07 MB / 0.5217 GB, free: 2.043 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.013, allocations: 0 / 0.5217 GB, free: 2.043 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002773/1.013, allocations: 80 kB / 0.5218 GB, free: 1.965 MB / 458.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.3258/1.339, allocations: 3.873 MB / 0.5256 GB, free: 105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/1.339, allocations: 9.188 kB / 0.5256 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004044/1.343, allocations: 0.7065 MB / 0.5263 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007005/1.35, allocations: 0.7165 MB / 0.527 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/1.361, allocations: 2.58 MB / 0.5295 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005545/1.361, allocations: 324.7 kB / 0.5298 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/1.364, allocations: 419.7 kB / 0.5302 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/1.4, allocations: 9.013 MB / 0.539 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/1.401, allocations: 20.38 kB / 0.539 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.403, allocations: 184.2 kB / 0.5392 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003058/1.406, allocations: 0.8002 MB / 0.54 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02794/1.434, allocations: 7.083 MB / 0.5469 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06107/1.495, allocations: 29.66 MB / 0.5759 GB, free: 85.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/1.506, allocations: 2.118 MB / 0.5779 GB, free: 84.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.508, allocations: 0.9345 MB / 0.5789 GB, free: 84.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/1.521, allocations: 6.731 MB / 0.5854 GB, free: 79.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.521, allocations: 50.28 kB / 0.5855 GB, free: 79.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.609e-06/1.521, allocations: 1.219 kB / 0.5855 GB, free: 79.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.03073/1.552, allocations: 6.881 MB / 0.5922 GB, free: 76.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/1.552, allocations: 169.7 kB / 0.5924 GB, free: 76.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/1.558, allocations: 2.367 MB / 0.5947 GB, free: 75.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.558, allocations: 41.36 kB / 0.5947 GB, free: 75.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/1.56, allocations: 2.498 MB / 0.5972 GB, free: 73.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/1.56, allocations: 397.7 kB / 0.5975 GB, free: 72.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.561, allocations: 78.72 kB / 0.5976 GB, free: 72.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/1.561, allocations: 476 kB / 0.5981 GB, free: 72.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/1.564, allocations: 1.054 MB / 0.5991 GB, free: 72.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/1.568, allocations: 3.354 MB / 0.6024 GB, free: 68.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/1.572, allocations: 1.838 MB / 0.6042 GB, free: 67.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.998e-05/1.572, allocations: 25 kB / 0.6042 GB, free: 67.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01117/1.583, allocations: 4.027 MB / 0.6081 GB, free: 66.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/1.584, allocations: 43.44 kB / 0.6082 GB, free: 66.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.584, allocations: 80.59 kB / 0.6082 GB, free: 66.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/1.584, allocations: 122.7 kB / 0.6084 GB, free: 66.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/1.59, allocations: 0.9445 MB / 0.6093 GB, free: 66.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/1.59, allocations: 160 kB / 0.6094 GB, free: 65.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/1.594, allocations: 212.7 kB / 0.6096 GB, free: 65.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008586/1.595, allocations: 239.3 kB / 0.6099 GB, free: 65.48 MB / 458.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.0007378/1.596, allocations: 428.6 kB / 0.6103 GB, free: 65.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/1.597, allocations: 233 kB / 0.6105 GB, free: 64.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.6, allocations: 1.167 MB / 0.6116 GB, free: 63.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/1.6, allocations: 12 kB / 0.6116 GB, free: 63.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.6, allocations: 4 kB / 0.6116 GB, free: 63.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.13e-05/1.6, allocations: 7.031 kB / 0.6116 GB, free: 63.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/1.616, allocations: 6.723 MB / 0.6182 GB, free: 57.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.616, allocations: 23.94 kB / 0.6182 GB, free: 57.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.618, allocations: 297.1 kB / 0.6185 GB, free: 57.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.953e-05/1.618, allocations: 32 kB / 0.6186 GB, free: 57.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.619, allocations: 52 kB / 0.6186 GB, free: 57.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-05/1.619, allocations: 50.8 kB / 0.6187 GB, free: 57.33 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/1.619, allocations: 31.88 kB / 0.6187 GB, free: 57.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004433/1.623, allocations: 4.554 MB / 0.6231 GB, free: 52.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/1.624, allocations: 356.9 kB / 0.6235 GB, free: 51.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/1.625, allocations: 63.59 kB / 0.6235 GB, free: 51.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.627, allocations: 67.69 kB / 0.6236 GB, free: 51.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.627, allocations: 160.8 kB / 0.6237 GB, free: 51.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.627, allocations: 79.78 kB / 0.6238 GB, free: 51.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004269/1.632, allocations: 1.731 MB / 0.6255 GB, free: 50.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.433e-06/1.632, allocations: 4 kB / 0.6255 GB, free: 50.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005798/1.637, allocations: 0.7031 MB / 0.6262 GB, free: 49.33 MB / 458.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.005966/1.643, allocations: 10.98 MB / 0.6369 GB, free: 37.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005532/1.649, allocations: 2.422 MB / 0.6393 GB, free: 35.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.338e-05/1.649, allocations: 8.125 kB / 0.6393 GB, free: 35.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/1.651, allocations: 0.6748 MB / 0.64 GB, free: 35.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.653, allocations: 338.4 kB / 0.6403 GB, free: 34.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/1.677, allocations: 7.85 MB / 0.6479 GB, free: 27.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006112/1.683, allocations: 3.035 MB / 0.6509 GB, free: 25.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003631/1.687, allocations: 1.618 MB / 0.6525 GB, free: 23.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/1.687, allocations: 0 / 0.6525 GB, free: 23.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.964/5.651, allocations: 62.82 MB / 0.7138 GB, free: 113 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat