Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.245/3.245, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.432e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4412, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.7082, allocations: 107.7 MB / 462.1 MB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/0.7086, allocations: 75.97 kB / 462.2 MB, free: 3.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.792, allocations: 121.2 MB / 0.5697 GB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.792, allocations: 0 / 0.5697 GB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004813/1.793, allocations: 104 kB / 0.5697 GB, free: 9.938 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.03157/1.825, allocations: 5.634 MB / 0.5753 GB, free: 4.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/1.825, allocations: 12.03 kB / 0.5753 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005326/1.83, allocations: 0.7457 MB / 0.576 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04874/1.879, allocations: 4.727 MB / 0.5806 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03343/1.912, allocations: 6.634 MB / 0.5871 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006956/1.913, allocations: 260.8 kB / 0.5873 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003687/1.917, allocations: 327.9 kB / 0.5876 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03016/1.947, allocations: 8.452 MB / 0.5959 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04297/1.99, allocations: 12.04 MB / 0.6077 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/1.99, allocations: 71.33 kB / 0.6077 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002937/1.993, allocations: 36 kB / 0.6078 GB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00444/1.998, allocations: 1.294 MB / 0.609 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5503/2.548, allocations: 57.54 MB / 0.6652 GB, free: 53.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/2.557, allocations: 3.917 MB / 0.669 GB, free: 52.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006191/2.564, allocations: 2.621 MB / 0.6716 GB, free: 52.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.033/2.597, allocations: 11.74 MB / 0.6831 GB, free: 48.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/2.597, allocations: 58.31 kB / 0.6831 GB, free: 48.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=191): time 7.805e-06/2.597, allocations: 3.656 kB / 0.6831 GB, free: 48.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=242): time 0.1732/2.77, allocations: 33.54 MB / 0.7159 GB, free: 39.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/2.77, allocations: 229.1 kB / 0.7161 GB, free: 39.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/2.782, allocations: 3.649 MB / 0.7197 GB, free: 37.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008523/2.783, allocations: 25.7 kB / 0.7197 GB, free: 37.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005693/2.788, allocations: 3.961 MB / 0.7236 GB, free: 34.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/2.79, allocations: 0.8885 MB / 0.7244 GB, free: 34.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/2.792, allocations: 3.125 kB / 0.7244 GB, free: 34.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006199/2.792, allocations: 0.6168 MB / 0.725 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008603/2.801, allocations: 3.061 MB / 0.728 GB, free: 32.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.814, allocations: 7.432 MB / 0.7353 GB, free: 25.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/2.829, allocations: 4.654 MB / 0.7398 GB, free: 21.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002056/2.829, allocations: 44 kB / 0.7399 GB, free: 21.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.05628/2.885, allocations: 12.82 MB / 0.7524 GB, free: 11.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/2.886, allocations: 72 kB / 0.7524 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/2.886, allocations: 159.3 kB / 0.7526 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02653/2.912, allocations: 3.779 MB / 0.7563 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01291/2.925, allocations: 1.657 MB / 0.7579 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05145/2.977, allocations: 16.58 MB / 0.7741 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/2.989, allocations: 350.8 kB / 0.7744 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/2.991, allocations: 446.2 kB / 0.7749 GB, free: 8.488 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003015/2.994, allocations: 486 kB / 0.7753 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/2.996, allocations: 398.8 kB / 0.7757 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04181/3.038, allocations: 7.887 MB / 0.7834 GB, free: 1.637 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.479e-05/3.038, allocations: 25.86 kB / 0.7834 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/3.038, allocations: 12 kB / 0.7834 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/3.038, allocations: 9.75 kB / 0.7835 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07284/3.111, allocations: 16.23 MB / 0.7993 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/3.111, allocations: 0 / 0.7993 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00512/3.116, allocations: 387.4 kB / 0.7997 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4565/3.573, allocations: 3.819 MB / 0.8034 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007764/3.574, allocations: 12.58 kB / 0.8034 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04669/3.62, allocations: 15 MB / 0.8181 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.772e-05/3.62, allocations: 7.062 kB / 0.8181 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05317/3.674, allocations: 12.34 MB / 0.8301 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004244/3.678, allocations: 0.8938 MB / 0.831 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/3.68, allocations: 3.812 kB / 0.831 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006494/3.686, allocations: 180.9 kB / 0.8312 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/3.688, allocations: 145.8 kB / 0.8313 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004859/3.688, allocations: 60.09 kB / 0.8314 GB, free: 106.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007342/3.695, allocations: 2.444 MB / 0.8338 GB, free: 106.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.443e-06/3.696, allocations: 0 / 0.8338 GB, free: 106.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01333/3.709, allocations: 1.269 MB / 0.835 GB, free: 106.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05545/3.764, allocations: 13.23 MB / 0.8479 GB, free: 103 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02117/3.786, allocations: 7.416 MB / 0.8552 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/3.786, allocations: 0 / 0.8552 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008375/3.794, allocations: 2.84 MB / 0.8579 GB, free: 99.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/3.799, allocations: 405.5 kB / 0.8583 GB, free: 99.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/3.844, allocations: 12.12 MB / 0.8701 GB, free: 94.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/3.855, allocations: 4.2 MB / 0.8742 GB, free: 93.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01324/3.868, allocations: 2.203 MB / 0.8764 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007031/3.875, allocations: 2.469 MB / 0.8788 GB, free: 91.18 MB / 490.7 MB Notification: Performance of SimCode: time 2.545e-06/3.876, allocations: 3.25 kB / 0.8788 GB, free: 91.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8029/4.678, allocations: 105.9 MB / 0.9822 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002979/4.679, allocations: 131.7 kB / 0.9823 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.749/12.43, allocations: 3.406 kB / 0.9823 GB, free: 94.95 MB / 0.4948 GB