Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.259e-05, allocations: 4.938 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.448, allocations: 54.85 MB / 359.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.6247, allocations: 95.23 MB / 455.1 MB, free: 1.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.625, allocations: 71.97 kB / 455.2 MB, free: 1.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.664/1.289, allocations: 82.67 MB / 0.5252 GB, free: 108.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.594e-06/1.289, allocations: 0 / 0.5252 GB, free: 108.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002142/1.289, allocations: 67.89 kB / 0.5253 GB, free: 108.2 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02415/1.314, allocations: 3.851 MB / 0.529 GB, free: 107.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.314, allocations: 10.06 kB / 0.5291 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004147/1.318, allocations: 0.7536 MB / 0.5298 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04374/1.362, allocations: 5.876 MB / 0.5355 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/1.385, allocations: 5.293 MB / 0.5407 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006234/1.386, allocations: 280.5 kB / 0.541 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/1.389, allocations: 377.1 kB / 0.5413 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03496/1.424, allocations: 10.33 MB / 0.5514 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/1.425, allocations: 40.34 kB / 0.5515 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/1.427, allocations: 165 kB / 0.5516 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/1.43, allocations: 1.151 MB / 0.5527 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/1.459, allocations: 9.966 MB / 0.5625 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07771/1.537, allocations: 37.32 MB / 0.5989 GB, free: 80.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/1.556, allocations: 5.571 MB / 0.6044 GB, free: 77.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00494/1.561, allocations: 2.308 MB / 0.6066 GB, free: 75.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/1.563, allocations: 1.88 MB / 0.6084 GB, free: 72.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/1.563, allocations: 52.56 kB / 0.6085 GB, free: 72.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 8.135e-06/1.563, allocations: 0 / 0.6085 GB, free: 72.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.06067/1.624, allocations: 12.41 MB / 0.6206 GB, free: 62.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001796/1.626, allocations: 1.53 MB / 0.6221 GB, free: 60.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007024/1.633, allocations: 2.462 MB / 0.6245 GB, free: 58.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007699/1.633, allocations: 54.56 kB / 0.6246 GB, free: 58.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/1.636, allocations: 2.673 MB / 0.6272 GB, free: 56.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.638, allocations: 0.8524 MB / 0.628 GB, free: 55.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.639, allocations: 103.9 kB / 0.6281 GB, free: 55.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008729/1.64, allocations: 0.5437 MB / 0.6286 GB, free: 55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009077/1.649, allocations: 2.555 MB / 0.6311 GB, free: 52.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/1.662, allocations: 5.52 MB / 0.6365 GB, free: 45.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.672, allocations: 3.773 MB / 0.6402 GB, free: 41.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.672, allocations: 32 kB / 0.6402 GB, free: 41.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1206/1.793, allocations: 18.86 MB / 0.6587 GB, free: 22.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/1.793, allocations: 52 kB / 0.6587 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.085/1.878, allocations: 11.97 MB / 0.6704 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09294/1.971, allocations: 10.31 MB / 0.6805 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/1.979, allocations: 1.243 MB / 0.6817 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3705/2.35, allocations: 15.85 MB / 0.6971 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007071/2.357, allocations: 441.8 kB / 0.6976 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/2.358, allocations: 313.4 kB / 0.6979 GB, free: 110.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002143/2.361, allocations: 0.4892 MB / 0.6983 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000733/2.361, allocations: 269.6 kB / 0.6986 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/2.378, allocations: 5.067 MB / 0.7036 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01498/2.393, allocations: 4.362 MB / 0.7078 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/2.393, allocations: 2.188 kB / 0.7078 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/2.393, allocations: 11.11 kB / 0.7078 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0369/2.43, allocations: 12.95 MB / 0.7205 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/2.43, allocations: 5.047 kB / 0.7205 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/2.434, allocations: 405.5 kB / 0.7209 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005069/2.439, allocations: 0.9369 MB / 0.7218 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000493/2.439, allocations: 50.98 kB / 0.7218 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009082/2.449, allocations: 5.433 MB / 0.7271 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001077/2.45, allocations: 1.457 MB / 0.7285 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/2.468, allocations: 8.284 MB / 0.7366 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/2.469, allocations: 328.9 kB / 0.737 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008548/2.47, allocations: 50.31 kB / 0.737 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/2.473, allocations: 197.5 kB / 0.7372 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/2.473, allocations: 141 kB / 0.7373 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/2.474, allocations: 69.48 kB / 0.7374 GB, free: 101.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003641/2.477, allocations: 1.674 MB / 0.739 GB, free: 100.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.477, allocations: 5.812 kB / 0.739 GB, free: 100.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006768/2.484, allocations: 1.104 MB / 0.7401 GB, free: 100.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0196/2.504, allocations: 10.88 MB / 0.7507 GB, free: 94.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01647/2.52, allocations: 6.476 MB / 0.7571 GB, free: 92.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.52, allocations: 0 / 0.7571 GB, free: 92.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006565/2.527, allocations: 2.498 MB / 0.7595 GB, free: 91.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/2.531, allocations: 354.2 kB / 0.7598 GB, free: 91.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/2.562, allocations: 9.84 MB / 0.7694 GB, free: 87.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006749/2.569, allocations: 3.242 MB / 0.7726 GB, free: 85.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008709/2.577, allocations: 2.052 MB / 0.7746 GB, free: 84.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004355/2.582, allocations: 1.666 MB / 0.7762 GB, free: 82.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.924e-06/2.582, allocations: 0 / 0.7762 GB, free: 82.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/2.755, allocations: 79.79 MB / 0.8542 GB, free: 8.379 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/2.755, allocations: 186.8 kB / 0.8543 GB, free: 8.145 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.714/7.469, allocations: 0 / 0.8543 GB, free: 8.145 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat