Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.718/2.718, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.042e-05/5.073e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4631, allocations: 54.86 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.6679, allocations: 102.3 MB / 462.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6683, allocations: 75.97 kB / 462.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3132/0.9815, allocations: 72.06 MB / 0.5217 GB, free: 2.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.9816, allocations: 4 kB / 0.5217 GB, free: 2.066 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002547/0.9818, allocations: 76 kB / 0.5218 GB, free: 1.992 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.3428/1.325, allocations: 3.874 MB / 0.5256 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.325, allocations: 9.375 kB / 0.5256 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003158/1.328, allocations: 0.7053 MB / 0.5263 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/1.335, allocations: 0.7169 MB / 0.527 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009851/1.345, allocations: 2.577 MB / 0.5295 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/1.345, allocations: 325.3 kB / 0.5298 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/1.347, allocations: 419.7 kB / 0.5302 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/1.384, allocations: 9.061 MB / 0.5391 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/1.384, allocations: 19.33 kB / 0.5391 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/1.386, allocations: 188.4 kB / 0.5393 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/1.389, allocations: 0.8085 MB / 0.5401 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02696/1.416, allocations: 7.17 MB / 0.5471 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05922/1.476, allocations: 29.67 MB / 0.576 GB, free: 85.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.486, allocations: 2.123 MB / 0.5781 GB, free: 85.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/1.489, allocations: 0.9354 MB / 0.579 GB, free: 84.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/1.501, allocations: 6.731 MB / 0.5856 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.501, allocations: 46.38 kB / 0.5856 GB, free: 79.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.899e-06/1.501, allocations: 0 / 0.5856 GB, free: 79.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.02886/1.53, allocations: 6.9 MB / 0.5924 GB, free: 76.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/1.53, allocations: 165.8 kB / 0.5925 GB, free: 76.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/1.536, allocations: 2.363 MB / 0.5948 GB, free: 75.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/1.536, allocations: 45.05 kB / 0.5949 GB, free: 75.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.538, allocations: 2.528 MB / 0.5973 GB, free: 73.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/1.538, allocations: 396.9 kB / 0.5977 GB, free: 73.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.539, allocations: 78.38 kB / 0.5978 GB, free: 73.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002412/1.539, allocations: 470.2 kB / 0.5982 GB, free: 72.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/1.542, allocations: 1.055 MB / 0.5993 GB, free: 72.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/1.546, allocations: 3.371 MB / 0.6026 GB, free: 68.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/1.551, allocations: 1.834 MB / 0.6044 GB, free: 68.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.551, allocations: 24.66 kB / 0.6044 GB, free: 68.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01315/1.564, allocations: 4.35 MB / 0.6086 GB, free: 66.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/1.564, allocations: 40.34 kB / 0.6087 GB, free: 66.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.564, allocations: 79.56 kB / 0.6087 GB, free: 66.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/1.564, allocations: 121.8 kB / 0.6089 GB, free: 66.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006071/1.571, allocations: 0.9428 MB / 0.6098 GB, free: 65.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001773/1.571, allocations: 161.8 kB / 0.6099 GB, free: 65.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/1.575, allocations: 213.7 kB / 0.6101 GB, free: 65.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008835/1.576, allocations: 243.7 kB / 0.6104 GB, free: 65.14 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.0008209/1.577, allocations: 422 kB / 0.6108 GB, free: 64.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006922/1.578, allocations: 236.9 kB / 0.611 GB, free: 64.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/1.581, allocations: 1.159 MB / 0.6121 GB, free: 63.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.581, allocations: 15.33 kB / 0.6122 GB, free: 63.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.581, allocations: 4 kB / 0.6122 GB, free: 63.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.581, allocations: 3.328 kB / 0.6122 GB, free: 63.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.597, allocations: 6.791 MB / 0.6188 GB, free: 57.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/1.597, allocations: 20 kB / 0.6188 GB, free: 57.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.599, allocations: 296.7 kB / 0.6191 GB, free: 57.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/1.599, allocations: 32.75 kB / 0.6191 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/1.6, allocations: 51.84 kB / 0.6192 GB, free: 56.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.013e-05/1.6, allocations: 47.81 kB / 0.6192 GB, free: 56.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-05/1.6, allocations: 39.77 kB / 0.6193 GB, free: 56.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/1.605, allocations: 4.559 MB / 0.6237 GB, free: 51.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.606, allocations: 351.5 kB / 0.624 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004517/1.606, allocations: 62.42 kB / 0.6241 GB, free: 51.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.608, allocations: 66.12 kB / 0.6242 GB, free: 51.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.608, allocations: 159 kB / 0.6243 GB, free: 51.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.609, allocations: 75.42 kB / 0.6244 GB, free: 51.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003752/1.612, allocations: 1.733 MB / 0.6261 GB, free: 49.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.233e-06/1.612, allocations: 3.656 kB / 0.6261 GB, free: 49.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005033/1.617, allocations: 0.7042 MB / 0.6268 GB, free: 48.93 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.006067/1.624, allocations: 10.98 MB / 0.6375 GB, free: 37.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006299/1.63, allocations: 2.56 MB / 0.64 GB, free: 35.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-05/1.63, allocations: 4 kB / 0.64 GB, free: 35.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002703/1.633, allocations: 0.7085 MB / 0.6407 GB, free: 34.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/1.637, allocations: 331.6 kB / 0.641 GB, free: 34.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03528/1.672, allocations: 7.428 MB / 0.6483 GB, free: 27.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009287/1.682, allocations: 3.038 MB / 0.6512 GB, free: 24.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007536/1.689, allocations: 1.044 MB / 0.6523 GB, free: 24.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005384/1.695, allocations: 1.589 MB / 0.6538 GB, free: 22.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/1.695, allocations: 0 / 0.6538 GB, free: 22.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/1.855, allocations: 53.86 MB / 0.7064 GB, free: 2.762 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.855, allocations: 151.8 kB / 0.7065 GB, free: 2.531 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.369/6.225, allocations: 4 kB / 0.7066 GB, free: 2.527 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat