Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.769/2.769, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.271e-05, allocations: 0 / 347 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.6228, allocations: 111.2 MB / 0.5079 GB, free: 11.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6232, allocations: 79.95 kB / 0.508 GB, free: 11.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5826/1.206, allocations: 65.11 MB / 0.5716 GB, free: 69.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.206, allocations: 0 / 0.5716 GB, free: 69.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001981/1.206, allocations: 68 kB / 0.5717 GB, free: 69.79 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01354/1.22, allocations: 3.543 MB / 0.5751 GB, free: 66.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.22, allocations: 12.03 kB / 0.5751 GB, free: 66.17 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0025/1.222, allocations: 0.6092 MB / 0.5757 GB, free: 65.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/1.227, allocations: 0.6204 MB / 0.5763 GB, free: 64.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007765/1.235, allocations: 2.419 MB / 0.5787 GB, free: 62.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/1.235, allocations: 283.4 kB / 0.579 GB, free: 62.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/1.237, allocations: 367.9 kB / 0.5793 GB, free: 61.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/1.264, allocations: 8.109 MB / 0.5872 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/1.264, allocations: 19.81 kB / 0.5873 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009089/1.265, allocations: 160 kB / 0.5874 GB, free: 53.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/1.266, allocations: 0.6227 MB / 0.588 GB, free: 52.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/1.29, allocations: 6.66 MB / 0.5945 GB, free: 45.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04671/1.337, allocations: 25.99 MB / 0.6199 GB, free: 19.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.347, allocations: 1.936 MB / 0.6218 GB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/1.349, allocations: 0.86 MB / 0.6226 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/1.36, allocations: 6.261 MB / 0.6288 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.36, allocations: 55.28 kB / 0.6288 GB, free: 9.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.518e-06/1.36, allocations: 0 / 0.6288 GB, free: 9.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02556/1.386, allocations: 5.278 MB / 0.634 GB, free: 4.254 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.386, allocations: 115.6 kB / 0.6341 GB, free: 4.117 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/1.39, allocations: 2.143 MB / 0.6362 GB, free: 1.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002195/1.39, allocations: 41.7 kB / 0.6362 GB, free: 1.898 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.392, allocations: 2.15 MB / 0.6383 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/1.393, allocations: 383.1 kB / 0.6387 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.393, allocations: 72 kB / 0.6387 GB, free: 15.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003423/1.393, allocations: 458.3 kB / 0.6392 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/1.396, allocations: 0.9206 MB / 0.6401 GB, free: 13.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/1.4, allocations: 2.96 MB / 0.643 GB, free: 9.898 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/1.404, allocations: 1.645 MB / 0.6446 GB, free: 8.254 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-05/1.404, allocations: 20 kB / 0.6446 GB, free: 8.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01026/1.414, allocations: 3.569 MB / 0.6481 GB, free: 4.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/1.414, allocations: 38.81 kB / 0.6481 GB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.415, allocations: 80.12 kB / 0.6482 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/1.415, allocations: 112 kB / 0.6483 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/1.42, allocations: 0.7993 MB / 0.6491 GB, free: 3.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001821/1.42, allocations: 143.4 kB / 0.6492 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/1.423, allocations: 175.6 kB / 0.6494 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006595/1.424, allocations: 208 kB / 0.6496 GB, free: 3.117 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.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],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.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 (448): * Single equations (assignments): 447 * 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.0007706/1.425, allocations: 400.3 kB / 0.65 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.425, allocations: 213.2 kB / 0.6502 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/1.428, allocations: 1.171 MB / 0.6513 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.428, allocations: 12 kB / 0.6513 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.429, allocations: 3.953 kB / 0.6513 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.429, allocations: 11.97 kB / 0.6513 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.444, allocations: 6.067 MB / 0.6573 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/1.444, allocations: 28.94 kB / 0.6573 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.446, allocations: 263.5 kB / 0.6575 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/1.446, allocations: 36 kB / 0.6576 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.446, allocations: 52 kB / 0.6576 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-05/1.446, allocations: 47.78 kB / 0.6577 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.505e-05/1.446, allocations: 31.88 kB / 0.6577 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/1.451, allocations: 4.198 MB / 0.6618 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/1.452, allocations: 326 kB / 0.6621 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/1.452, allocations: 59.92 kB / 0.6622 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/1.454, allocations: 51.98 kB / 0.6622 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/1.454, allocations: 159.8 kB / 0.6624 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.454, allocations: 68 kB / 0.6624 GB, free: 4.738 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003919/1.458, allocations: 1.566 MB / 0.664 GB, free: 3.156 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.458, allocations: 0 / 0.664 GB, free: 3.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004779/1.463, allocations: 0.6249 MB / 0.6646 GB, free: 2.531 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.007705/1.471, allocations: 10.58 MB / 0.6749 GB, free: 7.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005656/1.476, allocations: 2.14 MB / 0.677 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.329e-05/1.477, allocations: 4 kB / 0.677 GB, free: 5.141 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.478, allocations: 0.6082 MB / 0.6776 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.481, allocations: 353.5 kB / 0.6779 GB, free: 4.188 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.505, allocations: 6.985 MB / 0.6848 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006202/1.511, allocations: 2.749 MB / 0.6874 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/1.515, allocations: 1.397 MB / 0.6888 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/1.515, allocations: 0 / 0.6888 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.682/5.197, allocations: 55.22 MB / 0.7427 GB, free: 141.7 MB / 0.5105 GB