Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.678e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5713, allocations: 92.15 MB / 414 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5717, allocations: 71.97 kB / 414.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.416/0.9877, allocations: 90.67 MB / 0.4929 GB, free: 1.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9878, allocations: 0 / 0.4929 GB, free: 1.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.988, allocations: 76 kB / 0.493 GB, free: 1.805 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.3814/1.369, allocations: 3.957 MB / 0.4969 GB, free: 97.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.064e-05/1.37, allocations: 9.688 kB / 0.4969 GB, free: 97.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006771/1.376, allocations: 0.841 MB / 0.4977 GB, free: 97.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/1.414, allocations: 3.549 MB / 0.5012 GB, free: 97.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02054/1.435, allocations: 4.428 MB / 0.5055 GB, free: 96.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007919/1.436, allocations: 324.9 kB / 0.5058 GB, free: 96.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003432/1.439, allocations: 430.6 kB / 0.5062 GB, free: 96.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03906/1.478, allocations: 10.77 MB / 0.5167 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/1.479, allocations: 30.12 kB / 0.5168 GB, free: 95.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/1.482, allocations: 194.7 kB / 0.517 GB, free: 95.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003201/1.485, allocations: 1.256 MB / 0.5182 GB, free: 95.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/1.518, allocations: 10.19 MB / 0.5281 GB, free: 95.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/1.63, allocations: 37.73 MB / 0.565 GB, free: 73.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.653, allocations: 4.543 MB / 0.5694 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008276/1.662, allocations: 2.378 MB / 0.5717 GB, free: 70.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/1.664, allocations: 1.323 MB / 0.573 GB, free: 69.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/1.664, allocations: 51.75 kB / 0.5731 GB, free: 69.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 1.272e-05/1.664, allocations: 0 / 0.5731 GB, free: 69.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.0895/1.754, allocations: 14.59 MB / 0.5873 GB, free: 58.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/1.754, allocations: 69.41 kB / 0.5874 GB, free: 58.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/1.76, allocations: 2.445 MB / 0.5898 GB, free: 56.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006143/1.761, allocations: 57.7 kB / 0.5898 GB, free: 56.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.763, allocations: 2.842 MB / 0.5926 GB, free: 53.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.765, allocations: 0.9236 MB / 0.5935 GB, free: 52.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/1.766, allocations: 104 kB / 0.5936 GB, free: 52.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005595/1.766, allocations: 0.5365 MB / 0.5941 GB, free: 52.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.772, allocations: 2.25 MB / 0.5963 GB, free: 50.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008092/1.781, allocations: 5.161 MB / 0.6014 GB, free: 43.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.792, allocations: 3.454 MB / 0.6048 GB, free: 41.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002075/1.792, allocations: 35.94 kB / 0.6048 GB, free: 41.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.03756/1.83, allocations: 7.911 MB / 0.6125 GB, free: 34.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.83, allocations: 48.22 kB / 0.6126 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002547/1.831, allocations: 108 kB / 0.6127 GB, free: 34.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007701/1.838, allocations: 0.943 MB / 0.6136 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/1.851, allocations: 1.241 MB / 0.6148 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.868, allocations: 4.732 MB / 0.6194 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008962/1.877, allocations: 295.5 kB / 0.6197 GB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/1.879, allocations: 311.8 kB / 0.62 GB, free: 27.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (661): * Single equations (assignments): 654 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004124/1.883, allocations: 0.5083 MB / 0.6205 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.885, allocations: 279.4 kB / 0.6208 GB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.901, allocations: 5.066 MB / 0.6257 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.901, allocations: 47.98 kB / 0.6258 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.901, allocations: 0 / 0.6258 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.614e-05/1.901, allocations: 11.97 kB / 0.6258 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/1.938, allocations: 11.91 MB / 0.6374 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/1.938, allocations: 11.94 kB / 0.6374 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004537/1.943, allocations: 403.3 kB / 0.6378 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00584/1.949, allocations: 0.7695 MB / 0.6385 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007536/1.95, allocations: 51.91 kB / 0.6386 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.962, allocations: 4.017 MB / 0.6425 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/1.962, allocations: 19.92 kB / 0.6425 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02885/1.991, allocations: 8.384 MB / 0.6507 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/1.995, allocations: 0.6848 MB / 0.6514 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.997, allocations: 51.64 kB / 0.6514 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/2.001, allocations: 139.8 kB / 0.6516 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/2.002, allocations: 152.9 kB / 0.6517 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000683/2.003, allocations: 75.92 kB / 0.6518 GB, free: 10.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00717/2.01, allocations: 1.665 MB / 0.6534 GB, free: 8.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.784e-06/2.01, allocations: 0 / 0.6534 GB, free: 8.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01057/2.021, allocations: 1.008 MB / 0.6544 GB, free: 7.969 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4464/2.467, allocations: 11.57 MB / 0.6657 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01468/2.482, allocations: 5.368 MB / 0.6709 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/2.482, allocations: 4 kB / 0.6709 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005838/2.488, allocations: 2.092 MB / 0.673 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/2.491, allocations: 343 kB / 0.6733 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/2.528, allocations: 10.06 MB / 0.6831 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008366/2.537, allocations: 3.521 MB / 0.6866 GB, free: 99.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008998/2.546, allocations: 1.996 MB / 0.6885 GB, free: 99.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004994/2.551, allocations: 1.872 MB / 0.6904 GB, free: 99.22 MB / 442.7 MB Notification: Performance of SimCode: time 2.224e-06/2.551, allocations: 0 / 0.6904 GB, free: 99.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1919/2.743, allocations: 69.63 MB / 0.7583 GB, free: 66.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/2.743, allocations: 164.9 kB / 0.7585 GB, free: 66.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.912/7.655, allocations: 0 / 0.7585 GB, free: 66.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat