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.25/2.25, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.025e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5974, allocations: 104.1 MB / 426 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5977, allocations: 83.94 kB / 426.1 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168/1.765, allocations: 229.6 MB / 0.6403 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.765, allocations: 0 / 0.6403 GB, free: 15.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001081/1.766, allocations: 291.9 kB / 0.6406 GB, free: 15.59 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.08275/1.849, allocations: 13.79 MB / 0.6541 GB, free: 1.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.849, allocations: 8.031 kB / 0.6541 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.353/2.202, allocations: 2.801 MB / 0.6568 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08456/2.287, allocations: 10.88 MB / 0.6674 GB, free: 32.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05871/2.346, allocations: 15.48 MB / 0.6825 GB, free: 32.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001499/2.347, allocations: 1.083 MB / 0.6836 GB, free: 32.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00788/2.355, allocations: 1.456 MB / 0.685 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1054/2.461, allocations: 32.02 MB / 0.7163 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001217/2.462, allocations: 152.5 kB / 0.7164 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006883/2.469, allocations: 0.6628 MB / 0.7171 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005574/2.475, allocations: 2.329 MB / 0.7194 GB, free: 25.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.086/2.561, allocations: 25.56 MB / 0.7443 GB, free: 19.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6431/3.204, allocations: 131.5 MB / 0.8728 GB, free: 17.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06433/3.268, allocations: 12.38 MB / 0.8849 GB, free: 17.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/3.28, allocations: 5.749 MB / 0.8905 GB, free: 17.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006619/3.287, allocations: 4.84 MB / 0.8952 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/3.287, allocations: 90.06 kB / 0.8953 GB, free: 13.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 9.678e-06/3.287, allocations: 3.062 kB / 0.8953 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.6362/3.923, allocations: 110.8 MB / 1.003 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4062/4.33, allocations: 24.78 MB / 1.028 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0258/4.356, allocations: 8.334 MB / 1.036 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00187/4.358, allocations: 108.7 kB / 1.036 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009074/4.367, allocations: 8.861 MB / 1.045 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004727/4.371, allocations: 2.192 MB / 1.047 GB, free: 123 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003039/4.375, allocations: 318.9 kB / 1.047 GB, free: 123 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001781/4.376, allocations: 0.9883 MB / 1.048 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02332/4.4, allocations: 9.201 MB / 1.057 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02849/4.428, allocations: 18.4 MB / 1.075 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02749/4.456, allocations: 12.74 MB / 1.087 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003731/4.456, allocations: 90.91 kB / 1.087 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1267/4.583, allocations: 35.93 MB / 1.123 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/4.583, allocations: 143.5 kB / 1.123 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08933/4.673, allocations: 22.96 MB / 1.145 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06367/4.736, allocations: 10.6 MB / 1.155 GB, free: 92.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02598/4.762, allocations: 3.922 MB / 1.159 GB, free: 90.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4834/5.246, allocations: 49.92 MB / 1.208 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03074/5.277, allocations: 1.806 MB / 1.21 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00548/5.282, allocations: 0.9801 MB / 1.211 GB, free: 108.5 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.007995/5.29, allocations: 1.3 MB / 1.212 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00392/5.294, allocations: 0.8793 MB / 1.213 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1263/5.42, allocations: 28.88 MB / 1.241 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1165/5.537, allocations: 27.1 MB / 1.268 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000122/5.537, allocations: 25.94 kB / 1.268 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001563/5.537, allocations: 26.3 kB / 1.268 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2086/5.746, allocations: 63.2 MB / 1.329 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/5.746, allocations: 7.922 kB / 1.329 GB, free: 85.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/5.756, allocations: 1.016 MB / 1.33 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09636/5.853, allocations: 15.68 MB / 1.346 GB, free: 73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002069/5.855, allocations: 175.8 kB / 1.346 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5886/6.444, allocations: 64.67 MB / 1.409 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05209/6.496, allocations: 24.53 MB / 1.433 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1721/6.668, allocations: 41.06 MB / 1.473 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003912/6.672, allocations: 0.9464 MB / 1.474 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004618/6.676, allocations: 136.5 kB / 1.474 GB, free: 85.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01667/6.693, allocations: 0.8996 MB / 1.475 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003777/6.697, allocations: 452.7 kB / 1.475 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00195/6.699, allocations: 185.3 kB / 1.476 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01777/6.717, allocations: 5.752 MB / 1.481 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/6.717, allocations: 0 / 1.481 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02707/6.744, allocations: 4.409 MB / 1.485 GB, free: 83.39 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.142/6.886, allocations: 42.36 MB / 1.527 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0554/6.941, allocations: 23.03 MB / 1.549 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/6.942, allocations: 5.281 kB / 1.549 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03345/6.975, allocations: 11.59 MB / 1.561 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/6.988, allocations: 1.337 MB / 1.562 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5883/7.577, allocations: 37.6 MB / 1.599 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03854/7.615, allocations: 9.44 MB / 1.608 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03886/7.654, allocations: 5.068 MB / 1.613 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02496/7.679, allocations: 6.454 MB / 1.619 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/7.679, allocations: 0 / 1.619 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/8.703, allocations: 292.1 MB / 1.904 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/8.703, allocations: 190 kB / 1.905 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/21.16, allocations: 0 / 1.905 GB, free: 41.66 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