Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.539/2.539, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.748e-05/4.757e-05, allocations: 8.938 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4606, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.6602, allocations: 102.8 MB / 462.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.6605, allocations: 71.97 kB / 462.8 MB, free: 9.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6799/1.34, allocations: 73.59 MB / 0.5238 GB, free: 106.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.606e-06/1.34, allocations: 0.9062 kB / 0.5238 GB, free: 106.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000339/1.341, allocations: 77.12 kB / 0.5239 GB, free: 106.7 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.02607/1.367, allocations: 4.094 MB / 0.5279 GB, free: 106 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/1.367, allocations: 9.344 kB / 0.5279 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005333/1.372, allocations: 0.7052 MB / 0.5286 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/1.385, allocations: 0.7446 MB / 0.5293 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/1.401, allocations: 2.568 MB / 0.5318 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008467/1.402, allocations: 323.6 kB / 0.5321 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/1.405, allocations: 415.8 kB / 0.5325 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05899/1.464, allocations: 9.788 MB / 0.5421 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000419/1.465, allocations: 22.3 kB / 0.5421 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002955/1.468, allocations: 184.5 kB / 0.5423 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004655/1.472, allocations: 0.8606 MB / 0.5431 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04778/1.52, allocations: 8.268 MB / 0.5512 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.623, allocations: 31.84 MB / 0.5823 GB, free: 84.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/1.638, allocations: 2.989 MB / 0.5852 GB, free: 83.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.641, allocations: 1.542 MB / 0.5867 GB, free: 82.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01955/1.661, allocations: 8.978 MB / 0.5955 GB, free: 77.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/1.661, allocations: 47.02 kB / 0.5955 GB, free: 76.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.649e-06/1.661, allocations: 0 / 0.5955 GB, free: 76.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.03986/1.701, allocations: 7.626 MB / 0.603 GB, free: 74.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/1.701, allocations: 122.1 kB / 0.6031 GB, free: 73.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/1.707, allocations: 2.48 MB / 0.6055 GB, free: 72.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003633/1.707, allocations: 48.05 kB / 0.6056 GB, free: 72.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/1.709, allocations: 2.503 MB / 0.608 GB, free: 70.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/1.71, allocations: 432.8 kB / 0.6084 GB, free: 70.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/1.711, allocations: 80.94 kB / 0.6085 GB, free: 70.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/1.711, allocations: 477.5 kB / 0.609 GB, free: 70.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/1.715, allocations: 1.405 MB / 0.6103 GB, free: 68.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.72, allocations: 3.691 MB / 0.6139 GB, free: 64.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/1.725, allocations: 2.224 MB / 0.6161 GB, free: 62.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.531e-05/1.725, allocations: 24 kB / 0.6161 GB, free: 62.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01622/1.742, allocations: 4.862 MB / 0.6209 GB, free: 58.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.742, allocations: 40 kB / 0.6209 GB, free: 57.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.742, allocations: 84 kB / 0.621 GB, free: 57.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/1.742, allocations: 120 kB / 0.6211 GB, free: 57.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009369/1.752, allocations: 0.996 MB / 0.6221 GB, free: 56.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002851/1.752, allocations: 167.7 kB / 0.6222 GB, free: 56.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007993/1.76, allocations: 243.1 kB / 0.6225 GB, free: 56.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.761, allocations: 239.2 kB / 0.6227 GB, free: 56.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (521): * Single equations (assignments): 520 * 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.002186/1.764, allocations: 431.8 kB / 0.6231 GB, free: 55.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.765, allocations: 236.9 kB / 0.6233 GB, free: 55.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/1.772, allocations: 2.044 MB / 0.6253 GB, free: 53.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.773, allocations: 12 kB / 0.6253 GB, free: 53.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.773, allocations: 8 kB / 0.6254 GB, free: 53.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-05/1.773, allocations: 6.75 kB / 0.6254 GB, free: 53.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.797, allocations: 6.911 MB / 0.6321 GB, free: 47.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.797, allocations: 16 kB / 0.6321 GB, free: 47.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.799, allocations: 298.2 kB / 0.6324 GB, free: 47.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-05/1.8, allocations: 28 kB / 0.6324 GB, free: 47.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/1.8, allocations: 47.5 kB / 0.6325 GB, free: 47.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.112e-05/1.8, allocations: 39.77 kB / 0.6325 GB, free: 47.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.071e-05/1.8, allocations: 28.41 kB / 0.6325 GB, free: 47.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/1.805, allocations: 4.231 MB / 0.6367 GB, free: 42.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.806, allocations: 356.3 kB / 0.637 GB, free: 42.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006536/1.806, allocations: 51.23 kB / 0.6371 GB, free: 42.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.809, allocations: 73.53 kB / 0.6371 GB, free: 42.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/1.809, allocations: 153.9 kB / 0.6373 GB, free: 42.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.809, allocations: 63.94 kB / 0.6373 GB, free: 42.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004008/1.813, allocations: 1.761 MB / 0.6391 GB, free: 40.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.113e-06/1.814, allocations: 0 / 0.6391 GB, free: 40.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005746/1.819, allocations: 0.7656 MB / 0.6398 GB, free: 39.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.00629/1.826, allocations: 9.539 MB / 0.6491 GB, free: 29.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006812/1.832, allocations: 3.017 MB / 0.6521 GB, free: 27.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/1.833, allocations: 4 kB / 0.6521 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.834, allocations: 0.8534 MB / 0.6529 GB, free: 26.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.838, allocations: 320.1 kB / 0.6532 GB, free: 26.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/1.891, allocations: 7.478 MB / 0.6605 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008573/1.9, allocations: 3.036 MB / 0.6635 GB, free: 16.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007542/1.907, allocations: 1.046 MB / 0.6645 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005331/1.913, allocations: 1.581 MB / 0.666 GB, free: 13.78 MB / 458.7 MB Notification: Performance of SimCode: time 2.615e-06/1.913, allocations: 0 / 0.666 GB, free: 13.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/2.408, allocations: 56.54 MB / 0.7213 GB, free: 115 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/2.408, allocations: 140.4 kB / 0.7214 GB, free: 114.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.498/6.906, allocations: 0 / 0.7214 GB, free: 114.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat