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.001/2.001, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.337e-05, allocations: 7.938 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5692, allocations: 88.06 MB / 404.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5695, allocations: 75.58 kB / 404.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3498/0.9194, allocations: 81.23 MB / 485.7 MB, free: 6.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9194, allocations: 0 / 485.7 MB, free: 6.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001996/0.9196, allocations: 71.94 kB / 485.8 MB, free: 6.184 MB / 410.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.02127/0.9409, allocations: 3.856 MB / 489.6 MB, free: 2.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.941, allocations: 8.031 kB / 489.6 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3584/1.299, allocations: 5.867 MB / 495.5 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.321, allocations: 5.285 MB / 0.489 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/1.321, allocations: 117.7 kB / 0.4891 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/1.324, allocations: 218 kB / 0.4894 GB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01697/1.341, allocations: 6.888 MB / 0.4961 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/1.365, allocations: 9.19 MB / 0.5051 GB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/1.365, allocations: 29.25 kB / 0.5051 GB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.367, allocations: 15.5 kB / 0.5051 GB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/1.37, allocations: 1.158 MB / 0.5062 GB, free: 91.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06778/1.437, allocations: 35.03 MB / 0.5404 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/1.444, allocations: 4.083 MB / 0.5444 GB, free: 69.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/1.449, allocations: 2.266 MB / 0.5466 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/1.451, allocations: 1.878 MB / 0.5485 GB, free: 67.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.451, allocations: 48.34 kB / 0.5485 GB, free: 67.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=226): time 6.172e-06/1.451, allocations: 0 / 0.5485 GB, free: 67.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.03998/1.491, allocations: 11.82 MB / 0.5601 GB, free: 61.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.491, allocations: 73.41 kB / 0.5601 GB, free: 61.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/1.496, allocations: 2.388 MB / 0.5625 GB, free: 59.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006587/1.496, allocations: 25.7 kB / 0.5625 GB, free: 59.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.499, allocations: 2.755 MB / 0.5652 GB, free: 56.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.5, allocations: 0.8294 MB / 0.566 GB, free: 56.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/1.501, allocations: 0 / 0.566 GB, free: 56.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000368/1.501, allocations: 0.5604 MB / 0.5665 GB, free: 55.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005366/1.506, allocations: 2.527 MB / 0.569 GB, free: 53.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007685/1.514, allocations: 5.721 MB / 0.5746 GB, free: 46.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008155/1.522, allocations: 3.823 MB / 0.5783 GB, free: 43.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.522, allocations: 32 kB / 0.5784 GB, free: 43.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.1167/1.639, allocations: 18.49 MB / 0.5964 GB, free: 27.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/1.639, allocations: 58.28 kB / 0.5965 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08224/1.722, allocations: 11.89 MB / 0.6081 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09934/1.821, allocations: 10.31 MB / 0.6181 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.832, allocations: 1.33 MB / 0.6194 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04653/1.878, allocations: 15.08 MB / 0.6342 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007004/1.886, allocations: 354.8 kB / 0.6345 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.887, allocations: 340 kB / 0.6348 GB, free: 3.887 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 (693): * Single equations (assignments): 682 * 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.001635/1.889, allocations: 380.3 kB / 0.6352 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3579/2.247, allocations: 4.475 MB / 0.6396 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/2.248, allocations: 272 kB / 0.6398 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/2.265, allocations: 4.975 MB / 0.6447 GB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01448/2.28, allocations: 4.274 MB / 0.6489 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/2.28, allocations: 6.047 kB / 0.6489 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.838e-05/2.28, allocations: 12.19 kB / 0.6489 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0337/2.314, allocations: 11.95 MB / 0.6605 GB, free: 97.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/2.314, allocations: 5.688 kB / 0.6606 GB, free: 97.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/2.317, allocations: 411.1 kB / 0.6609 GB, free: 97.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005063/2.322, allocations: 0.9301 MB / 0.6619 GB, free: 97.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004977/2.323, allocations: 25.31 kB / 0.6619 GB, free: 97.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008872/2.332, allocations: 5.285 MB / 0.667 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001045/2.333, allocations: 1.404 MB / 0.6684 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/2.355, allocations: 8.256 MB / 0.6765 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/2.357, allocations: 332.2 kB / 0.6768 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001506/2.358, allocations: 17.78 kB / 0.6768 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004665/2.363, allocations: 172.4 kB / 0.677 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008347/2.364, allocations: 147.7 kB / 0.6771 GB, free: 91.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003847/2.364, allocations: 65.52 kB / 0.6772 GB, free: 91.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004886/2.369, allocations: 1.565 MB / 0.6787 GB, free: 90.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.369, allocations: 0 / 0.6787 GB, free: 90.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007693/2.377, allocations: 1.003 MB / 0.6797 GB, free: 90.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (172): * Single equations (assignments): 163 * 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.02002/2.397, allocations: 10.94 MB / 0.6904 GB, free: 84.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01621/2.413, allocations: 6.332 MB / 0.6965 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.413, allocations: 3.969 kB / 0.6966 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006295/2.42, allocations: 2.449 MB / 0.6989 GB, free: 81.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/2.422, allocations: 251.5 kB / 0.6992 GB, free: 81.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.453, allocations: 9.667 MB / 0.7086 GB, free: 78.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006563/2.46, allocations: 3.238 MB / 0.7118 GB, free: 76.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009416/2.469, allocations: 2.157 MB / 0.7139 GB, free: 74.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004398/2.474, allocations: 1.676 MB / 0.7155 GB, free: 73.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/2.474, allocations: 0 / 0.7155 GB, free: 73.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/2.657, allocations: 76.86 MB / 0.7906 GB, free: 1.141 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/2.658, allocations: 124.8 kB / 0.7907 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.653/7.311, allocations: 4 kB / 0.7907 GB, free: 0.9492 MB / 426.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