Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.214/3.214, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.982e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4346, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.7054, allocations: 100.2 MB / 454.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000453/0.7059, allocations: 79.95 kB / 454.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8415/1.547, allocations: 74.22 MB / 0.5165 GB, free: 48.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.548, allocations: 0 / 0.5165 GB, free: 48.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002102/1.548, allocations: 68 kB / 0.5166 GB, free: 48.45 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01803/1.566, allocations: 3.788 MB / 0.5203 GB, free: 44.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.566, allocations: 12.02 kB / 0.5203 GB, free: 44.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002995/1.569, allocations: 0.5033 MB / 0.5208 GB, free: 44.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/1.577, allocations: 0.6777 MB / 0.5215 GB, free: 43.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/1.586, allocations: 2.201 MB / 0.5236 GB, free: 41.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/1.587, allocations: 163.8 kB / 0.5238 GB, free: 40.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/1.589, allocations: 228 kB / 0.524 GB, free: 40.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01629/1.606, allocations: 5.453 MB / 0.5293 GB, free: 35.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/1.63, allocations: 7.12 MB / 0.5363 GB, free: 27.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/1.63, allocations: 27.75 kB / 0.5363 GB, free: 27.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/1.631, allocations: 12 kB / 0.5363 GB, free: 27.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/1.635, allocations: 0.8271 MB / 0.5371 GB, free: 26.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/1.698, allocations: 27.68 MB / 0.5641 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/1.702, allocations: 1.353 MB / 0.5655 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/1.705, allocations: 1.013 MB / 0.5665 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/1.724, allocations: 7.33 MB / 0.5736 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.724, allocations: 43.06 kB / 0.5737 GB, free: 4.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.809e-06/1.724, allocations: 4 kB / 0.5737 GB, free: 4.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.02868/1.753, allocations: 6.16 MB / 0.5797 GB, free: 14.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.753, allocations: 137.3 kB / 0.5798 GB, free: 13.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/1.758, allocations: 1.969 MB / 0.5817 GB, free: 11.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/1.758, allocations: 29.64 kB / 0.5818 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002946/1.761, allocations: 2.494 MB / 0.5842 GB, free: 9.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/1.762, allocations: 351.6 kB / 0.5845 GB, free: 8.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.762, allocations: 0 / 0.5845 GB, free: 8.941 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000421/1.763, allocations: 478.6 kB / 0.585 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00294/1.766, allocations: 0.9724 MB / 0.5859 GB, free: 7.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00539/1.771, allocations: 3.439 MB / 0.5893 GB, free: 2.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/1.779, allocations: 1.916 MB / 0.5912 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.035e-05/1.779, allocations: 24 kB / 0.5912 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01538/1.794, allocations: 4.013 MB / 0.5951 GB, free: 12.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.795, allocations: 40 kB / 0.5951 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.795, allocations: 92 kB / 0.5952 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/1.795, allocations: 128 kB / 0.5954 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007246/1.802, allocations: 0.9669 MB / 0.5963 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002661/1.803, allocations: 171.4 kB / 0.5965 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.807, allocations: 119.9 kB / 0.5966 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008046/1.808, allocations: 244 kB / 0.5968 GB, free: 11.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * 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 (513): * Single equations (assignments): 513 * 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.0008908/1.809, allocations: 339.9 kB / 0.5971 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.809, allocations: 209.5 kB / 0.5973 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/1.813, allocations: 1.119 MB / 0.5984 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.813, allocations: 12 kB / 0.5984 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.813, allocations: 0 / 0.5984 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.813, allocations: 3.984 kB / 0.5984 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.828, allocations: 4.611 MB / 0.6029 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.828, allocations: 16 kB / 0.603 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.83, allocations: 227.7 kB / 0.6032 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/1.83, allocations: 24 kB / 0.6032 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.83, allocations: 20 kB / 0.6032 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.554e-05/1.83, allocations: 35.86 kB / 0.6032 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.441e-05/1.831, allocations: 19.94 kB / 0.6033 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/1.835, allocations: 2.971 MB / 0.6062 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009297/1.836, allocations: 294.2 kB / 0.6065 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/1.837, allocations: 27.98 kB / 0.6065 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.839, allocations: 31.97 kB / 0.6065 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/1.839, allocations: 128 kB / 0.6066 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.839, allocations: 48 kB / 0.6067 GB, free: 15.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004241/1.844, allocations: 1.293 MB / 0.6079 GB, free: 14.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.844, allocations: 0 / 0.6079 GB, free: 14.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006458/1.85, allocations: 0.5742 MB / 0.6085 GB, free: 13.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.01062/1.861, allocations: 8.068 MB / 0.6164 GB, free: 5.348 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008432/1.869, allocations: 2.242 MB / 0.6186 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.068e-05/1.869, allocations: 4 kB / 0.6186 GB, free: 3.129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.871, allocations: 0.5049 MB / 0.6191 GB, free: 2.629 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.874, allocations: 207.7 kB / 0.6193 GB, free: 2.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4158/2.289, allocations: 6.328 MB / 0.6254 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006829/2.296, allocations: 2.8 MB / 0.6282 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006205/2.303, allocations: 1.02 MB / 0.6292 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003891/2.306, allocations: 1.457 MB / 0.6306 GB, free: 119.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.704e-06/2.306, allocations: 0 / 0.6306 GB, free: 119.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/2.496, allocations: 44.92 MB / 0.6745 GB, free: 101.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002874/2.496, allocations: 128.1 kB / 0.6746 GB, free: 101.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.489/7.985, allocations: 0 / 0.6746 GB, free: 101.7 MB / 458.7 MB