Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.263/3.263, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.59e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4569, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7092/1.166, allocations: 114.5 MB / 468.9 MB, free: 38.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.167, allocations: 75.41 kB / 468.9 MB, free: 38.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.68/2.847, allocations: 224.3 MB / 0.677 GB, free: 41.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.328e-06/2.847, allocations: 0 / 0.677 GB, free: 41.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001015/2.848, allocations: 281.6 kB / 0.6773 GB, free: 41.11 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.105/2.953, allocations: 14.49 MB / 0.6914 GB, free: 36.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/2.953, allocations: 13.06 kB / 0.6915 GB, free: 36.69 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01607/2.969, allocations: 2.246 MB / 0.6936 GB, free: 36.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1036/3.073, allocations: 10.51 MB / 0.7039 GB, free: 35.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06581/3.139, allocations: 14 MB / 0.7176 GB, free: 34.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/3.14, allocations: 0.6138 MB / 0.7182 GB, free: 34.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008433/3.148, allocations: 0.8508 MB / 0.719 GB, free: 34.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06299/3.211, allocations: 19.38 MB / 0.7379 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09581/3.307, allocations: 27.9 MB / 0.7652 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001178/3.309, allocations: 142.1 kB / 0.7653 GB, free: 7.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007594/3.316, allocations: 64 kB / 0.7654 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007239/3.323, allocations: 2.544 MB / 0.7679 GB, free: 5.617 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7893/4.113, allocations: 126.4 MB / 0.8913 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/4.132, allocations: 8.514 MB / 0.8996 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01713/4.149, allocations: 6.657 MB / 0.9061 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09018/4.24, allocations: 30.76 MB / 0.9362 GB, free: 42.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.765e-05/4.24, allocations: 81.69 kB / 0.9363 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=424): time 1.191e-05/4.24, allocations: 3.188 kB / 0.9363 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=554): time 0.5372/4.777, allocations: 95.29 MB / 1.029 GB, free: 252 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4992/5.276, allocations: 334.4 kB / 1.03 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03683/5.313, allocations: 7.397 MB / 1.037 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002739/5.316, allocations: 29.2 kB / 1.037 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01385/5.33, allocations: 9.02 MB / 1.046 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006797/5.337, allocations: 2.077 MB / 1.048 GB, free: 107 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003909/5.341, allocations: 3.938 kB / 1.048 GB, free: 107 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002543/5.343, allocations: 0.9999 MB / 1.049 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02487/5.368, allocations: 8.982 MB / 1.057 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03276/5.401, allocations: 18.42 MB / 1.075 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0346/5.436, allocations: 12.55 MB / 1.088 GB, free: 94.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005702/5.436, allocations: 98.34 kB / 1.088 GB, free: 94.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.1505/5.587, allocations: 33.01 MB / 1.12 GB, free: 89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004704/5.587, allocations: 148.2 kB / 1.12 GB, free: 89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1298/5.717, allocations: 21.56 MB / 1.141 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0796/5.797, allocations: 9.266 MB / 1.15 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03183/5.829, allocations: 4.018 MB / 1.154 GB, free: 80.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1252/5.954, allocations: 43.18 MB / 1.196 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04845/6.003, allocations: 1.392 MB / 1.198 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005767/6.008, allocations: 1.006 MB / 1.199 GB, free: 40.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2001): * Single equations (assignments): 1974 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007959/6.016, allocations: 0.932 MB / 1.2 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003493/6.02, allocations: 0.8253 MB / 1.2 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6519/6.672, allocations: 27.05 MB / 1.227 GB, free: 90.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1295/6.801, allocations: 25.29 MB / 1.252 GB, free: 90.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.273e-05/6.801, allocations: 20.84 kB / 1.252 GB, free: 90.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002254/6.802, allocations: 29.66 kB / 1.252 GB, free: 90.65 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.232/7.034, allocations: 55.53 MB / 1.306 GB, free: 83.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.995e-05/7.034, allocations: 0 / 1.306 GB, free: 83.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/7.048, allocations: 1.079 MB / 1.307 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1211/7.169, allocations: 13.93 MB / 1.32 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002361/7.171, allocations: 96.45 kB / 1.321 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1905/7.362, allocations: 56.1 MB / 1.375 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06813/7.43, allocations: 21.77 MB / 1.397 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6848/8.115, allocations: 38.68 MB / 1.434 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01157/8.127, allocations: 2.411 MB / 1.437 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004765/8.131, allocations: 43.33 kB / 1.437 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01906/8.15, allocations: 0.7679 MB / 1.438 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004629/8.155, allocations: 413.4 kB / 1.438 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002279/8.157, allocations: 181.8 kB / 1.438 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01556/8.173, allocations: 4.906 MB / 1.443 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.395e-06/8.173, allocations: 0 / 1.443 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03148/8.205, allocations: 4.132 MB / 1.447 GB, free: 80.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1706/8.375, allocations: 39.69 MB / 1.486 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06287/8.438, allocations: 22.43 MB / 1.508 GB, free: 73.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/8.438, allocations: 0 / 1.508 GB, free: 73.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03679/8.475, allocations: 10.88 MB / 1.518 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/8.488, allocations: 1.065 MB / 1.519 GB, free: 68.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1447/8.633, allocations: 34.97 MB / 1.553 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02946/8.662, allocations: 9.471 MB / 1.563 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03235/8.695, allocations: 5.134 MB / 1.568 GB, free: 40.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0214/8.716, allocations: 6.621 MB / 1.574 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.104e-06/8.716, allocations: 3.188 kB / 1.574 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.854/10.57, allocations: 274.1 MB / 1.842 GB, free: 55.22 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001152/10.57, allocations: 162.8 kB / 1.842 GB, free: 55.03 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 15.47/26.04, allocations: 0 / 1.842 GB, free: 55.03 MB / 0.573 GB