Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.239/2.239, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.124e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6038, allocations: 88.49 MB / 410.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.6042, allocations: 75.91 kB / 410.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/1.046, allocations: 82.63 MB / 493.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.046, allocations: 0 / 493.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002833/1.046, allocations: 64 kB / 493.1 MB, free: 13.68 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.03066/1.077, allocations: 3.86 MB / 497 MB, free: 9.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/1.077, allocations: 12.03 kB / 497 MB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005031/1.082, allocations: 0.7499 MB / 497.7 MB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06339/1.145, allocations: 5.883 MB / 0.4918 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3281/1.474, allocations: 5.276 MB / 0.497 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/1.474, allocations: 281.9 kB / 0.4972 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/1.477, allocations: 368 kB / 0.4976 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0365/1.513, allocations: 10.34 MB / 0.5077 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/1.514, allocations: 27.58 kB / 0.5077 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/1.516, allocations: 171.1 kB / 0.5079 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.52, allocations: 1.15 MB / 0.509 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/1.552, allocations: 9.97 MB / 0.5187 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09317/1.645, allocations: 37.33 MB / 0.5552 GB, free: 78.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/1.665, allocations: 5.569 MB / 0.5606 GB, free: 76.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/1.67, allocations: 2.306 MB / 0.5629 GB, free: 75.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/1.672, allocations: 1.881 MB / 0.5647 GB, free: 73.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/1.672, allocations: 51.91 kB / 0.5648 GB, free: 73.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.562e-06/1.672, allocations: 3.938 kB / 0.5648 GB, free: 73.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.05038/1.723, allocations: 12.4 MB / 0.5769 GB, free: 69.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001331/1.724, allocations: 1.511 MB / 0.5784 GB, free: 67.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/1.729, allocations: 2.464 MB / 0.5808 GB, free: 65.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006721/1.729, allocations: 55.11 kB / 0.5808 GB, free: 65.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.732, allocations: 2.676 MB / 0.5834 GB, free: 63.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.733, allocations: 0.8532 MB / 0.5843 GB, free: 62.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/1.733, allocations: 102.3 kB / 0.5844 GB, free: 62.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003377/1.734, allocations: 0.5463 MB / 0.5849 GB, free: 61.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005652/1.739, allocations: 2.552 MB / 0.5874 GB, free: 59.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008007/1.748, allocations: 5.522 MB / 0.5928 GB, free: 52.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008539/1.756, allocations: 3.778 MB / 0.5965 GB, free: 49.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/1.756, allocations: 32 kB / 0.5965 GB, free: 49.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1168/1.873, allocations: 18.86 MB / 0.6149 GB, free: 35.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/1.873, allocations: 48 kB / 0.615 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08562/1.959, allocations: 11.97 MB / 0.6267 GB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09315/2.052, allocations: 10.3 MB / 0.6367 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00794/2.06, allocations: 1.24 MB / 0.6379 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0465/2.107, allocations: 15.87 MB / 0.6534 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/2.114, allocations: 441.5 kB / 0.6538 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.116, allocations: 316.8 kB / 0.6541 GB, free: 10.73 MB / 442.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.001999/2.118, allocations: 0.4955 MB / 0.6546 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/2.119, allocations: 276.4 kB / 0.6549 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/2.136, allocations: 5.056 MB / 0.6598 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01522/2.152, allocations: 4.357 MB / 0.6641 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/2.152, allocations: 0 / 0.6641 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/2.152, allocations: 15.95 kB / 0.6641 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3776/2.529, allocations: 12.94 MB / 0.6767 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.216e-05/2.529, allocations: 10.34 kB / 0.6768 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005021/2.534, allocations: 406.1 kB / 0.6771 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007467/2.542, allocations: 0.9356 MB / 0.6781 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006317/2.543, allocations: 47.17 kB / 0.6781 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/2.554, allocations: 5.433 MB / 0.6834 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001327/2.555, allocations: 1.455 MB / 0.6848 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02602/2.581, allocations: 8.298 MB / 0.6929 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/2.582, allocations: 327.4 kB / 0.6932 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000945/2.583, allocations: 43.72 kB / 0.6933 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/2.586, allocations: 198.8 kB / 0.6935 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005767/2.587, allocations: 138.1 kB / 0.6936 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/2.587, allocations: 73.7 kB / 0.6937 GB, free: 102.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00363/2.591, allocations: 1.675 MB / 0.6953 GB, free: 102.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.591, allocations: 3.469 kB / 0.6953 GB, free: 102.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006509/2.597, allocations: 1.101 MB / 0.6964 GB, free: 102.8 MB / 442.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.01925/2.617, allocations: 10.88 MB / 0.707 GB, free: 97.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01627/2.633, allocations: 6.475 MB / 0.7133 GB, free: 95.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.633, allocations: 0 / 0.7133 GB, free: 95.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005994/2.639, allocations: 2.496 MB / 0.7158 GB, free: 94.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/2.642, allocations: 337.5 kB / 0.7161 GB, free: 94.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/2.671, allocations: 9.858 MB / 0.7257 GB, free: 90.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005384/2.676, allocations: 3.237 MB / 0.7289 GB, free: 89.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008136/2.685, allocations: 2.054 MB / 0.7309 GB, free: 89.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003983/2.689, allocations: 1.669 MB / 0.7325 GB, free: 88.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.462e-06/2.689, allocations: 0 / 0.7325 GB, free: 88.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/2.861, allocations: 79.79 MB / 0.8104 GB, free: 20.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/2.861, allocations: 182.7 kB / 0.8106 GB, free: 20.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.981/7.842, allocations: 0 / 0.8106 GB, free: 20.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat