Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.238e-05/4.256e-05, allocations: 7.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.5708, allocations: 104.1 MB / 426 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5712, allocations: 79.95 kB / 426.1 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16/1.731, allocations: 229.6 MB / 0.6404 GB, free: 16.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.731, allocations: 0 / 0.6404 GB, free: 16.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007993/1.732, allocations: 279.9 kB / 0.6406 GB, free: 15.74 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.08445/1.816, allocations: 13.79 MB / 0.6541 GB, free: 1.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.816, allocations: 8.031 kB / 0.6541 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3588/2.175, allocations: 2.807 MB / 0.6568 GB, free: 33.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08694/2.262, allocations: 10.87 MB / 0.6675 GB, free: 32.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05936/2.322, allocations: 15.48 MB / 0.6826 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001801/2.323, allocations: 1.086 MB / 0.6836 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00849/2.332, allocations: 1.453 MB / 0.6851 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/2.44, allocations: 31.85 MB / 0.7162 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001336/2.441, allocations: 154.8 kB / 0.7163 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00707/2.448, allocations: 0.6681 MB / 0.717 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005581/2.454, allocations: 2.33 MB / 0.7192 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08527/2.539, allocations: 25.09 MB / 0.7437 GB, free: 19.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6426/3.182, allocations: 131.2 MB / 0.8718 GB, free: 18.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07006/3.252, allocations: 12.33 MB / 0.8839 GB, free: 18.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01176/3.264, allocations: 5.752 MB / 0.8895 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006406/3.27, allocations: 4.843 MB / 0.8942 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/3.27, allocations: 78.58 kB / 0.8943 GB, free: 13.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 9.217e-06/3.27, allocations: 3.234 kB / 0.8943 GB, free: 13.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.6432/3.914, allocations: 111.1 MB / 1.003 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06011/3.974, allocations: 24.77 MB / 1.027 GB, free: 180 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3796/4.353, allocations: 8.325 MB / 1.035 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002386/4.356, allocations: 111.5 kB / 1.035 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.01222/4.368, allocations: 8.859 MB / 1.044 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006112/4.374, allocations: 2.194 MB / 1.046 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004382/4.379, allocations: 318.2 kB / 1.046 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002076/4.381, allocations: 0.9924 MB / 1.047 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03347/4.414, allocations: 9.2 MB / 1.056 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03513/4.449, allocations: 18.31 MB / 1.074 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02759/4.477, allocations: 12.73 MB / 1.087 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000454/4.478, allocations: 94.91 kB / 1.087 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1331/4.611, allocations: 35.04 MB / 1.121 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/4.611, allocations: 141.8 kB / 1.121 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08713/4.698, allocations: 22.96 MB / 1.143 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06241/4.761, allocations: 10.6 MB / 1.154 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02567/4.786, allocations: 3.918 MB / 1.158 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4962/5.283, allocations: 49.59 MB / 1.206 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03747/5.32, allocations: 1.804 MB / 1.208 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005143/5.325, allocations: 0.9723 MB / 1.209 GB, free: 108.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],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],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1937): * Single equations (assignments): 1908 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007798/5.333, allocations: 1.305 MB / 1.21 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003992/5.337, allocations: 0.8784 MB / 1.211 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1271/5.465, allocations: 28.88 MB / 1.239 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.115/5.58, allocations: 27.09 MB / 1.266 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001285/5.58, allocations: 32.25 kB / 1.266 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001609/5.58, allocations: 28.3 kB / 1.266 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2116/5.792, allocations: 63.19 MB / 1.327 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.323e-05/5.792, allocations: 3 kB / 1.327 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/5.802, allocations: 1.021 MB / 1.328 GB, free: 85.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.163/5.965, allocations: 15.67 MB / 1.344 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002787/5.968, allocations: 177.3 kB / 1.344 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5474/6.516, allocations: 64.65 MB / 1.407 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05396/6.57, allocations: 24.53 MB / 1.431 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1438/6.714, allocations: 41.07 MB / 1.471 GB, free: 86.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004521/6.718, allocations: 0.9447 MB / 1.472 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004927/6.723, allocations: 130.4 kB / 1.472 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01716/6.74, allocations: 0.9043 MB / 1.473 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003951/6.744, allocations: 455.2 kB / 1.473 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002216/6.747, allocations: 184.5 kB / 1.474 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01669/6.763, allocations: 5.751 MB / 1.479 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.465e-06/6.764, allocations: 0 / 1.479 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02762/6.791, allocations: 4.413 MB / 1.483 GB, free: 83.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$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],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1441/6.935, allocations: 42.35 MB / 1.525 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05696/6.992, allocations: 22.51 MB / 1.547 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/6.992, allocations: 0 / 1.547 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03368/7.026, allocations: 11.47 MB / 1.558 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/7.039, allocations: 1.336 MB / 1.559 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5262/7.565, allocations: 37.09 MB / 1.596 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02804/7.593, allocations: 9.439 MB / 1.605 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02751/7.621, allocations: 5.068 MB / 1.61 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01816/7.639, allocations: 6.451 MB / 1.616 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.565e-06/7.639, allocations: 0 / 1.616 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/8.685, allocations: 290.3 MB / 1.899 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/8.685, allocations: 188.7 kB / 1.9 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/21.47, allocations: 0 / 1.9 GB, free: 43.71 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat