Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.623/2.623, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.055e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4284, allocations: 54.85 MB / 359.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.619, allocations: 100.9 MB / 460.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.6194, allocations: 75.95 kB / 460.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7451/1.365, allocations: 75.71 MB / 0.524 GB, free: 108.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.365, allocations: 0 / 0.524 GB, free: 108.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000322/1.365, allocations: 70.66 kB / 0.524 GB, free: 108.8 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.02419/1.389, allocations: 3.799 MB / 0.5278 GB, free: 108.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.145e-05/1.389, allocations: 9.594 kB / 0.5278 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004014/1.393, allocations: 0.6608 MB / 0.5284 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/1.4, allocations: 0.675 MB / 0.5291 GB, free: 107.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009123/1.409, allocations: 2.204 MB / 0.5312 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/1.41, allocations: 292 kB / 0.5315 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/1.412, allocations: 382.4 kB / 0.5319 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/1.447, allocations: 8.782 MB / 0.5404 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/1.447, allocations: 24.45 kB / 0.5405 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/1.449, allocations: 170.6 kB / 0.5406 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/1.452, allocations: 0.8395 MB / 0.5414 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02627/1.479, allocations: 7.068 MB / 0.5483 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05736/1.536, allocations: 29.02 MB / 0.5767 GB, free: 88.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/1.549, allocations: 2.249 MB / 0.5789 GB, free: 88.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/1.551, allocations: 1.056 MB / 0.5799 GB, free: 87.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.566, allocations: 7.596 MB / 0.5873 GB, free: 82.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.566, allocations: 46.81 kB / 0.5874 GB, free: 82.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 4.037e-06/1.566, allocations: 0.5625 kB / 0.5874 GB, free: 82.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.03098/1.597, allocations: 6.479 MB / 0.5937 GB, free: 79.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.597, allocations: 140.5 kB / 0.5938 GB, free: 79.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004301/1.601, allocations: 2.312 MB / 0.5961 GB, free: 78.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/1.601, allocations: 44.45 kB / 0.5961 GB, free: 78.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.603, allocations: 2.411 MB / 0.5985 GB, free: 76.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/1.604, allocations: 392.1 kB / 0.5989 GB, free: 76.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/1.604, allocations: 81.53 kB / 0.5989 GB, free: 76.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/1.604, allocations: 465.6 kB / 0.5994 GB, free: 76.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/1.606, allocations: 1.039 MB / 0.6004 GB, free: 75.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003395/1.61, allocations: 3.405 MB / 0.6037 GB, free: 72.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/1.614, allocations: 1.835 MB / 0.6055 GB, free: 71.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.584e-05/1.614, allocations: 27.28 kB / 0.6055 GB, free: 71.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01131/1.625, allocations: 4.114 MB / 0.6096 GB, free: 68.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.625, allocations: 40 kB / 0.6096 GB, free: 68.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.625, allocations: 91.78 kB / 0.6097 GB, free: 68.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/1.626, allocations: 128 kB / 0.6098 GB, free: 68.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007356/1.633, allocations: 0.9449 MB / 0.6107 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002167/1.633, allocations: 169.5 kB / 0.6109 GB, free: 67.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01399/1.647, allocations: 193.9 kB / 0.6111 GB, free: 67.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.648, allocations: 236 kB / 0.6113 GB, free: 67.17 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.001014/1.65, allocations: 422.7 kB / 0.6117 GB, free: 66.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/1.65, allocations: 232.9 kB / 0.6119 GB, free: 66.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.663, allocations: 1.352 MB / 0.6133 GB, free: 65.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/1.663, allocations: 15.95 kB / 0.6133 GB, free: 65.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.663, allocations: 0 / 0.6133 GB, free: 65.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/1.663, allocations: 10.19 kB / 0.6133 GB, free: 65.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0395/1.702, allocations: 6.11 MB / 0.6192 GB, free: 59.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/1.703, allocations: 16 kB / 0.6193 GB, free: 59.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.705, allocations: 243.5 kB / 0.6195 GB, free: 59.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.887e-05/1.705, allocations: 27.94 kB / 0.6195 GB, free: 59.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.705, allocations: 48.44 kB / 0.6196 GB, free: 59.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.849e-05/1.705, allocations: 31.36 kB / 0.6196 GB, free: 59.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/1.705, allocations: 32.75 kB / 0.6196 GB, free: 59.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/1.71, allocations: 3.55 MB / 0.6231 GB, free: 55.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.711, allocations: 327.9 kB / 0.6234 GB, free: 55.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007228/1.712, allocations: 47.89 kB / 0.6235 GB, free: 55.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.714, allocations: 53.98 kB / 0.6235 GB, free: 55.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/1.714, allocations: 139.8 kB / 0.6236 GB, free: 55.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.714, allocations: 56 kB / 0.6237 GB, free: 54.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003556/1.718, allocations: 1.636 MB / 0.6253 GB, free: 53.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.718, allocations: 0 / 0.6253 GB, free: 53.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00518/1.723, allocations: 0.6796 MB / 0.626 GB, free: 52.82 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.00491/1.728, allocations: 8.647 MB / 0.6344 GB, free: 43.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005337/1.734, allocations: 2.353 MB / 0.6367 GB, free: 41.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/1.734, allocations: 8.625 kB / 0.6367 GB, free: 41.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.735, allocations: 0.5745 MB / 0.6373 GB, free: 41.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.737, allocations: 307.6 kB / 0.6376 GB, free: 40.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.757, allocations: 6.58 MB / 0.644 GB, free: 34.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004527/1.761, allocations: 2.806 MB / 0.6467 GB, free: 32.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005407/1.767, allocations: 1.05 MB / 0.6477 GB, free: 31.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003124/1.77, allocations: 1.458 MB / 0.6492 GB, free: 30.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.482e-06/1.77, allocations: 2.812 kB / 0.6492 GB, free: 30.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4581/2.228, allocations: 49.91 MB / 0.6979 GB, free: 95.93 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.228, allocations: 146.5 kB / 0.6981 GB, free: 95.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/6.451, allocations: 0 / 0.6981 GB, free: 95.71 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat