Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.378/3.378, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.575e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5052, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.7742, allocations: 101.3 MB / 455.8 MB, free: 9.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/0.7746, allocations: 75.97 kB / 455.8 MB, free: 9.621 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9078/1.682, allocations: 97.34 MB / 0.5402 GB, free: 24.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.683, allocations: 0 / 0.5402 GB, free: 24.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000342/1.683, allocations: 92 kB / 0.5403 GB, free: 24.27 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02477/1.708, allocations: 5.118 MB / 0.5453 GB, free: 19.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.708, allocations: 8.031 kB / 0.5453 GB, free: 19.08 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003995/1.712, allocations: 0.6616 MB / 0.5459 GB, free: 18.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04192/1.754, allocations: 4.611 MB / 0.5504 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.78, allocations: 6.053 MB / 0.5564 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/1.78, allocations: 193.5 kB / 0.5565 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/1.783, allocations: 279.8 kB / 0.5568 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02134/1.805, allocations: 7.414 MB / 0.564 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/1.842, allocations: 10.84 MB / 0.5746 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004175/1.843, allocations: 67.39 kB / 0.5747 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002578/1.845, allocations: 39.94 kB / 0.5747 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/1.849, allocations: 1.261 MB / 0.576 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5862/2.436, allocations: 54.22 MB / 0.6289 GB, free: 71.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/2.447, allocations: 4.374 MB / 0.6332 GB, free: 70.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006956/2.454, allocations: 2.94 MB / 0.6361 GB, free: 70.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03674/2.49, allocations: 12.17 MB / 0.6479 GB, free: 68.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/2.491, allocations: 62.11 kB / 0.648 GB, free: 68.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 7.785e-06/2.491, allocations: 0 / 0.648 GB, free: 68.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1503/2.641, allocations: 28.83 MB / 0.6762 GB, free: 61.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/2.641, allocations: 204.2 kB / 0.6764 GB, free: 61.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009692/2.651, allocations: 3.3 MB / 0.6796 GB, free: 59.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009399/2.652, allocations: 25.7 kB / 0.6796 GB, free: 59.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003998/2.656, allocations: 3.489 MB / 0.683 GB, free: 57.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002105/2.658, allocations: 0.9251 MB / 0.6839 GB, free: 56.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/2.659, allocations: 0 / 0.6839 GB, free: 56.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009296/2.66, allocations: 0.602 MB / 0.6845 GB, free: 56.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009736/2.67, allocations: 2.906 MB / 0.6873 GB, free: 55.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01217/2.682, allocations: 6.932 MB / 0.6941 GB, free: 48.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/2.695, allocations: 4.415 MB / 0.6984 GB, free: 45.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001819/2.695, allocations: 44 kB / 0.6985 GB, free: 45.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.05245/2.748, allocations: 11.62 MB / 0.7098 GB, free: 36.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/2.748, allocations: 68 kB / 0.7099 GB, free: 36.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003199/2.748, allocations: 144 kB / 0.71 GB, free: 36.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02409/2.773, allocations: 3.173 MB / 0.7131 GB, free: 34.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/2.787, allocations: 1.601 MB / 0.7147 GB, free: 33.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04537/2.832, allocations: 13.83 MB / 0.7282 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.844, allocations: 345.8 kB / 0.7285 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/2.846, allocations: 424.7 kB / 0.7289 GB, free: 20.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00225/2.849, allocations: 467.9 kB / 0.7294 GB, free: 20.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/2.85, allocations: 371.2 kB / 0.7297 GB, free: 19.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03225/2.882, allocations: 7.152 MB / 0.7367 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/2.882, allocations: 31.62 kB / 0.7367 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/2.882, allocations: 15.94 kB / 0.7367 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.347e-05/2.883, allocations: 11.02 kB / 0.7368 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05355/2.936, allocations: 13.9 MB / 0.7503 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/2.936, allocations: 4 kB / 0.7503 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004795/2.941, allocations: 379.4 kB / 0.7507 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01953/2.961, allocations: 2.846 MB / 0.7535 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007118/2.961, allocations: 11.98 kB / 0.7535 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04138/3.003, allocations: 12.34 MB / 0.7655 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/3.003, allocations: 0 / 0.7655 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04491/3.048, allocations: 11.1 MB / 0.7764 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/3.052, allocations: 0.871 MB / 0.7772 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/3.054, allocations: 7.984 kB / 0.7772 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005725/3.059, allocations: 171.3 kB / 0.7774 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001858/3.061, allocations: 149.7 kB / 0.7775 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000956/3.062, allocations: 61.02 kB / 0.7776 GB, free: 6.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01135/3.074, allocations: 2.209 MB / 0.7798 GB, free: 4.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.623e-06/3.074, allocations: 0 / 0.7798 GB, free: 4.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01523/3.089, allocations: 1.129 MB / 0.7809 GB, free: 3.246 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04848/3.138, allocations: 11.89 MB / 0.7925 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02664/3.164, allocations: 7.451 MB / 0.7998 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.402e-05/3.164, allocations: 0 / 0.7998 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/3.175, allocations: 2.967 MB / 0.8027 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/3.18, allocations: 366.9 kB / 0.803 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04956/3.23, allocations: 11.04 MB / 0.8138 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4565/3.686, allocations: 3.758 MB / 0.8174 GB, free: 155 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01279/3.699, allocations: 2.217 MB / 0.8196 GB, free: 155 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00617/3.705, allocations: 2.201 MB / 0.8218 GB, free: 155 MB / 0.5105 GB Notification: Performance of SimCode: time 2.134e-06/3.705, allocations: 0 / 0.8218 GB, free: 155 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/4.022, allocations: 96.21 MB / 0.9157 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003422/4.022, allocations: 133.2 kB / 0.9158 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.271/11.29, allocations: 0 / 0.9158 GB, free: 104.3 MB / 0.5105 GB