Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.168e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.5984, allocations: 108.3 MB / 430.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5988, allocations: 75.97 kB / 430.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155/1.754, allocations: 229.8 MB / 0.6445 GB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.754, allocations: 0 / 0.6445 GB, free: 12.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008219/1.755, allocations: 279.9 kB / 0.6448 GB, free: 11.78 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.7638/2.519, allocations: 14.49 MB / 0.6589 GB, free: 28.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/2.519, allocations: 8.875 kB / 0.6589 GB, free: 28.8 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01535/2.534, allocations: 2.848 MB / 0.6617 GB, free: 28.61 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08172/2.616, allocations: 10.46 MB / 0.6719 GB, free: 27.75 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05549/2.672, allocations: 13.97 MB / 0.6856 GB, free: 27.23 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001569/2.673, allocations: 1.09 MB / 0.6866 GB, free: 27.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008043/2.681, allocations: 1.449 MB / 0.688 GB, free: 27.19 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1085/2.79, allocations: 32.72 MB / 0.72 GB, free: 21.13 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001246/2.791, allocations: 141 kB / 0.7201 GB, free: 21.12 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007338/2.799, allocations: 0.6601 MB / 0.7208 GB, free: 21.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005715/2.804, allocations: 2.545 MB / 0.7233 GB, free: 21.09 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08737/2.892, allocations: 26.9 MB / 0.7495 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6709/3.563, allocations: 131.4 MB / 0.8778 GB, free: 36.98 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06114/3.624, allocations: 12.89 MB / 0.8904 GB, free: 36.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/3.637, allocations: 6.793 MB / 0.897 GB, free: 36.25 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07323/3.711, allocations: 31.01 MB / 0.9273 GB, free: 28.85 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/3.711, allocations: 84.45 kB / 0.9274 GB, free: 28.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=424): time 8.476e-06/3.711, allocations: 3.469 kB / 0.9274 GB, free: 28.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=554): time 0.5669/4.278, allocations: 106.4 MB / 1.031 GB, free: 5.883 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4109/4.689, allocations: 23.08 MB / 1.054 GB, free: 123.6 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02477/4.713, allocations: 8.253 MB / 1.062 GB, free: 123.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/4.715, allocations: 113.2 kB / 1.062 GB, free: 123.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007815/4.723, allocations: 8.937 MB / 1.071 GB, free: 119.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004253/4.727, allocations: 2.142 MB / 1.073 GB, free: 118 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0033/4.731, allocations: 322 kB / 1.073 GB, free: 118 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002022/4.733, allocations: 0.9913 MB / 1.074 GB, free: 117.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02247/4.755, allocations: 9.22 MB / 1.083 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02846/4.784, allocations: 18.48 MB / 1.101 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02884/4.813, allocations: 12.8 MB / 1.114 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000436/4.813, allocations: 92.97 kB / 1.114 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1153/4.929, allocations: 34.63 MB / 1.148 GB, free: 91.83 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004043/4.929, allocations: 146.6 kB / 1.148 GB, free: 91.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07982/5.009, allocations: 21.65 MB / 1.169 GB, free: 84.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05377/5.063, allocations: 9.065 MB / 1.178 GB, free: 81.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02742/5.09, allocations: 3.983 MB / 1.182 GB, free: 77.81 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4701/5.56, allocations: 46.41 MB / 1.227 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02867/5.589, allocations: 1.697 MB / 1.229 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004963/5.594, allocations: 0.9824 MB / 1.23 GB, free: 106.9 MB / 0.5262 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 (1967): * Single equations (assignments): 1940 * 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,1,1,1} * 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.007699/5.602, allocations: 1.311 MB / 1.231 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003632/5.606, allocations: 0.8673 MB / 1.232 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1158/5.721, allocations: 27.45 MB / 1.259 GB, free: 106.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1061/5.828, allocations: 25.62 MB / 1.284 GB, free: 106.1 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.798e-05/5.828, allocations: 26.61 kB / 1.284 GB, free: 106.1 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001886/5.828, allocations: 24.14 kB / 1.284 GB, free: 106.1 MB / 0.5262 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.2061/6.034, allocations: 58.44 MB / 1.341 GB, free: 87.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/6.034, allocations: 3.812 kB / 1.341 GB, free: 87.24 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01734/6.052, allocations: 1.082 MB / 1.342 GB, free: 87.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09799/6.15, allocations: 14 MB / 1.355 GB, free: 81.96 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001992/6.152, allocations: 165 kB / 1.356 GB, free: 81.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5222/6.674, allocations: 59.15 MB / 1.413 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05401/6.728, allocations: 22.83 MB / 1.436 GB, free: 96.36 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1324/6.86, allocations: 39.2 MB / 1.474 GB, free: 94.86 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01089/6.871, allocations: 2.476 MB / 1.476 GB, free: 94.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004771/6.876, allocations: 124 kB / 1.476 GB, free: 94.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01596/6.892, allocations: 0.855 MB / 1.477 GB, free: 94.54 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00354/6.896, allocations: 426 kB / 1.478 GB, free: 94.49 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001789/6.898, allocations: 179 kB / 1.478 GB, free: 94.46 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01621/6.914, allocations: 5.689 MB / 1.483 GB, free: 92.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.455e-06/6.914, allocations: 0 / 1.483 GB, free: 92.5 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02529/6.939, allocations: 4.27 MB / 1.488 GB, free: 92.16 MB / 0.5262 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.1333/7.073, allocations: 40.28 MB / 1.527 GB, free: 77.77 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.05264/7.125, allocations: 22.74 MB / 1.549 GB, free: 61.55 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/7.125, allocations: 0.875 kB / 1.549 GB, free: 61.55 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.03049/7.156, allocations: 11.1 MB / 1.56 GB, free: 51.66 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/7.169, allocations: 1.281 MB / 1.561 GB, free: 50.64 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5167/7.685, allocations: 35.75 MB / 1.596 GB, free: 110.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03695/7.722, allocations: 9.463 MB / 1.605 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.04038/7.763, allocations: 5.111 MB / 1.61 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02574/7.789, allocations: 6.632 MB / 1.617 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of SimCode: time 3.828e-06/7.789, allocations: 3.281 kB / 1.617 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/8.879, allocations: 285.6 MB / 1.896 GB, free: 64.97 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/8.88, allocations: 196.9 kB / 1.896 GB, free: 64.74 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/21.81, allocations: 0 / 1.896 GB, free: 64.74 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat