Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.673/2.673, allocations: 270 MB / 282.7 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.422e-05, allocations: 8 kB / 347.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.5914, allocations: 100.7 MB / 0.4976 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5917, allocations: 71.97 kB / 0.4977 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4625/1.054, allocations: 30.55 MB / 0.5275 GB, free: 98.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.054, allocations: 0 / 0.5275 GB, free: 98.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.26e-05/1.054, allocations: 32.16 kB / 0.5276 GB, free: 98.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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.007594/1.062, allocations: 2.001 MB / 0.5295 GB, free: 97.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.062, allocations: 10.72 kB / 0.5295 GB, free: 97.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/1.063, allocations: 310.1 kB / 0.5298 GB, free: 97.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/1.066, allocations: 320.1 kB / 0.5301 GB, free: 97.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/1.069, allocations: 1.046 MB / 0.5311 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.07, allocations: 130.4 kB / 0.5313 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007396/1.07, allocations: 161.3 kB / 0.5314 GB, free: 97.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.084, allocations: 4.214 MB / 0.5355 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/1.084, allocations: 11.69 kB / 0.5355 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/1.085, allocations: 76.7 kB / 0.5356 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008553/1.085, allocations: 419.2 kB / 0.536 GB, free: 96.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/1.098, allocations: 3.484 MB / 0.5394 GB, free: 95.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02454/1.123, allocations: 14.53 MB / 0.5536 GB, free: 83.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/1.13, allocations: 1.216 MB / 0.5548 GB, free: 82.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.131, allocations: 0.6812 MB / 0.5555 GB, free: 82.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007221/1.138, allocations: 3.719 MB / 0.5591 GB, free: 78.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.138, allocations: 46.92 kB / 0.5591 GB, free: 78.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.967e-06/1.138, allocations: 0 / 0.5591 GB, free: 78.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.00978/1.148, allocations: 1.453 MB / 0.5606 GB, free: 77.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.148, allocations: 59.41 kB / 0.5606 GB, free: 77.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.15, allocations: 1.307 MB / 0.5619 GB, free: 75.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/1.151, allocations: 29.7 kB / 0.5619 GB, free: 75.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/1.151, allocations: 1.22 MB / 0.5631 GB, free: 74.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/1.152, allocations: 173.8 kB / 0.5633 GB, free: 74.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/1.152, allocations: 44 kB / 0.5633 GB, free: 74.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/1.152, allocations: 398.9 kB / 0.5637 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/1.153, allocations: 468.1 kB / 0.5641 GB, free: 73.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.154, allocations: 1.85 MB / 0.566 GB, free: 71.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.156, allocations: 0.9014 MB / 0.5668 GB, free: 70.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/1.156, allocations: 12 kB / 0.5668 GB, free: 70.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004563/1.161, allocations: 2.022 MB / 0.5688 GB, free: 68.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/1.161, allocations: 31.98 kB / 0.5689 GB, free: 68.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/1.161, allocations: 52 kB / 0.5689 GB, free: 67.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/1.161, allocations: 72 kB / 0.569 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/1.164, allocations: 491.7 kB / 0.5694 GB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-05/1.164, allocations: 111.5 kB / 0.5695 GB, free: 67.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.166, allocations: 296.9 kB / 0.5698 GB, free: 67.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.166, allocations: 132 kB / 0.57 GB, free: 66.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.0003732/1.167, allocations: 299.2 kB / 0.5702 GB, free: 66.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/1.167, allocations: 118.4 kB / 0.5704 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/1.167, allocations: 148.6 kB / 0.5705 GB, free: 66.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.167, allocations: 4 kB / 0.5705 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/1.167, allocations: 0 / 0.5705 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/1.167, allocations: 3.953 kB / 0.5705 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/1.173, allocations: 2.794 MB / 0.5732 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.173, allocations: 12 kB / 0.5732 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/1.173, allocations: 103.5 kB / 0.5733 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/1.173, allocations: 23.94 kB / 0.5734 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/1.173, allocations: 20 kB / 0.5734 GB, free: 63.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/1.173, allocations: 19.92 kB / 0.5734 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/1.173, allocations: 19.94 kB / 0.5734 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/1.175, allocations: 1.496 MB / 0.5749 GB, free: 61.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/1.175, allocations: 227.2 kB / 0.5751 GB, free: 60.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.175, allocations: 23.98 kB / 0.5751 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/1.176, allocations: 27.94 kB / 0.5751 GB, free: 60.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/1.176, allocations: 71.73 kB / 0.5752 GB, free: 60.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/1.176, allocations: 24 kB / 0.5752 GB, free: 60.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001706/1.178, allocations: 0.8841 MB / 0.5761 GB, free: 59.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.178, allocations: 0 / 0.5761 GB, free: 59.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002333/1.18, allocations: 402.7 kB / 0.5765 GB, free: 59.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002193/1.183, allocations: 5.276 MB / 0.5816 GB, free: 53.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/1.185, allocations: 1.073 MB / 0.5827 GB, free: 52.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.185, allocations: 4.438 kB / 0.5827 GB, free: 52.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/1.186, allocations: 218 kB / 0.5829 GB, free: 52.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.187, allocations: 193.1 kB / 0.5831 GB, free: 52.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/1.195, allocations: 3.059 MB / 0.5861 GB, free: 49.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/1.197, allocations: 1.571 MB / 0.5876 GB, free: 47.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.198, allocations: 0.6282 MB / 0.5882 GB, free: 46.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/1.198, allocations: 0 / 0.5882 GB, free: 46.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.99/4.188, allocations: 25.91 MB / 0.6135 GB, free: 21.11 MB / 442.7 MB