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.229/2.229, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.79e-05, allocations: 7.984 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.71 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.5783, allocations: 107.8 MB / 424.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5786, allocations: 81 kB / 424.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171/1.749, allocations: 223.2 MB / 0.6323 GB, free: 14.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.749, allocations: 0 / 0.6323 GB, free: 14.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009263/1.75, allocations: 276 kB / 0.6325 GB, free: 13.83 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.7809/2.531, allocations: 14.49 MB / 0.6467 GB, free: 31.21 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/2.531, allocations: 9.469 kB / 0.6467 GB, free: 31.21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08088/2.612, allocations: 10.47 MB / 0.6569 GB, free: 30.35 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05418/2.666, allocations: 13.95 MB / 0.6705 GB, free: 29.83 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009318/2.667, allocations: 474.6 kB / 0.671 GB, free: 29.83 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007467/2.675, allocations: 0.8545 MB / 0.6718 GB, free: 29.82 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05043/2.725, allocations: 19.35 MB / 0.6907 GB, free: 29.75 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0881/2.813, allocations: 27.86 MB / 0.7179 GB, free: 22.86 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001172/2.815, allocations: 137.1 kB / 0.718 GB, free: 22.85 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007144/2.822, allocations: 67.06 kB / 0.7181 GB, free: 22.85 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007385/2.829, allocations: 2.544 MB / 0.7206 GB, free: 22.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6538/3.483, allocations: 126.4 MB / 0.844 GB, free: 33.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/3.501, allocations: 8.527 MB / 0.8523 GB, free: 32.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/3.514, allocations: 6.65 MB / 0.8588 GB, free: 32.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07031/3.584, allocations: 30.75 MB / 0.8889 GB, free: 25.24 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.767e-05/3.584, allocations: 82.31 kB / 0.8889 GB, free: 25.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=424): time 8.576e-06/3.584, allocations: 0 / 0.8889 GB, free: 25.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=554): time 0.4107/3.995, allocations: 95.25 MB / 0.982 GB, free: 0.9766 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002287/3.995, allocations: 339 kB / 0.9823 GB, free: 0.582 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02265/4.018, allocations: 7.436 MB / 0.9895 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001881/4.02, allocations: 29.7 kB / 0.9896 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01096/4.031, allocations: 9.008 MB / 0.9984 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005145/4.036, allocations: 2.08 MB / 1 GB, free: 188 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/4.039, allocations: 4 kB / 1 GB, free: 184 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.004173/4.043, allocations: 1.123 MB / 1.002 GB, free: 15.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0233/4.067, allocations: 8.966 MB / 1.01 GB, free: 7.621 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03618/4.103, allocations: 18.59 MB / 1.028 GB, free: 2.258 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4009/4.504, allocations: 12.53 MB / 1.041 GB, free: 138 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004177/4.504, allocations: 96.34 kB / 1.041 GB, free: 138 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.1115/4.616, allocations: 32.7 MB / 1.073 GB, free: 136.9 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/4.616, allocations: 152.6 kB / 1.073 GB, free: 136.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07442/4.691, allocations: 21.33 MB / 1.094 GB, free: 136.5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05281/4.744, allocations: 9.017 MB / 1.102 GB, free: 136.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02716/4.771, allocations: 4.062 MB / 1.106 GB, free: 135.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07029/4.841, allocations: 41.9 MB / 1.147 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02725/4.868, allocations: 1.394 MB / 1.149 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004873/4.873, allocations: 1.003 MB / 1.15 GB, free: 110.9 MB / 0.5418 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 (2010): * Single equations (assignments): 1983 * 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.007152/4.88, allocations: 0.9349 MB / 1.151 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1063/4.987, allocations: 26.19 MB / 1.176 GB, free: 93.55 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003583/4.99, allocations: 0.8197 MB / 1.177 GB, free: 93.11 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1098/5.1, allocations: 26.97 MB / 1.203 GB, free: 69.93 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5127/5.613, allocations: 25.29 MB / 1.228 GB, free: 126.1 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/5.613, allocations: 22.69 kB / 1.228 GB, free: 126.1 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002245/5.613, allocations: 26.78 kB / 1.228 GB, free: 126.1 MB / 0.5418 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.2091/5.823, allocations: 55.5 MB / 1.282 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.208e-05/5.823, allocations: 11.33 kB / 1.282 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01056/5.833, allocations: 1.079 MB / 1.283 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09253/5.926, allocations: 13.94 MB / 1.297 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001966/5.928, allocations: 92.84 kB / 1.297 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1116/6.039, allocations: 56.08 MB / 1.352 GB, free: 96.46 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05115/6.091, allocations: 21.79 MB / 1.373 GB, free: 84.75 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1238/6.214, allocations: 38.67 MB / 1.411 GB, free: 52.46 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009231/6.224, allocations: 2.411 MB / 1.413 GB, free: 50.48 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004439/6.228, allocations: 46.17 kB / 1.413 GB, free: 50.45 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0147/6.243, allocations: 0.7665 MB / 1.414 GB, free: 49.68 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003325/6.246, allocations: 421.8 kB / 1.414 GB, free: 49.27 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00166/6.248, allocations: 175.8 kB / 1.415 GB, free: 49.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01314/6.261, allocations: 4.913 MB / 1.419 GB, free: 44.23 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.082e-06/6.261, allocations: 0 / 1.419 GB, free: 44.23 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02515/6.286, allocations: 4.098 MB / 1.423 GB, free: 40.14 MB / 0.5418 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.517/6.804, allocations: 39.69 MB / 1.462 GB, free: 131.1 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.04974/6.853, allocations: 22.04 MB / 1.484 GB, free: 130 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/6.853, allocations: 0 / 1.484 GB, free: 130 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02974/6.883, allocations: 10.87 MB / 1.494 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/6.895, allocations: 1.063 MB / 1.495 GB, free: 127.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1312/7.026, allocations: 34.93 MB / 1.529 GB, free: 115.8 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0269/7.053, allocations: 9.457 MB / 1.539 GB, free: 111.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02615/7.079, allocations: 5.144 MB / 1.544 GB, free: 108.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01749/7.097, allocations: 6.614 MB / 1.55 GB, free: 102.6 MB / 0.5418 GB Notification: Performance of SimCode: time 1.814e-06/7.097, allocations: 0 / 1.55 GB, free: 102.6 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.504/8.6, allocations: 268.7 MB / 1.813 GB, free: 69.95 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/8.601, allocations: 143.7 kB / 1.813 GB, free: 69.76 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/21.11, allocations: 0 / 1.813 GB, free: 69.76 MB / 0.5418 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