Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.304e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.407, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.6056, allocations: 109 MB / 0.5058 GB, free: 13.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.606, allocations: 75.97 kB / 0.5058 GB, free: 13.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5884/1.194, allocations: 67.62 MB / 0.5719 GB, free: 69.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.194, allocations: 0 / 0.5719 GB, free: 69.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001758/1.195, allocations: 67.98 kB / 0.5719 GB, free: 68.96 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01301/1.208, allocations: 3.246 MB / 0.5751 GB, free: 65.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.208, allocations: 12.03 kB / 0.5751 GB, free: 65.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00228/1.21, allocations: 0.5601 MB / 0.5757 GB, free: 65.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004523/1.215, allocations: 0.5665 MB / 0.5762 GB, free: 64.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007267/1.222, allocations: 2.036 MB / 0.5782 GB, free: 62.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/1.222, allocations: 258.7 kB / 0.5784 GB, free: 62.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/1.224, allocations: 328 kB / 0.5788 GB, free: 61.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/1.249, allocations: 7.513 MB / 0.5861 GB, free: 53.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/1.249, allocations: 19.81 kB / 0.5861 GB, free: 53.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/1.25, allocations: 147.9 kB / 0.5863 GB, free: 53.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/1.251, allocations: 0.5988 MB / 0.5868 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/1.273, allocations: 6.128 MB / 0.5928 GB, free: 47.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/1.315, allocations: 24.14 MB / 0.6164 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.325, allocations: 1.811 MB / 0.6182 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.327, allocations: 0.7997 MB / 0.6189 GB, free: 19.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/1.338, allocations: 5.831 MB / 0.6246 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.338, allocations: 43.28 kB / 0.6247 GB, free: 13.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 4.438e-06/1.338, allocations: 0 / 0.6247 GB, free: 13.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.02313/1.361, allocations: 4.01 MB / 0.6286 GB, free: 9.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.361, allocations: 68.12 kB / 0.6287 GB, free: 9.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/1.365, allocations: 1.996 MB / 0.6306 GB, free: 7.148 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.365, allocations: 41.7 kB / 0.6306 GB, free: 7.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.366, allocations: 2.033 MB / 0.6326 GB, free: 5.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/1.367, allocations: 367.3 kB / 0.633 GB, free: 4.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/1.367, allocations: 68 kB / 0.633 GB, free: 4.609 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/1.367, allocations: 454 kB / 0.6335 GB, free: 4.156 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.369, allocations: 0.8502 MB / 0.6343 GB, free: 3.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/1.372, allocations: 2.893 MB / 0.6371 GB, free: 15.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/1.376, allocations: 1.554 MB / 0.6387 GB, free: 13.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.73e-05/1.376, allocations: 24 kB / 0.6387 GB, free: 13.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01013/1.386, allocations: 3.405 MB / 0.642 GB, free: 10.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/1.386, allocations: 36 kB / 0.642 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/1.386, allocations: 72 kB / 0.6421 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/1.387, allocations: 108 kB / 0.6422 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/1.392, allocations: 0.7922 MB / 0.643 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/1.392, allocations: 147.4 kB / 0.6431 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/1.395, allocations: 151.8 kB / 0.6433 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/1.396, allocations: 204 kB / 0.6435 GB, free: 8.887 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (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],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.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 (436): * Single equations (assignments): 436 * 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.0006917/1.396, allocations: 400.3 kB / 0.6438 GB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/1.397, allocations: 201.4 kB / 0.644 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/1.4, allocations: 1.115 MB / 0.6451 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/1.4, allocations: 8 kB / 0.6451 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.4, allocations: 3.984 kB / 0.6451 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.4, allocations: 7.984 kB / 0.6451 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.413, allocations: 5.326 MB / 0.6503 GB, free: 1.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/1.413, allocations: 20.19 kB / 0.6504 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.415, allocations: 239.6 kB / 0.6506 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-05/1.415, allocations: 28 kB / 0.6506 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.415, allocations: 47.98 kB / 0.6507 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.532e-05/1.415, allocations: 35.86 kB / 0.6507 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.472e-05/1.415, allocations: 31.88 kB / 0.6507 GB, free: 1.074 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/1.419, allocations: 3.47 MB / 0.6541 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.42, allocations: 302.2 kB / 0.6544 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/1.421, allocations: 47.98 kB / 0.6544 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.422, allocations: 47.98 kB / 0.6545 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.422, allocations: 139.9 kB / 0.6546 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.422, allocations: 56 kB / 0.6547 GB, free: 12.24 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003552/1.426, allocations: 1.436 MB / 0.6561 GB, free: 10.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.426, allocations: 3.938 kB / 0.6561 GB, free: 10.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004438/1.43, allocations: 0.5898 MB / 0.6567 GB, free: 10.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.006293/1.437, allocations: 9.134 MB / 0.6656 GB, free: 460 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005212/1.442, allocations: 1.989 MB / 0.6675 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/1.442, allocations: 448 / 0.6675 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/1.443, allocations: 0.5282 MB / 0.668 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.446, allocations: 326.4 kB / 0.6684 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/1.465, allocations: 6.195 MB / 0.6744 GB, free: 7.117 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005355/1.471, allocations: 2.531 MB / 0.6769 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/1.474, allocations: 1.269 MB / 0.6781 GB, free: 3.289 MB / 490.7 MB Notification: Performance of SimCode: time 3.537e-06/1.474, allocations: 0 / 0.6781 GB, free: 3.289 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.035/5.509, allocations: 50.05 MB / 0.727 GB, free: 146.8 MB / 0.5105 GB