Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.823/2.823, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.669e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 54.87 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.5923, allocations: 90.28 MB / 444.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5926, allocations: 75.97 kB / 444.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.104/0.6966, allocations: 19.48 MB / 464.3 MB, free: 1.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6966, allocations: 0 / 464.3 MB, free: 1.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.361e-05/0.6967, allocations: 20 kB / 464.3 MB, free: 1.07 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.3955/1.092, allocations: 1.371 MB / 465.7 MB, free: 92.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.913e-05/1.092, allocations: 9.812 kB / 465.7 MB, free: 92.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/1.096, allocations: 204.6 kB / 465.9 MB, free: 92.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/1.1, allocations: 0.6915 MB / 466.6 MB, free: 92.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/1.1, allocations: 33.28 kB / 466.6 MB, free: 92.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009106/1.101, allocations: 58.81 kB / 466.7 MB, free: 92.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005834/1.107, allocations: 1.688 MB / 468.3 MB, free: 92.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005436/1.112, allocations: 1.945 MB / 470.3 MB, free: 91.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/1.113, allocations: 13.66 kB / 470.3 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/1.113, allocations: 11.8 kB / 470.3 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005061/1.113, allocations: 204.5 kB / 470.5 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/1.126, allocations: 7.445 MB / 478 MB, free: 87.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.127, allocations: 409.5 kB / 478.4 MB, free: 87.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/1.128, allocations: 236.2 kB / 478.6 MB, free: 87.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/1.13, allocations: 1.742 MB / 480.3 MB, free: 85.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.13, allocations: 33.19 kB / 480.4 MB, free: 85.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.967e-06/1.13, allocations: 3.938 kB / 480.4 MB, free: 85.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01326/1.143, allocations: 2.007 MB / 482.4 MB, free: 85.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.143, allocations: 59.12 kB / 482.4 MB, free: 85.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.144, allocations: 0.6459 MB / 483.1 MB, free: 84.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.144, allocations: 25.7 kB / 483.1 MB, free: 84.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/1.145, allocations: 0.6651 MB / 483.8 MB, free: 84.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/1.145, allocations: 211.5 kB / 484 MB, free: 84.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/1.145, allocations: 0 / 484 MB, free: 84.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/1.145, allocations: 389.3 kB / 484.4 MB, free: 83.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008427/1.146, allocations: 332.1 kB / 484.7 MB, free: 83.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.148, allocations: 0.9469 MB / 485.6 MB, free: 82.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.149, allocations: 0.5411 MB / 486.2 MB, free: 82.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.149, allocations: 6.562 kB / 486.2 MB, free: 82.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002994/1.152, allocations: 1.199 MB / 487.4 MB, free: 82.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.152, allocations: 14.84 kB / 487.4 MB, free: 82.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.152, allocations: 22.5 kB / 487.4 MB, free: 82.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.317e-05/1.152, allocations: 33.91 kB / 487.4 MB, free: 82.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/1.155, allocations: 329.9 kB / 487.8 MB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/1.156, allocations: 1.324 MB / 489.1 MB, free: 80.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.157, allocations: 30.66 kB / 489.1 MB, free: 80.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.157, allocations: 63.41 kB / 489.2 MB, free: 80.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (157): * Single equations (assignments): 156 * 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.0002902/1.158, allocations: 173.9 kB / 489.4 MB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001397/1.159, allocations: 0.5723 MB / 489.9 MB, free: 80.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.159, allocations: 73.91 kB / 490 MB, free: 80.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/1.16, allocations: 106.6 kB / 490.1 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.16, allocations: 6.781 kB / 490.1 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.16, allocations: 0 / 490.1 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.16, allocations: 3.469 kB / 490.1 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/1.165, allocations: 1.83 MB / 491.9 MB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.165, allocations: 5.688 kB / 491.9 MB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.167, allocations: 133.2 kB / 492.1 MB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/1.167, allocations: 8 kB / 492.1 MB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/1.167, allocations: 8 kB / 492.1 MB, free: 79.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/1.168, allocations: 1.285 MB / 493.4 MB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.168, allocations: 7.938 kB / 493.4 MB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.169, allocations: 1.077 MB / 494.5 MB, free: 76.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/1.17, allocations: 182 kB / 494.6 MB, free: 76.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.17, allocations: 11.52 kB / 494.6 MB, free: 76.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.171, allocations: 11.95 kB / 494.7 MB, free: 76.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.171, allocations: 60.34 kB / 494.7 MB, free: 76.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/1.171, allocations: 20 kB / 494.7 MB, free: 76.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008563/1.172, allocations: 458.5 kB / 495.2 MB, free: 75.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.172, allocations: 0 / 495.2 MB, free: 75.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001608/1.173, allocations: 182.2 kB / 495.4 MB, free: 75.67 MB / 394.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.001959/1.175, allocations: 3.416 MB / 498.8 MB, free: 72.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002073/1.177, allocations: 0.7725 MB / 499.6 MB, free: 71.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.177, allocations: 0 / 499.6 MB, free: 71.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006567/1.178, allocations: 255.7 kB / 499.8 MB, free: 71.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/1.179, allocations: 92.27 kB / 499.9 MB, free: 71.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/1.185, allocations: 1.848 MB / 0.49 GB, free: 69.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.186, allocations: 1.232 MB / 0.4912 GB, free: 68.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001759/1.188, allocations: 331.2 kB / 0.4915 GB, free: 68.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008073/1.188, allocations: 400.1 kB / 0.4919 GB, free: 67.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/1.188, allocations: 0 / 0.4919 GB, free: 67.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/1.265, allocations: 14.71 MB / 0.5062 GB, free: 54.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003074/1.265, allocations: 152.2 kB / 0.5064 GB, free: 54.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.409/4.674, allocations: 0 / 0.5064 GB, free: 54.49 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat