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.139/2.139, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.33e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5715, allocations: 108.3 MB / 430.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5719, allocations: 71.97 kB / 430.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197/1.769, allocations: 229.8 MB / 0.6445 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.769, allocations: 0 / 0.6445 GB, free: 12.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001116/1.77, allocations: 283.9 kB / 0.6448 GB, free: 11.75 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.7592/2.529, allocations: 14.49 MB / 0.6589 GB, free: 28.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/2.53, allocations: 10.31 kB / 0.659 GB, free: 28.88 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01457/2.544, allocations: 2.848 MB / 0.6617 GB, free: 28.69 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07968/2.624, allocations: 10.46 MB / 0.672 GB, free: 27.83 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05429/2.678, allocations: 13.97 MB / 0.6856 GB, free: 27.31 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/2.68, allocations: 1.084 MB / 0.6867 GB, free: 27.28 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007681/2.687, allocations: 1.444 MB / 0.6881 GB, free: 27.26 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/2.795, allocations: 32.54 MB / 0.7198 GB, free: 21.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00105/2.796, allocations: 135.3 kB / 0.72 GB, free: 21.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006954/2.803, allocations: 0.6587 MB / 0.7206 GB, free: 21.26 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005641/2.809, allocations: 2.548 MB / 0.7231 GB, free: 21.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1066/2.915, allocations: 26.45 MB / 0.7489 GB, free: 13.36 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.09/4.006, allocations: 131.4 MB / 0.8772 GB, free: 35.92 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06276/4.068, allocations: 12.86 MB / 0.8898 GB, free: 35.25 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01353/4.082, allocations: 6.789 MB / 0.8964 GB, free: 35.2 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07457/4.157, allocations: 31.01 MB / 0.9267 GB, free: 27.8 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.971e-05/4.157, allocations: 82.59 kB / 0.9268 GB, free: 27.76 MB / 0.495 GB Notification: Performance of pre-optimization done (n=424): time 8.616e-06/4.157, allocations: 0 / 0.9268 GB, free: 27.76 MB / 0.495 GB Notification: Performance of matching and sorting (n=554): time 0.5528/4.71, allocations: 106.9 MB / 1.031 GB, free: 3.883 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4651/5.175, allocations: 23.09 MB / 1.054 GB, free: 121.3 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02525/5.2, allocations: 8.252 MB / 1.062 GB, free: 120.8 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001982/5.202, allocations: 109.5 kB / 1.062 GB, free: 120.8 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.008487/5.211, allocations: 8.94 MB / 1.071 GB, free: 116.8 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00428/5.215, allocations: 2.138 MB / 1.073 GB, free: 115.6 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003108/5.218, allocations: 323.9 kB / 1.073 GB, free: 115.6 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.001406/5.22, allocations: 0.9936 MB / 1.074 GB, free: 115.3 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02176/5.241, allocations: 9.217 MB / 1.083 GB, free: 115.2 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02852/5.27, allocations: 18.38 MB / 1.101 GB, free: 103.4 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/5.298, allocations: 12.8 MB / 1.113 GB, free: 99.85 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005117/5.299, allocations: 93.31 kB / 1.113 GB, free: 99.85 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.156/5.455, allocations: 33.73 MB / 1.146 GB, free: 89.46 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000338/5.455, allocations: 144.7 kB / 1.147 GB, free: 89.46 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07992/5.535, allocations: 21.65 MB / 1.168 GB, free: 82.56 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05329/5.589, allocations: 9.056 MB / 1.177 GB, free: 77.98 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02564/5.614, allocations: 3.987 MB / 1.18 GB, free: 74.63 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4545/6.069, allocations: 45.9 MB / 1.225 GB, free: 103.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02974/6.099, allocations: 1.707 MB / 1.227 GB, free: 103.2 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005266/6.104, allocations: 0.9811 MB / 1.228 GB, free: 103.2 MB / 0.5263 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.008063/6.112, allocations: 1.298 MB / 1.229 GB, free: 103.1 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004151/6.116, allocations: 0.8643 MB / 1.23 GB, free: 103.1 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1191/6.235, allocations: 27.46 MB / 1.257 GB, free: 102.7 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1089/6.344, allocations: 25.62 MB / 1.282 GB, free: 102.3 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-05/6.344, allocations: 25.78 kB / 1.282 GB, free: 102.3 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001669/6.345, allocations: 25.47 kB / 1.282 GB, free: 102.3 MB / 0.5263 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.2026/6.547, allocations: 58.43 MB / 1.339 GB, free: 81.82 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001103/6.547, allocations: 5.953 kB / 1.339 GB, free: 81.82 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01118/6.559, allocations: 1.081 MB / 1.34 GB, free: 81.8 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0855/6.644, allocations: 14.01 MB / 1.354 GB, free: 75.36 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002098/6.646, allocations: 167.8 kB / 1.354 GB, free: 75.2 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5373/7.184, allocations: 59.14 MB / 1.412 GB, free: 99.96 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05539/7.239, allocations: 22.82 MB / 1.434 GB, free: 93.18 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1352/7.374, allocations: 39.2 MB / 1.472 GB, free: 91.41 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01027/7.385, allocations: 2.473 MB / 1.475 GB, free: 90.63 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004915/7.39, allocations: 123.1 kB / 1.475 GB, free: 90.55 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0191/7.409, allocations: 0.8579 MB / 1.476 GB, free: 90.48 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005704/7.415, allocations: 427.6 kB / 1.476 GB, free: 90.43 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002867/7.418, allocations: 176.5 kB / 1.476 GB, free: 90.4 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0249/7.443, allocations: 5.69 MB / 1.482 GB, free: 88.44 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.735e-06/7.443, allocations: 0 / 1.482 GB, free: 88.44 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.04022/7.483, allocations: 4.275 MB / 1.486 GB, free: 88.1 MB / 0.5263 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.1412/7.624, allocations: 40.27 MB / 1.525 GB, free: 73.68 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.05279/7.677, allocations: 22.24 MB / 1.547 GB, free: 56.54 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/7.677, allocations: 1.969 kB / 1.547 GB, free: 56.54 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.03089/7.708, allocations: 10.97 MB / 1.558 GB, free: 46.82 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01251/7.721, allocations: 1.275 MB / 1.559 GB, free: 45.8 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5595/8.28, allocations: 35.67 MB / 1.594 GB, free: 106.4 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02817/8.308, allocations: 9.47 MB / 1.603 GB, free: 105.4 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.02697/8.335, allocations: 5.115 MB / 1.608 GB, free: 105.3 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01822/8.354, allocations: 6.625 MB / 1.614 GB, free: 105.2 MB / 0.5263 GB Notification: Performance of SimCode: time 1.392e-06/8.354, allocations: 0 / 1.614 GB, free: 105.2 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/9.428, allocations: 283.8 MB / 1.892 GB, free: 64 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/9.428, allocations: 191.6 kB / 1.892 GB, free: 63.77 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/22.11, allocations: 0 / 1.892 GB, free: 63.77 MB / 0.5263 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