Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.034e-05/5.048e-05, allocations: 7.984 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4109, allocations: 54.85 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.6265, allocations: 90.97 MB / 450.9 MB, free: 5.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/0.6269, allocations: 71.97 kB / 450.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.105/0.7319, allocations: 19.9 MB / 470.8 MB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.732, allocations: 0 / 470.8 MB, free: 1.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.678e-05/0.7321, allocations: 20 kB / 470.8 MB, free: 1.836 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004411/0.7365, allocations: 1.373 MB / 472.2 MB, free: 424 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.7366, allocations: 11.97 kB / 472.2 MB, free: 412 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004968/0.7371, allocations: 199.2 kB / 472.4 MB, free: 204 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.7386, allocations: 202.3 kB / 472.6 MB, free: 0 / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.7408, allocations: 0.6919 MB / 473.3 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.7409, allocations: 74.05 kB / 473.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.7412, allocations: 104 kB / 473.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00923/0.7505, allocations: 2.633 MB / 476.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/0.7506, allocations: 11.92 kB / 476.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.7508, allocations: 47.94 kB / 476.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004638/0.7513, allocations: 201.8 kB / 476.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009418/0.7607, allocations: 2.35 MB / 478.7 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.7756, allocations: 8.523 MB / 487.2 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/0.7829, allocations: 0.9883 MB / 488.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.7837, allocations: 252.8 kB / 488.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002452/0.7861, allocations: 1.742 MB / 490.2 MB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.7862, allocations: 39.31 kB / 490.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.517e-06/0.7863, allocations: 0 / 490.3 MB, free: 13.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.02841/0.8147, allocations: 2.696 MB / 493 MB, free: 10.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.8148, allocations: 63.97 kB / 493 MB, free: 10.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.8173, allocations: 0.7732 MB / 493.8 MB, free: 10.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.8175, allocations: 33.7 kB / 493.8 MB, free: 9.977 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/0.8184, allocations: 0.6487 MB / 494.5 MB, free: 9.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/0.8188, allocations: 209.1 kB / 494.7 MB, free: 9.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.819, allocations: 24 kB / 494.7 MB, free: 9.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003428/0.8193, allocations: 406.7 kB / 495.1 MB, free: 8.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.8208, allocations: 350.5 kB / 495.4 MB, free: 8.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.823, allocations: 0.9465 MB / 496.4 MB, free: 7.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.8251, allocations: 0.565 MB / 496.9 MB, free: 6.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.8251, allocations: 4 kB / 497 MB, free: 6.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005174/0.8303, allocations: 1.288 MB / 498.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.8304, allocations: 17.72 kB / 498.3 MB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/0.8305, allocations: 24.16 kB / 498.3 MB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.8306, allocations: 32 kB / 498.3 MB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.8342, allocations: 319.5 kB / 498.6 MB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.8362, allocations: 1.364 MB / 500 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.8383, allocations: 55.89 kB / 0.4883 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.8385, allocations: 60 kB / 0.4884 GB, free: 3.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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.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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.839, allocations: 215.6 kB / 0.4886 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.8393, allocations: 86.92 kB / 0.4887 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.8397, allocations: 108.4 kB / 0.4888 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.8398, allocations: 8 kB / 0.4888 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.8398, allocations: 0 / 0.4888 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.8398, allocations: 0 / 0.4888 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008709/0.8485, allocations: 2.137 MB / 0.4909 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.8486, allocations: 8.031 kB / 0.4909 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.8503, allocations: 131.8 kB / 0.491 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/0.8504, allocations: 8 kB / 0.491 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.8505, allocations: 16 kB / 0.491 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.8522, allocations: 1.337 MB / 0.4923 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-05/0.8523, allocations: 15.89 kB / 0.4923 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.8551, allocations: 1.127 MB / 0.4934 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.8558, allocations: 200 kB / 0.4936 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.856, allocations: 23.98 kB / 0.4937 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/0.857, allocations: 16 kB / 0.4937 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.8572, allocations: 47.84 kB / 0.4937 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.8573, allocations: 24 kB / 0.4937 GB, free: 13.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001915/0.8592, allocations: 0.5694 MB / 0.4943 GB, free: 12.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.8593, allocations: 0 / 0.4943 GB, free: 12.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002579/0.8619, allocations: 212 kB / 0.4945 GB, free: 12.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0044/0.8663, allocations: 3.473 MB / 0.4979 GB, free: 8.734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.8698, allocations: 0.7956 MB / 0.4987 GB, free: 7.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.8698, allocations: 0 / 0.4987 GB, free: 7.941 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.871, allocations: 265.1 kB / 0.4989 GB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.8724, allocations: 115.1 kB / 0.499 GB, free: 7.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.88, allocations: 1.914 MB / 0.5009 GB, free: 5.539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.8815, allocations: 1.236 MB / 0.5021 GB, free: 4.273 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.8831, allocations: 335.5 kB / 0.5024 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/0.884, allocations: 399.3 kB / 0.5028 GB, free: 3.551 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.884, allocations: 0 / 0.5028 GB, free: 3.551 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07214/0.9562, allocations: 16.6 MB / 0.519 GB, free: 3.004 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.9565, allocations: 161.2 kB / 0.5192 GB, free: 2.773 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.077, allocations: 0 / 0.5192 GB, free: 2.773 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat