Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.121/3.121, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.439e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.447, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.6642, allocations: 91.35 MB / 445.8 MB, free: 3.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.6646, allocations: 71.97 kB / 445.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5851/1.25, allocations: 33.98 MB / 479.8 MB, free: 91.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.25, allocations: 4 kB / 479.8 MB, free: 91.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001075/1.25, allocations: 36.03 kB / 479.9 MB, free: 91.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.01039/1.26, allocations: 2.189 MB / 482 MB, free: 90.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/1.26, allocations: 9.969 kB / 482.1 MB, free: 90.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001683/1.262, allocations: 290.2 kB / 482.3 MB, free: 90.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004563/1.267, allocations: 385.3 kB / 482.7 MB, free: 90.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/1.272, allocations: 1.139 MB / 483.9 MB, free: 90.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/1.272, allocations: 81.16 kB / 483.9 MB, free: 90.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/1.273, allocations: 110.8 kB / 484 MB, free: 90.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008496/1.282, allocations: 2.745 MB / 486.8 MB, free: 88.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.293, allocations: 3.758 MB / 490.5 MB, free: 85.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/1.293, allocations: 11.88 kB / 490.6 MB, free: 85.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004617/1.294, allocations: 11.95 kB / 490.6 MB, free: 85.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.296, allocations: 0.515 MB / 491.1 MB, free: 84.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/1.335, allocations: 15.53 MB / 0.4947 GB, free: 68.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/1.337, allocations: 0.8449 MB / 0.4956 GB, free: 68.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/1.339, allocations: 0.6598 MB / 0.4962 GB, free: 67.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008954/1.348, allocations: 3.493 MB / 0.4996 GB, free: 63.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.348, allocations: 50.45 kB / 0.4997 GB, free: 63.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 5.079e-06/1.348, allocations: 3.938 kB / 0.4997 GB, free: 63.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.007824/1.356, allocations: 1.057 MB / 0.5007 GB, free: 62.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.356, allocations: 110.8 kB / 0.5008 GB, free: 62.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.359, allocations: 1.259 MB / 0.502 GB, free: 61.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.279e-05/1.359, allocations: 29.7 kB / 0.5021 GB, free: 61.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.36, allocations: 1.471 MB / 0.5035 GB, free: 59.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/1.36, allocations: 138.6 kB / 0.5036 GB, free: 59.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.36, allocations: 0 / 0.5036 GB, free: 59.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/1.361, allocations: 443.6 kB / 0.5041 GB, free: 59.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.362, allocations: 468.7 kB / 0.5045 GB, free: 58.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/1.364, allocations: 2.061 MB / 0.5065 GB, free: 55.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/1.367, allocations: 0.9399 MB / 0.5074 GB, free: 54.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-05/1.367, allocations: 16 kB / 0.5075 GB, free: 54.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006735/1.373, allocations: 2.135 MB / 0.5095 GB, free: 52.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/1.374, allocations: 28 kB / 0.5096 GB, free: 52.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-05/1.374, allocations: 60 kB / 0.5096 GB, free: 52.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/1.374, allocations: 87.95 kB / 0.5097 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.378, allocations: 0.5692 MB / 0.5103 GB, free: 51.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/1.378, allocations: 114.9 kB / 0.5104 GB, free: 51.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.381, allocations: 284.6 kB / 0.5106 GB, free: 51.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/1.382, allocations: 155.9 kB / 0.5108 GB, free: 51.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],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.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 (307): * Single equations (assignments): 307 * 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.0004466/1.382, allocations: 262.8 kB / 0.511 GB, free: 51.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/1.382, allocations: 118.4 kB / 0.5112 GB, free: 50.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/1.383, allocations: 131.5 kB / 0.5113 GB, free: 50.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.383, allocations: 11.94 kB / 0.5113 GB, free: 50.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.383, allocations: 4 kB / 0.5113 GB, free: 50.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/1.383, allocations: 0 / 0.5113 GB, free: 50.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/1.389, allocations: 2.503 MB / 0.5137 GB, free: 48.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.389, allocations: 8 kB / 0.5137 GB, free: 48.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/1.39, allocations: 83.53 kB / 0.5138 GB, free: 48.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/1.39, allocations: 12 kB / 0.5138 GB, free: 48.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/1.39, allocations: 12 kB / 0.5138 GB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/1.39, allocations: 15.92 kB / 0.5139 GB, free: 48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.39, allocations: 16.47 kB / 0.5139 GB, free: 47.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.391, allocations: 1.192 MB / 0.515 GB, free: 46.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/1.392, allocations: 203.4 kB / 0.5152 GB, free: 46.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/1.392, allocations: 12 kB / 0.5152 GB, free: 46.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/1.393, allocations: 19.97 kB / 0.5153 GB, free: 46.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.393, allocations: 55.75 kB / 0.5153 GB, free: 46.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/1.393, allocations: 23.94 kB / 0.5153 GB, free: 46.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001983/1.395, allocations: 0.8276 MB / 0.5162 GB, free: 45.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.232e-06/1.395, allocations: 0 / 0.5162 GB, free: 45.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003395/1.399, allocations: 453.7 kB / 0.5166 GB, free: 44.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.002216/1.401, allocations: 4.139 MB / 0.5206 GB, free: 40.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003129/1.404, allocations: 1.123 MB / 0.5217 GB, free: 39.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.404, allocations: 0 / 0.5217 GB, free: 39.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/1.405, allocations: 181.3 kB / 0.5219 GB, free: 39.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.406, allocations: 121.6 kB / 0.522 GB, free: 38.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.419, allocations: 3.132 MB / 0.5251 GB, free: 35.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/1.422, allocations: 1.728 MB / 0.5268 GB, free: 33.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003853/1.426, allocations: 0.6168 MB / 0.5274 GB, free: 33.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.428, allocations: 0.7453 MB / 0.5281 GB, free: 32.54 MB / 394.7 MB Notification: Performance of SimCode: time 4.318e-06/1.428, allocations: 0 / 0.5281 GB, free: 32.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/1.576, allocations: 23.14 MB / 0.5507 GB, free: 9.535 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003138/1.576, allocations: 136.1 kB / 0.5508 GB, free: 9.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.363/5.939, allocations: 0 / 0.5508 GB, free: 9.34 MB / 394.7 MB