Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.246e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4128, allocations: 61.87 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.6125, allocations: 109.7 MB / 0.5064 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.6128, allocations: 79.95 kB / 0.5065 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5959/1.209, allocations: 68.97 MB / 0.5739 GB, free: 67.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.209, allocations: 4 kB / 0.5739 GB, free: 67.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001739/1.209, allocations: 67.94 kB / 0.5739 GB, free: 67.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.0142/1.223, allocations: 3.468 MB / 0.5773 GB, free: 63.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.223, allocations: 12.03 kB / 0.5773 GB, free: 63.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001985/1.225, allocations: 0.5526 MB / 0.5779 GB, free: 63.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/1.23, allocations: 0.5702 MB / 0.5784 GB, free: 62.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007863/1.237, allocations: 2.067 MB / 0.5804 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/1.238, allocations: 250.6 kB / 0.5807 GB, free: 60.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/1.239, allocations: 323.9 kB / 0.581 GB, free: 59.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/1.265, allocations: 7.873 MB / 0.5887 GB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/1.265, allocations: 19.81 kB / 0.5887 GB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/1.266, allocations: 147.9 kB / 0.5888 GB, free: 51.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00118/1.267, allocations: 0.6538 MB / 0.5895 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.29, allocations: 6.656 MB / 0.596 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04531/1.336, allocations: 25.71 MB / 0.6211 GB, free: 17.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.348, allocations: 2.192 MB / 0.6232 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/1.35, allocations: 1.042 MB / 0.6242 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/1.363, allocations: 7.073 MB / 0.6312 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.363, allocations: 47.34 kB / 0.6312 GB, free: 6.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.478e-06/1.363, allocations: 0 / 0.6312 GB, free: 6.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03777/1.401, allocations: 4.699 MB / 0.6358 GB, free: 2.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/1.401, allocations: 64.19 kB / 0.6359 GB, free: 2.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006728/1.408, allocations: 2.114 MB / 0.6379 GB, free: 24 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/1.408, allocations: 41.7 kB / 0.638 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003042/1.411, allocations: 2.045 MB / 0.64 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008687/1.412, allocations: 387.2 kB / 0.6403 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/1.413, allocations: 72 kB / 0.6404 GB, free: 13.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004548/1.413, allocations: 462.3 kB / 0.6408 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/1.418, allocations: 0.991 MB / 0.6418 GB, free: 12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/1.425, allocations: 3.113 MB / 0.6448 GB, free: 7.805 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/1.432, allocations: 1.718 MB / 0.6465 GB, free: 6.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.432, allocations: 28 kB / 0.6465 GB, free: 6.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.01775/1.45, allocations: 3.734 MB / 0.6502 GB, free: 2.316 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.45, allocations: 40 kB / 0.6502 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/1.45, allocations: 76 kB / 0.6503 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/1.45, allocations: 116 kB / 0.6504 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008322/1.459, allocations: 0.8421 MB / 0.6512 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002796/1.459, allocations: 147.4 kB / 0.6514 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.465, allocations: 179.8 kB / 0.6515 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.466, allocations: 212 kB / 0.6517 GB, free: 0.7188 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (453): * Single equations (assignments): 453 * 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.001223/1.467, allocations: 416.2 kB / 0.6521 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007489/1.468, allocations: 205.3 kB / 0.6523 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/1.474, allocations: 1.385 MB / 0.6537 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/1.474, allocations: 12 kB / 0.6537 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.474, allocations: 0 / 0.6537 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.474, allocations: 7.984 kB / 0.6537 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/1.496, allocations: 5.348 MB / 0.6589 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/1.497, allocations: 16 kB / 0.6589 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.499, allocations: 243.5 kB / 0.6592 GB, free: 8.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-05/1.499, allocations: 24 kB / 0.6592 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/1.5, allocations: 44 kB / 0.6592 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.425e-05/1.5, allocations: 31.86 kB / 0.6593 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.497e-05/1.5, allocations: 27.88 kB / 0.6593 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/1.507, allocations: 3.267 MB / 0.6625 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.508, allocations: 306.2 kB / 0.6628 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007277/1.509, allocations: 43.98 kB / 0.6628 GB, free: 4.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.511, allocations: 55.97 kB / 0.6629 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/1.512, allocations: 136 kB / 0.663 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.512, allocations: 48 kB / 0.6631 GB, free: 4.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006258/1.518, allocations: 1.493 MB / 0.6645 GB, free: 2.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.884e-06/1.518, allocations: 0 / 0.6645 GB, free: 2.656 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007548/1.526, allocations: 0.6054 MB / 0.6651 GB, free: 2.051 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.00965/1.536, allocations: 8.118 MB / 0.673 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009416/1.545, allocations: 2.224 MB / 0.6752 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.234e-05/1.545, allocations: 5.75 kB / 0.6752 GB, free: 7.207 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.547, allocations: 0.5773 MB / 0.6758 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.551, allocations: 321.1 kB / 0.6761 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/1.582, allocations: 6.172 MB / 0.6821 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007409/1.59, allocations: 2.517 MB / 0.6846 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004597/1.594, allocations: 1.276 MB / 0.6858 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.795e-06/1.594, allocations: 0 / 0.6858 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.882/5.477, allocations: 51.72 MB / 0.7363 GB, free: 138 MB / 0.5105 GB