Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.656e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4237, allocations: 54.86 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.6339, allocations: 115.1 MB / 475 MB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.6342, allocations: 79.95 kB / 475.1 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251/1.885, allocations: 230.1 MB / 0.6886 GB, free: 14.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.886, allocations: 0 / 0.6886 GB, free: 14.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009957/1.887, allocations: 280 kB / 0.6889 GB, free: 14.7 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.09037/1.977, allocations: 14.5 MB / 0.7031 GB, free: 100 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.977, allocations: 8.031 kB / 0.7031 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4436/2.421, allocations: 2.838 MB / 0.7058 GB, free: 41.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1286/2.549, allocations: 10.52 MB / 0.7161 GB, free: 40.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07936/2.629, allocations: 14 MB / 0.7298 GB, free: 40.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00139/2.63, allocations: 1.09 MB / 0.7309 GB, free: 40.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01113/2.641, allocations: 1.443 MB / 0.7323 GB, free: 40.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1435/2.785, allocations: 32.54 MB / 0.764 GB, free: 34.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001242/2.786, allocations: 146.6 kB / 0.7642 GB, free: 34.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007043/2.793, allocations: 0.6601 MB / 0.7648 GB, free: 34.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005741/2.799, allocations: 2.545 MB / 0.7673 GB, free: 34.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09494/2.894, allocations: 26.45 MB / 0.7931 GB, free: 28.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7299/3.624, allocations: 131.4 MB / 0.9215 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06542/3.69, allocations: 12.85 MB / 0.9341 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01351/3.703, allocations: 6.793 MB / 0.9407 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0696/3.773, allocations: 31.03 MB / 0.971 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/3.773, allocations: 80.81 kB / 0.9711 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=424): time 8.496e-06/3.773, allocations: 0 / 0.9711 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=554): time 0.5415/4.315, allocations: 106.6 MB / 1.075 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0583/4.373, allocations: 23.09 MB / 1.098 GB, free: 5.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02466/4.398, allocations: 8.254 MB / 1.106 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.00184/4.399, allocations: 107.8 kB / 1.106 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01103/4.411, allocations: 8.936 MB / 1.115 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004924/4.416, allocations: 2.151 MB / 1.117 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00352/4.419, allocations: 319.2 kB / 1.117 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002323/4.421, allocations: 0.984 MB / 1.118 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0259/4.447, allocations: 9.235 MB / 1.127 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.443/4.89, allocations: 18.39 MB / 1.145 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.032/4.923, allocations: 12.8 MB / 1.157 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007743/4.923, allocations: 93.59 kB / 1.158 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1247/5.048, allocations: 34.04 MB / 1.191 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003436/5.049, allocations: 144.3 kB / 1.191 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1128/5.161, allocations: 21.9 MB / 1.212 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08548/5.247, allocations: 9.314 MB / 1.221 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03142/5.278, allocations: 3.942 MB / 1.225 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08067/5.359, allocations: 47.04 MB / 1.271 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02857/5.388, allocations: 1.704 MB / 1.273 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005129/5.393, allocations: 0.9773 MB / 1.274 GB, free: 118.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * 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 (1958): * Single equations (assignments): 1931 * 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.007317/5.4, allocations: 1.303 MB / 1.275 GB, free: 118 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002729/5.403, allocations: 0.8681 MB / 1.276 GB, free: 118 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1137/5.517, allocations: 27.46 MB / 1.303 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1063/5.623, allocations: 25.63 MB / 1.328 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-05/5.623, allocations: 20 kB / 1.328 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001622/5.623, allocations: 27.91 kB / 1.328 GB, free: 82.26 MB / 0.6042 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.6225/6.246, allocations: 58.43 MB / 1.385 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.379e-05/6.246, allocations: 3.656 kB / 1.385 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01116/6.257, allocations: 1.081 MB / 1.386 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08734/6.345, allocations: 14 MB / 1.4 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001909/6.347, allocations: 163.3 kB / 1.4 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1153/6.462, allocations: 59.14 MB / 1.458 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05061/6.513, allocations: 22.82 MB / 1.48 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1311/6.644, allocations: 39.21 MB / 1.518 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009697/6.654, allocations: 2.48 MB / 1.521 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004275/6.658, allocations: 122.5 kB / 1.521 GB, free: 99.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0161/6.674, allocations: 0.8597 MB / 1.521 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003321/6.677, allocations: 410.4 kB / 1.522 GB, free: 98.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001813/6.679, allocations: 185 kB / 1.522 GB, free: 98.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01564/6.695, allocations: 5.691 MB / 1.528 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.61e-07/6.695, allocations: 0 / 1.528 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02666/6.722, allocations: 4.288 MB / 1.532 GB, free: 89.18 MB / 0.6042 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.1325/6.854, allocations: 40.26 MB / 1.571 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.4586/7.313, allocations: 22.63 MB / 1.593 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/7.313, allocations: 1.219 kB / 1.593 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.03489/7.348, allocations: 10.98 MB / 1.604 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/7.365, allocations: 1.276 MB / 1.605 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1372/7.502, allocations: 35.69 MB / 1.64 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02537/7.528, allocations: 9.476 MB / 1.649 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02679/7.554, allocations: 5.102 MB / 1.654 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01745/7.572, allocations: 6.633 MB / 1.661 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.144e-06/7.572, allocations: 4 kB / 1.661 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/8.634, allocations: 285.8 MB / 1.94 GB, free: 90.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/8.634, allocations: 192 kB / 1.94 GB, free: 90.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/21.32, allocations: 0 / 1.94 GB, free: 90.16 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat