Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.919e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3877, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.6142, allocations: 110.2 MB / 464.7 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6145, allocations: 75.95 kB / 464.8 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684/2.299, allocations: 223.3 MB / 0.672 GB, free: 41.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.307e-06/2.299, allocations: 0 / 0.672 GB, free: 41.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008974/2.3, allocations: 280.5 kB / 0.6722 GB, free: 41.45 MB / 458.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.09173/2.391, allocations: 13.78 MB / 0.6857 GB, free: 37.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/2.391, allocations: 7.469 kB / 0.6857 GB, free: 37.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09812/2.49, allocations: 10.93 MB / 0.6964 GB, free: 36.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06542/2.555, allocations: 15.5 MB / 0.7115 GB, free: 34.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/2.556, allocations: 472.9 kB / 0.712 GB, free: 34.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007407/2.564, allocations: 0.8603 MB / 0.7128 GB, free: 34.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09468/2.658, allocations: 18.11 MB / 0.7305 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09126/2.75, allocations: 26.81 MB / 0.7567 GB, free: 8.156 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001144/2.751, allocations: 150.5 kB / 0.7568 GB, free: 8.078 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006914/2.758, allocations: 68 kB / 0.7569 GB, free: 8.012 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005863/2.764, allocations: 2.329 MB / 0.7592 GB, free: 6.059 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7331/3.497, allocations: 125 MB / 0.8813 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/3.519, allocations: 7.249 MB / 0.8883 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/3.536, allocations: 5.625 MB / 0.8938 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009818/3.546, allocations: 4.846 MB / 0.8986 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/3.546, allocations: 76.14 kB / 0.8986 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 1.693e-05/3.546, allocations: 2.875 kB / 0.8986 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569): time 0.51/4.056, allocations: 98.74 MB / 0.9951 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002422/4.056, allocations: 344.1 kB / 0.9954 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02418/4.08, allocations: 7.494 MB / 1.003 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002032/4.083, allocations: 25.7 kB / 1.003 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.01173/4.094, allocations: 8.934 MB / 1.011 GB, free: 11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005204/4.1, allocations: 2.129 MB / 1.014 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003466/4.103, allocations: 0 / 1.014 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002707/4.106, allocations: 1.009 MB / 1.015 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02638/4.132, allocations: 8.971 MB / 1.023 GB, free: 212 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5123/4.645, allocations: 19.4 MB / 1.042 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03048/4.675, allocations: 12.51 MB / 1.054 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005183/4.676, allocations: 96.56 kB / 1.055 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2145) (initialization): time 0.1406/4.816, allocations: 34.4 MB / 1.088 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/4.817, allocations: 148 kB / 1.088 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1028/4.92, allocations: 22.95 MB / 1.111 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08011/5, allocations: 10.85 MB / 1.121 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02845/5.028, allocations: 3.94 MB / 1.125 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09998/5.128, allocations: 47.2 MB / 1.171 GB, free: 68.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03323/5.162, allocations: 1.498 MB / 1.173 GB, free: 67.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005118/5.167, allocations: 1.001 MB / 1.174 GB, free: 66.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1520 * 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 (1969): * Single equations (assignments): 1940 * 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,4,4,4,4} * 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.007996/5.175, allocations: 0.9335 MB / 1.175 GB, free: 66.21 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.131/5.306, allocations: 27.62 MB / 1.202 GB, free: 44.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003735/5.31, allocations: 0.8433 MB / 1.202 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6183/5.928, allocations: 28.39 MB / 1.23 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1354/6.063, allocations: 26.74 MB / 1.256 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/6.064, allocations: 27.34 kB / 1.256 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000197/6.064, allocations: 27.19 kB / 1.256 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2312/6.295, allocations: 60.28 MB / 1.315 GB, free: 88.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.429e-05/6.295, allocations: 6.812 kB / 1.315 GB, free: 88.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01161/6.307, allocations: 1.012 MB / 1.316 GB, free: 88.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1143/6.421, allocations: 15.59 MB / 1.331 GB, free: 84.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002044/6.423, allocations: 102.8 kB / 1.331 GB, free: 84.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.147/6.57, allocations: 61.48 MB / 1.391 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.558/7.128, allocations: 23.44 MB / 1.414 GB, free: 98.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.16/7.288, allocations: 40.51 MB / 1.454 GB, free: 96.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/7.292, allocations: 0.8939 MB / 1.455 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004856/7.297, allocations: 41.52 kB / 1.455 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01805/7.315, allocations: 0.8137 MB / 1.456 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004028/7.319, allocations: 456.5 kB / 1.456 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001674/7.321, allocations: 183.7 kB / 1.456 GB, free: 96.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0147/7.335, allocations: 4.992 MB / 1.461 GB, free: 95.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/7.335, allocations: 0 / 1.461 GB, free: 95.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02961/7.365, allocations: 4.269 MB / 1.465 GB, free: 95.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET139632963748237.x[2],$STATESET139632963748237.x[1],$STATESET139632963748236.x[5],$STATESET139632963748236.x[4],$STATESET139632963748236.x[3],$STATESET139632963748236.x[2],$STATESET139632963748236.x[1],$STATESET139632963748235.x[6],$STATESET139632963748235.x[5],$STATESET139632963748235.x[4],$STATESET139632963748235.x[3],$STATESET139632963748235.x[2],$STATESET139632963748235.x[1],$STATESET139632963748234.x[3],$STATESET139632963748234.x[2],$STATESET139632963748234.x[1],$STATESET139632963748233.x[2],$STATESET139632963748233.x[1],$STATESET139632963748232.x[5],$STATESET139632963748232.x[4],$STATESET139632963748232.x[3],$STATESET139632963748232.x[2],$STATESET139632963748232.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.1579/7.523, allocations: 41.79 MB / 1.506 GB, free: 87.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06331/7.586, allocations: 22.78 MB / 1.528 GB, free: 78.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/7.586, allocations: 4 kB / 1.528 GB, free: 78.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03344/7.62, allocations: 11.36 MB / 1.539 GB, free: 68.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01259/7.632, allocations: 1.118 MB / 1.541 GB, free: 67.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/7.768, allocations: 35.53 MB / 1.575 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02698/7.795, allocations: 9.417 MB / 1.584 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0285/7.824, allocations: 5.104 MB / 1.589 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02136/7.845, allocations: 6.406 MB / 1.596 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of SimCode: time 3.216e-06/7.845, allocations: 0 / 1.596 GB, free: 21.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.699/9.544, allocations: 288.1 MB / 1.877 GB, free: 96.52 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003374/9.545, allocations: 155.1 kB / 1.877 GB, free: 96.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.41/22.96, allocations: 0 / 1.877 GB, free: 96.32 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat