Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.883/2.883, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.502e-05, allocations: 7.984 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4046, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.6141, allocations: 111.7 MB / 0.5084 GB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6144, allocations: 79.95 kB / 0.5085 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5983/1.213, allocations: 66.79 MB / 0.5737 GB, free: 67.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.213, allocations: 0 / 0.5737 GB, free: 67.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002074/1.213, allocations: 72 kB / 0.5738 GB, free: 67.52 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01579/1.229, allocations: 3.755 MB / 0.5775 GB, free: 63.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.229, allocations: 8.031 kB / 0.5775 GB, free: 63.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00261/1.231, allocations: 0.6132 MB / 0.5781 GB, free: 63.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005803/1.237, allocations: 0.6399 MB / 0.5787 GB, free: 62.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008392/1.246, allocations: 2.419 MB / 0.581 GB, free: 59.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/1.246, allocations: 275.3 kB / 0.5813 GB, free: 59.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/1.248, allocations: 363.9 kB / 0.5817 GB, free: 59.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/1.278, allocations: 8.891 MB / 0.5903 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/1.278, allocations: 15.88 kB / 0.5904 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/1.279, allocations: 160 kB / 0.5905 GB, free: 49.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/1.281, allocations: 0.6779 MB / 0.5912 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/1.307, allocations: 7.856 MB / 0.5988 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05204/1.36, allocations: 28.24 MB / 0.6264 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/1.375, allocations: 2.991 MB / 0.6293 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.378, allocations: 1.538 MB / 0.6308 GB, free: 7.965 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01758/1.395, allocations: 8.637 MB / 0.6393 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.396, allocations: 43.34 kB / 0.6393 GB, free: 14.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 5.11e-06/1.396, allocations: 0 / 0.6393 GB, free: 14.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.03957/1.435, allocations: 6.343 MB / 0.6455 GB, free: 8.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.435, allocations: 64.41 kB / 0.6456 GB, free: 8.355 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005859/1.441, allocations: 2.282 MB / 0.6478 GB, free: 6.047 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003331/1.441, allocations: 41.7 kB / 0.6478 GB, free: 6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/1.444, allocations: 2.115 MB / 0.6499 GB, free: 3.855 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/1.445, allocations: 426.5 kB / 0.6503 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/1.445, allocations: 72 kB / 0.6504 GB, free: 3.363 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003725/1.445, allocations: 474.8 kB / 0.6508 GB, free: 2.891 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/1.449, allocations: 1.351 MB / 0.6522 GB, free: 1.539 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/1.455, allocations: 3.396 MB / 0.6555 GB, free: 13.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005573/1.461, allocations: 2.085 MB / 0.6575 GB, free: 11.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.827e-05/1.461, allocations: 24 kB / 0.6575 GB, free: 11.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01426/1.475, allocations: 4.487 MB / 0.6619 GB, free: 6.523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/1.475, allocations: 36 kB / 0.6619 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.476, allocations: 76 kB / 0.662 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/1.476, allocations: 108 kB / 0.6621 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/1.482, allocations: 0.889 MB / 0.663 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001971/1.483, allocations: 151.4 kB / 0.6631 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/1.487, allocations: 223.5 kB / 0.6633 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007258/1.488, allocations: 216 kB / 0.6636 GB, free: 4.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (476): * Single equations (assignments): 475 * 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.0008589/1.488, allocations: 407.1 kB / 0.6639 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/1.489, allocations: 229 kB / 0.6642 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005373/1.494, allocations: 2.078 MB / 0.6662 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.494, allocations: 12 kB / 0.6662 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.494, allocations: 4 kB / 0.6662 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.495, allocations: 7.969 kB / 0.6662 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.511, allocations: 6.352 MB / 0.6724 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/1.511, allocations: 20 kB / 0.6724 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.513, allocations: 307.6 kB / 0.6727 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.554e-05/1.513, allocations: 31.95 kB / 0.6728 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.513, allocations: 48 kB / 0.6728 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.242e-05/1.513, allocations: 35.86 kB / 0.6728 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.762e-05/1.513, allocations: 27.88 kB / 0.6729 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/1.519, allocations: 4.01 MB / 0.6768 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/1.52, allocations: 330 kB / 0.6771 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/1.521, allocations: 55.92 kB / 0.6772 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.522, allocations: 71.94 kB / 0.6772 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.523, allocations: 148.3 kB / 0.6774 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.523, allocations: 63.98 kB / 0.6774 GB, free: 5.645 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003946/1.527, allocations: 1.596 MB / 0.679 GB, free: 4.031 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.527, allocations: 4 kB / 0.679 GB, free: 4.027 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004823/1.532, allocations: 0.6913 MB / 0.6797 GB, free: 3.336 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 157 * 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.008094/1.54, allocations: 9.185 MB / 0.6886 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007578/1.548, allocations: 2.909 MB / 0.6915 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.548, allocations: 1.188 kB / 0.6915 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/1.55, allocations: 0.8606 MB / 0.6923 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.553, allocations: 325.4 kB / 0.6926 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/1.577, allocations: 7.151 MB / 0.6996 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006132/1.583, allocations: 2.742 MB / 0.7023 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004095/1.587, allocations: 1.386 MB / 0.7036 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/1.587, allocations: 4 kB / 0.7036 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.794/5.382, allocations: 57.96 MB / 0.7602 GB, free: 132.3 MB / 0.5105 GB