Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.799/2.799, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.646e-05/4.649e-05, allocations: 7.984 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4626, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.6534, allocations: 100.9 MB / 460.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.6537, allocations: 75.95 kB / 460.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7158/1.37, allocations: 75.71 MB / 0.524 GB, free: 108.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.37, allocations: 0 / 0.524 GB, free: 108.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002889/1.37, allocations: 69.53 kB / 0.524 GB, free: 108.4 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01673/1.387, allocations: 3.792 MB / 0.5277 GB, free: 107.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/1.387, allocations: 10.06 kB / 0.5277 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003467/1.39, allocations: 0.6663 MB / 0.5284 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006674/1.397, allocations: 0.6652 MB / 0.529 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009286/1.406, allocations: 2.208 MB / 0.5312 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/1.407, allocations: 294.5 kB / 0.5315 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/1.409, allocations: 379.5 kB / 0.5318 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03386/1.443, allocations: 8.786 MB / 0.5404 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.443, allocations: 22.52 kB / 0.5404 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008169/1.444, allocations: 170.8 kB / 0.5406 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002745/1.447, allocations: 0.8349 MB / 0.5414 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02969/1.476, allocations: 7.075 MB / 0.5483 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.58, allocations: 29.01 MB / 0.5767 GB, free: 88.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0294/1.609, allocations: 2.248 MB / 0.5788 GB, free: 88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/1.612, allocations: 1.065 MB / 0.5799 GB, free: 87.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01888/1.631, allocations: 7.589 MB / 0.5873 GB, free: 82.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.632, allocations: 50.91 kB / 0.5873 GB, free: 82.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 5.67e-06/1.632, allocations: 0 / 0.5873 GB, free: 82.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.04041/1.672, allocations: 6.48 MB / 0.5937 GB, free: 79.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/1.672, allocations: 147.2 kB / 0.5938 GB, free: 79.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/1.677, allocations: 2.313 MB / 0.5961 GB, free: 78.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/1.677, allocations: 41.61 kB / 0.5961 GB, free: 78.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/1.679, allocations: 2.382 MB / 0.5984 GB, free: 76.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.679, allocations: 396.3 kB / 0.5988 GB, free: 76.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.679, allocations: 78.53 kB / 0.5989 GB, free: 76.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/1.68, allocations: 473.9 kB / 0.5993 GB, free: 75.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.682, allocations: 1.038 MB / 0.6004 GB, free: 75.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/1.686, allocations: 3.398 MB / 0.6037 GB, free: 71.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.69, allocations: 1.844 MB / 0.6055 GB, free: 71.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/1.69, allocations: 22.78 kB / 0.6055 GB, free: 71.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01034/1.7, allocations: 4.032 MB / 0.6094 GB, free: 68.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/1.7, allocations: 41.72 kB / 0.6095 GB, free: 68.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/1.7, allocations: 87.95 kB / 0.6096 GB, free: 68.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/1.7, allocations: 128 kB / 0.6097 GB, free: 68.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006388/1.707, allocations: 0.9428 MB / 0.6106 GB, free: 67.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002295/1.707, allocations: 170.6 kB / 0.6108 GB, free: 67.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/1.713, allocations: 198.4 kB / 0.611 GB, free: 67.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009146/1.714, allocations: 236.9 kB / 0.6112 GB, free: 67.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (497): * Single equations (assignments): 497 * 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 prepare postOptimizeDAE: time 0.0009621/1.715, allocations: 425.6 kB / 0.6116 GB, free: 66.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/1.716, allocations: 225.1 kB / 0.6118 GB, free: 66.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/1.721, allocations: 1.367 MB / 0.6131 GB, free: 65.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.721, allocations: 13.7 kB / 0.6131 GB, free: 65.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.721, allocations: 4 kB / 0.6132 GB, free: 65.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/1.721, allocations: 3.375 kB / 0.6132 GB, free: 65.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.741, allocations: 6.104 MB / 0.6191 GB, free: 60 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/1.741, allocations: 20 kB / 0.6191 GB, free: 59.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.743, allocations: 243.9 kB / 0.6194 GB, free: 59.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.033e-05/1.743, allocations: 24.75 kB / 0.6194 GB, free: 59.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.743, allocations: 47.56 kB / 0.6194 GB, free: 59.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-05/1.743, allocations: 35.8 kB / 0.6195 GB, free: 59.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/1.743, allocations: 27.88 kB / 0.6195 GB, free: 59.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/1.748, allocations: 3.555 MB / 0.623 GB, free: 55.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.75, allocations: 324 kB / 0.6233 GB, free: 55.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.751, allocations: 42.72 kB / 0.6233 GB, free: 55.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.754, allocations: 59.47 kB / 0.6234 GB, free: 55.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/1.754, allocations: 138.1 kB / 0.6235 GB, free: 55.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.754, allocations: 60 kB / 0.6236 GB, free: 55.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004726/1.759, allocations: 1.634 MB / 0.6252 GB, free: 53.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.759, allocations: 0 / 0.6252 GB, free: 53.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007399/1.766, allocations: 0.6835 MB / 0.6258 GB, free: 52.94 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.006518/1.773, allocations: 8.65 MB / 0.6343 GB, free: 43.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007272/1.78, allocations: 2.356 MB / 0.6366 GB, free: 41.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.432e-05/1.78, allocations: 3.938 kB / 0.6366 GB, free: 41.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/1.782, allocations: 0.5752 MB / 0.6371 GB, free: 41.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.785, allocations: 312.8 kB / 0.6374 GB, free: 40.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.805, allocations: 6.968 MB / 0.6442 GB, free: 34.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/1.809, allocations: 2.812 MB / 0.647 GB, free: 32.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/1.812, allocations: 1.484 MB / 0.6484 GB, free: 31 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.812, allocations: 0 / 0.6484 GB, free: 31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.784/5.596, allocations: 57.89 MB / 0.705 GB, free: 105.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat