Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.262/3.262, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.319e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5137, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.8038, allocations: 101.6 MB / 456 MB, free: 9.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/0.8044, allocations: 75.91 kB / 456.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7501/1.555, allocations: 70.54 MB / 0.5143 GB, free: 51.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.555, allocations: 0 / 0.5143 GB, free: 51.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002497/1.555, allocations: 80 kB / 0.5144 GB, free: 50.96 MB / 394.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.01713/1.572, allocations: 3.871 MB / 0.5181 GB, free: 47.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.572, allocations: 8.031 kB / 0.5182 GB, free: 47.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002621/1.575, allocations: 0.5365 MB / 0.5187 GB, free: 46.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007384/1.582, allocations: 0.7124 MB / 0.5194 GB, free: 45.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/1.592, allocations: 2.575 MB / 0.5219 GB, free: 43.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/1.593, allocations: 188.6 kB / 0.5221 GB, free: 42.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/1.595, allocations: 244 kB / 0.5223 GB, free: 42.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01637/1.611, allocations: 5.716 MB / 0.5279 GB, free: 36.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/1.635, allocations: 7.426 MB / 0.5351 GB, free: 29.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/1.635, allocations: 15.81 kB / 0.5351 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/1.636, allocations: 16 kB / 0.5352 GB, free: 29.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002948/1.639, allocations: 0.8005 MB / 0.5359 GB, free: 28.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07046/1.71, allocations: 27.64 MB / 0.5629 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/1.714, allocations: 1.293 MB / 0.5642 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/1.716, allocations: 0.846 MB / 0.565 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.733, allocations: 6.305 MB / 0.5712 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/1.734, allocations: 51.06 kB / 0.5712 GB, free: 6.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 5.3e-06/1.734, allocations: 0 / 0.5712 GB, free: 6.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.02482/1.758, allocations: 5.702 MB / 0.5768 GB, free: 1.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.759, allocations: 166.8 kB / 0.577 GB, free: 1.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/1.764, allocations: 2.044 MB / 0.579 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.765, allocations: 25.7 kB / 0.579 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003375/1.768, allocations: 2.607 MB / 0.5815 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/1.769, allocations: 328.1 kB / 0.5818 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/1.769, allocations: 7.875 kB / 0.5818 GB, free: 11.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004519/1.77, allocations: 474.3 kB / 0.5823 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/1.773, allocations: 0.937 MB / 0.5832 GB, free: 10.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006127/1.779, allocations: 3.34 MB / 0.5865 GB, free: 5.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/1.784, allocations: 1.721 MB / 0.5882 GB, free: 4.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.775e-05/1.784, allocations: 24 kB / 0.5882 GB, free: 4.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01385/1.798, allocations: 3.755 MB / 0.5918 GB, free: 476 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.798, allocations: 40 kB / 0.5919 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.799, allocations: 88 kB / 0.592 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/1.799, allocations: 128 kB / 0.5921 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007484/1.806, allocations: 0.9397 MB / 0.593 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000248/1.807, allocations: 167.4 kB / 0.5932 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/1.812, allocations: 135.7 kB / 0.5933 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/1.813, allocations: 248 kB / 0.5935 GB, free: 14.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * 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 (498): * Single equations (assignments): 497 * 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.0008965/1.813, allocations: 343.9 kB / 0.5939 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/1.814, allocations: 205.4 kB / 0.5941 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/1.817, allocations: 0.9516 MB / 0.595 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/1.817, allocations: 8.188 kB / 0.595 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.817, allocations: 0 / 0.595 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/1.817, allocations: 15.8 kB / 0.595 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.833, allocations: 4.709 MB / 0.5996 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/1.833, allocations: 20 kB / 0.5996 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.835, allocations: 247.5 kB / 0.5999 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.556e-05/1.835, allocations: 28 kB / 0.5999 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/1.836, allocations: 31.98 kB / 0.5999 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-05/1.836, allocations: 39.86 kB / 0.6 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.591e-05/1.836, allocations: 31.88 kB / 0.6 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/1.841, allocations: 3.582 MB / 0.6035 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/1.842, allocations: 302.2 kB / 0.6038 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/1.843, allocations: 27.98 kB / 0.6038 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.845, allocations: 39.97 kB / 0.6038 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.845, allocations: 139.5 kB / 0.604 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.846, allocations: 59.98 kB / 0.604 GB, free: 2.758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004041/1.85, allocations: 1.355 MB / 0.6054 GB, free: 1.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.85, allocations: 0 / 0.6054 GB, free: 1.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006053/1.856, allocations: 0.5976 MB / 0.6059 GB, free: 0.793 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.008634/1.864, allocations: 9.381 MB / 0.6151 GB, free: 6.812 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00714/1.872, allocations: 2.219 MB / 0.6173 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.532e-05/1.872, allocations: 4 kB / 0.6173 GB, free: 4.609 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.873, allocations: 0.57 MB / 0.6178 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.876, allocations: 248.6 kB / 0.6181 GB, free: 3.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4732/2.349, allocations: 6.968 MB / 0.6249 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008937/2.358, allocations: 3.019 MB / 0.6278 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007834/2.366, allocations: 1.012 MB / 0.6288 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004842/2.371, allocations: 1.569 MB / 0.6303 GB, free: 118.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/2.371, allocations: 3.812 kB / 0.6303 GB, free: 118.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/2.555, allocations: 47.72 MB / 0.6769 GB, free: 98.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000273/2.555, allocations: 136.2 kB / 0.6771 GB, free: 98.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.129/7.685, allocations: 0 / 0.6771 GB, free: 98.13 MB / 458.7 MB