Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.202/3.202, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.732e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4638, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.6861, allocations: 99.39 MB / 453.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.6865, allocations: 83.89 kB / 453.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7743/1.461, allocations: 73 MB / 0.5145 GB, free: 50.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.461, allocations: 0 / 0.5145 GB, free: 50.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002167/1.461, allocations: 68 kB / 0.5146 GB, free: 50.48 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01652/1.478, allocations: 3.577 MB / 0.5181 GB, free: 46.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/1.478, allocations: 8.031 kB / 0.5181 GB, free: 46.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003023/1.481, allocations: 0.5069 MB / 0.5186 GB, free: 46.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/1.488, allocations: 0.6621 MB / 0.5192 GB, free: 45.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009239/1.498, allocations: 2.181 MB / 0.5214 GB, free: 43.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/1.498, allocations: 175.8 kB / 0.5215 GB, free: 43.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/1.5, allocations: 224 kB / 0.5218 GB, free: 43.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01584/1.516, allocations: 5.227 MB / 0.5269 GB, free: 37.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/1.539, allocations: 6.884 MB / 0.5336 GB, free: 30.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/1.539, allocations: 19.81 kB / 0.5336 GB, free: 30.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/1.54, allocations: 12 kB / 0.5336 GB, free: 30.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/1.544, allocations: 0.788 MB / 0.5344 GB, free: 29.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06491/1.608, allocations: 25.95 MB / 0.5597 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/1.614, allocations: 1.119 MB / 0.5608 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/1.617, allocations: 0.7319 MB / 0.5615 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/1.635, allocations: 5.929 MB / 0.5673 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.635, allocations: 47.06 kB / 0.5674 GB, free: 10.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 5.38e-06/1.635, allocations: 0 / 0.5674 GB, free: 10.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.02448/1.659, allocations: 4.643 MB / 0.5719 GB, free: 6.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.659, allocations: 141.1 kB / 0.572 GB, free: 5.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/1.665, allocations: 1.921 MB / 0.5739 GB, free: 3.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/1.666, allocations: 25.7 kB / 0.5739 GB, free: 3.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003337/1.669, allocations: 2.475 MB / 0.5764 GB, free: 1.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/1.67, allocations: 312.2 kB / 0.5767 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/1.67, allocations: 3.938 kB / 0.5767 GB, free: 1.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006263/1.671, allocations: 466.1 kB / 0.5771 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.674, allocations: 0.8315 MB / 0.5779 GB, free: 15.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005463/1.68, allocations: 3.198 MB / 0.581 GB, free: 11.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/1.685, allocations: 1.588 MB / 0.5826 GB, free: 9.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-05/1.685, allocations: 27.94 kB / 0.5826 GB, free: 9.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01252/1.698, allocations: 3.498 MB / 0.586 GB, free: 6.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.698, allocations: 44 kB / 0.5861 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/1.698, allocations: 84 kB / 0.5862 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/1.698, allocations: 128 kB / 0.5863 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007528/1.706, allocations: 0.9007 MB / 0.5872 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002352/1.706, allocations: 171.6 kB / 0.5873 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.71, allocations: 99.83 kB / 0.5874 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/1.711, allocations: 232 kB / 0.5876 GB, free: 4.613 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (488): * Single equations (assignments): 488 * 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.000847/1.712, allocations: 334 kB / 0.588 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/1.713, allocations: 197.4 kB / 0.5881 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/1.716, allocations: 0.8996 MB / 0.589 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.716, allocations: 8 kB / 0.589 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.716, allocations: 0 / 0.589 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.716, allocations: 3.984 kB / 0.589 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.729, allocations: 4.279 MB / 0.5932 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/1.729, allocations: 16.22 kB / 0.5932 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.731, allocations: 211.6 kB / 0.5934 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/1.731, allocations: 24 kB / 0.5935 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.731, allocations: 20 kB / 0.5935 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-05/1.731, allocations: 31.92 kB / 0.5935 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.412e-05/1.732, allocations: 23.88 kB / 0.5935 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/1.736, allocations: 2.852 MB / 0.5963 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/1.737, allocations: 294.3 kB / 0.5966 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/1.737, allocations: 27.98 kB / 0.5966 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.739, allocations: 27.98 kB / 0.5966 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.739, allocations: 119.5 kB / 0.5968 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.739, allocations: 44 kB / 0.5968 GB, free: 10.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00382/1.743, allocations: 1.269 MB / 0.598 GB, free: 8.797 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.743, allocations: 0 / 0.598 GB, free: 8.797 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006281/1.75, allocations: 0.5468 MB / 0.5986 GB, free: 8.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.007225/1.757, allocations: 8.019 MB / 0.6064 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006859/1.764, allocations: 1.985 MB / 0.6083 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.248e-05/1.764, allocations: 4 kB / 0.6083 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.765, allocations: 447.5 kB / 0.6088 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.768, allocations: 228.5 kB / 0.609 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.795, allocations: 6.212 MB / 0.6151 GB, free: 6.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007608/1.803, allocations: 2.789 MB / 0.6178 GB, free: 3.773 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006683/1.81, allocations: 0.9724 MB / 0.6187 GB, free: 2.797 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004185/1.814, allocations: 1.444 MB / 0.6201 GB, free: 1.352 MB / 458.7 MB Notification: Performance of SimCode: time 1.532e-06/1.814, allocations: 0 / 0.6201 GB, free: 1.352 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5954/2.409, allocations: 42.85 MB / 0.662 GB, free: 111 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003014/2.41, allocations: 128.1 kB / 0.6621 GB, free: 110.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.174/7.584, allocations: 8 kB / 0.6621 GB, free: 110.8 MB / 458.7 MB