Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.642/2.642, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.241e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4398, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2639/0.7038, allocations: 101.6 MB / 483.9 MB, free: 6.773 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.7041, allocations: 75.95 kB / 484 MB, free: 6.699 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8154/1.52, allocations: 83.62 MB / 0.5543 GB, free: 111.8 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.815e-06/1.52, allocations: 4 kB / 0.5543 GB, free: 111.8 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002493/1.52, allocations: 70.34 kB / 0.5544 GB, free: 111.8 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.02999/1.55, allocations: 3.854 MB / 0.5581 GB, free: 110.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/1.55, allocations: 11.69 kB / 0.5581 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004889/1.555, allocations: 0.757 MB / 0.5589 GB, free: 110 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05496/1.61, allocations: 5.88 MB / 0.5646 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0288/1.639, allocations: 5.311 MB / 0.5698 GB, free: 105.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000482/1.639, allocations: 279.5 kB / 0.5701 GB, free: 105.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/1.643, allocations: 370.8 kB / 0.5704 GB, free: 104.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/1.686, allocations: 10.3 MB / 0.5805 GB, free: 94.08 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/1.687, allocations: 31.66 kB / 0.5805 GB, free: 94.05 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003089/1.69, allocations: 178 kB / 0.5807 GB, free: 93.91 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00347/1.693, allocations: 1.159 MB / 0.5818 GB, free: 92.75 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04218/1.736, allocations: 9.85 MB / 0.5915 GB, free: 82.89 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/1.84, allocations: 37.41 MB / 0.628 GB, free: 44.82 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02503/1.865, allocations: 5.563 MB / 0.6334 GB, free: 39.02 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006402/1.871, allocations: 2.314 MB / 0.6357 GB, free: 36.71 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003/1.875, allocations: 1.881 MB / 0.6375 GB, free: 34.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/1.875, allocations: 49.22 kB / 0.6376 GB, free: 34.45 MB / 458.8 MB Notification: Performance of pre-optimization done (n=224): time 9.247e-06/1.875, allocations: 0 / 0.6376 GB, free: 34.45 MB / 458.8 MB Notification: Performance of matching and sorting (n=231): time 0.07162/1.946, allocations: 12.41 MB / 0.6497 GB, free: 21.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001799/1.948, allocations: 1.519 MB / 0.6512 GB, free: 20.29 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007179/1.955, allocations: 2.489 MB / 0.6536 GB, free: 17.78 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008476/1.956, allocations: 53.7 kB / 0.6536 GB, free: 17.72 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.96, allocations: 2.684 MB / 0.6563 GB, free: 15.04 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.962, allocations: 0.8597 MB / 0.6571 GB, free: 14.18 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.963, allocations: 104 kB / 0.6572 GB, free: 14.08 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0007408/1.964, allocations: 0.5376 MB / 0.6577 GB, free: 13.54 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007757/1.971, allocations: 2.557 MB / 0.6602 GB, free: 10.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008428/1.98, allocations: 5.513 MB / 0.6656 GB, free: 3.996 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008548/1.988, allocations: 3.782 MB / 0.6693 GB, free: 216 kB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.989, allocations: 32 kB / 0.6693 GB, free: 184 kB / 458.8 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.1261/2.115, allocations: 18.59 MB / 0.6875 GB, free: 13.55 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/2.115, allocations: 52 kB / 0.6875 GB, free: 13.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08856/2.203, allocations: 11.96 MB / 0.6992 GB, free: 1.504 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1255/2.329, allocations: 10.31 MB / 0.7093 GB, free: 7.164 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/2.342, allocations: 1.244 MB / 0.7105 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.483/2.825, allocations: 15.87 MB / 0.726 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/2.832, allocations: 438.6 kB / 0.7264 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/2.834, allocations: 324.5 kB / 0.7267 GB, free: 139.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (652): * Single equations (assignments): 641 * 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.00127/2.835, allocations: 0.4988 MB / 0.7272 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/2.836, allocations: 268.9 kB / 0.7275 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/2.85, allocations: 5.067 MB / 0.7324 GB, free: 139.5 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01289/2.863, allocations: 4.362 MB / 0.7367 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/2.863, allocations: 0 / 0.7367 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/2.863, allocations: 13.56 kB / 0.7367 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03587/2.899, allocations: 12.93 MB / 0.7493 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/2.899, allocations: 6.5 kB / 0.7493 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/2.903, allocations: 407.8 kB / 0.7497 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/2.909, allocations: 0.9283 MB / 0.7506 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006306/2.909, allocations: 53.94 kB / 0.7507 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009351/2.919, allocations: 5.421 MB / 0.756 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001105/2.92, allocations: 1.466 MB / 0.7574 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/2.939, allocations: 8.294 MB / 0.7655 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/2.94, allocations: 342.4 kB / 0.7658 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.941, allocations: 38.44 kB / 0.7659 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/2.944, allocations: 206.8 kB / 0.7661 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/2.945, allocations: 137.2 kB / 0.7662 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/2.945, allocations: 71.58 kB / 0.7663 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003606/2.949, allocations: 1.686 MB / 0.7679 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.51e-07/2.949, allocations: 0 / 0.7679 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006913/2.956, allocations: 1.111 MB / 0.769 GB, free: 124 MB / 0.4949 GB 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.01946/2.975, allocations: 10.89 MB / 0.7796 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.992, allocations: 6.307 MB / 0.7858 GB, free: 108.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/2.992, allocations: 0 / 0.7858 GB, free: 108.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005874/2.998, allocations: 2.473 MB / 0.7882 GB, free: 106.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/3, allocations: 345.8 kB / 0.7885 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/3.029, allocations: 9.853 MB / 0.7982 GB, free: 97.57 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006339/3.035, allocations: 3.25 MB / 0.8013 GB, free: 95.07 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008533/3.044, allocations: 2.054 MB / 0.8033 GB, free: 93.84 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004382/3.048, allocations: 1.675 MB / 0.805 GB, free: 92.3 MB / 0.4949 GB Notification: Performance of SimCode: time 2.174e-06/3.048, allocations: 0 / 0.805 GB, free: 92.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/3.266, allocations: 79.67 MB / 0.8828 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/3.266, allocations: 181.4 kB / 0.883 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.628/7.894, allocations: 0 / 0.883 GB, free: 13.25 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat