Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.496e-05, allocations: 0 / 347.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4146, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5963/1.011, allocations: 122.9 MB / 0.5194 GB, free: 47.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.011, allocations: 78.19 kB / 0.5195 GB, free: 47.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252/2.264, allocations: 221.8 MB / 0.7361 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.645e-06/2.264, allocations: 0 / 0.7361 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008396/2.265, allocations: 272.2 kB / 0.7363 GB, free: 58.12 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.08223/2.347, allocations: 14.06 MB / 0.7501 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.347, allocations: 11.03 kB / 0.7501 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01309/2.36, allocations: 2.711 MB / 0.7527 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07626/2.436, allocations: 10.39 MB / 0.7629 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05035/2.487, allocations: 13.29 MB / 0.7759 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001332/2.488, allocations: 1.038 MB / 0.7769 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007381/2.496, allocations: 1.381 MB / 0.7782 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1052/2.601, allocations: 31.16 MB / 0.8087 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001302/2.602, allocations: 137 kB / 0.8088 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00743/2.61, allocations: 0.6338 MB / 0.8094 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005234/2.615, allocations: 2.358 MB / 0.8117 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08534/2.701, allocations: 25.13 MB / 0.8362 GB, free: 42.57 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.7431/3.444, allocations: 126.9 MB / 0.9602 GB, free: 48.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07782/3.522, allocations: 12.36 MB / 0.9723 GB, free: 48.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02019/3.542, allocations: 6.576 MB / 0.9787 GB, free: 47.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08797/3.63, allocations: 30.07 MB / 1.008 GB, free: 40.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.777e-05/3.63, allocations: 77.5 kB / 1.008 GB, free: 40.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=379): time 8.737e-06/3.63, allocations: 0 / 1.008 GB, free: 40.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508): time 0.5134/4.143, allocations: 102.2 MB / 1.108 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06347/4.207, allocations: 23.21 MB / 1.131 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02455/4.232, allocations: 7.948 MB / 1.138 GB, free: 208 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001702/4.233, allocations: 105.6 kB / 1.138 GB, free: 100 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01018/4.244, allocations: 8.31 MB / 1.147 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004554/4.248, allocations: 1.98 MB / 1.148 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/4.251, allocations: 296 kB / 1.149 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.001932/4.253, allocations: 0.9634 MB / 1.15 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0293/4.283, allocations: 8.933 MB / 1.158 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03395/4.317, allocations: 17.7 MB / 1.176 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4705/4.787, allocations: 12.36 MB / 1.188 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003331/4.788, allocations: 93.11 kB / 1.188 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.1323/4.92, allocations: 32.78 MB / 1.22 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003186/4.92, allocations: 142.3 kB / 1.22 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08056/5.001, allocations: 21.42 MB / 1.241 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05568/5.057, allocations: 9.288 MB / 1.25 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02354/5.08, allocations: 3.717 MB / 1.254 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07802/5.158, allocations: 47.03 MB / 1.3 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02647/5.185, allocations: 1.66 MB / 1.301 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004109/5.189, allocations: 0.9388 MB / 1.302 GB, free: 129.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1423 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1850): * Single equations (assignments): 1823 * 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.006171/5.195, allocations: 1.253 MB / 1.303 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002775/5.198, allocations: 0.8263 MB / 1.304 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1128/5.311, allocations: 26.84 MB / 1.33 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1256/5.436, allocations: 25.13 MB / 1.355 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.092e-05/5.437, allocations: 20 kB / 1.355 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001317/5.437, allocations: 20.95 kB / 1.355 GB, free: 104.6 MB / 0.6511 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.1797/5.616, allocations: 56.78 MB / 1.41 GB, free: 50.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.679e-05/5.617, allocations: 4 kB / 1.41 GB, free: 50.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009745/5.626, allocations: 0.9788 MB / 1.411 GB, free: 49.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5389/6.165, allocations: 14 MB / 1.425 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001845/6.167, allocations: 154.6 kB / 1.425 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1166/6.284, allocations: 59.19 MB / 1.483 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05012/6.334, allocations: 22.82 MB / 1.505 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1289/6.463, allocations: 38.26 MB / 1.543 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/6.466, allocations: 0.8958 MB / 1.543 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004/6.47, allocations: 119 kB / 1.544 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01467/6.485, allocations: 0.8344 MB / 1.544 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003122/6.488, allocations: 383.8 kB / 1.545 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001397/6.49, allocations: 164 kB / 1.545 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01493/6.505, allocations: 5.468 MB / 1.55 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.02e-07/6.505, allocations: 6.312 kB / 1.55 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02481/6.529, allocations: 4.143 MB / 1.554 GB, free: 111.9 MB / 0.6511 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 (384): * Single equations (assignments): 369 * 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.1315/6.661, allocations: 39.35 MB / 1.593 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.04923/6.71, allocations: 21.95 MB / 1.614 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/6.71, allocations: 0 / 1.614 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02788/6.738, allocations: 10.68 MB / 1.625 GB, free: 60.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/6.75, allocations: 1.292 MB / 1.626 GB, free: 59.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6072/7.357, allocations: 35.75 MB / 1.661 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02551/7.383, allocations: 9.079 MB / 1.67 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01836/7.401, allocations: 6.386 MB / 1.676 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/7.401, allocations: 3.75 kB / 1.676 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.2/18.61, allocations: 0.8987 GB / 2.575 GB, free: 129.9 MB / 0.6511 GB