Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.645/2.645, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/4.96e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4274, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.6165, allocations: 99.2 MB / 459.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.6169, allocations: 75.95 kB / 459.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.909/1.526, allocations: 128.6 MB / 0.574 GB, free: 104.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.526, allocations: 4 kB / 0.574 GB, free: 104.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003855/1.526, allocations: 115.8 kB / 0.5741 GB, free: 104.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.02729/1.554, allocations: 6.241 MB / 0.5802 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.554, allocations: 11.16 kB / 0.5802 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00566/1.559, allocations: 1.091 MB / 0.5812 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04904/1.608, allocations: 6.459 MB / 0.5876 GB, free: 98.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/1.636, allocations: 8.563 MB / 0.5959 GB, free: 93.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005219/1.637, allocations: 438.7 kB / 0.5963 GB, free: 93.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004023/1.641, allocations: 0.5821 MB / 0.5969 GB, free: 92.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04752/1.688, allocations: 15.24 MB / 0.6118 GB, free: 76.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004604/1.689, allocations: 55.5 kB / 0.6118 GB, free: 76.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003688/1.693, allocations: 265.2 kB / 0.6121 GB, free: 76.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004111/1.697, allocations: 1.694 MB / 0.6137 GB, free: 74.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/1.74, allocations: 14.46 MB / 0.6279 GB, free: 60.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1324/1.872, allocations: 56.27 MB / 0.6828 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03946/1.912, allocations: 7.928 MB / 0.6906 GB, free: 10.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/1.923, allocations: 4.694 MB / 0.6951 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/1.927, allocations: 2.204 MB / 0.6973 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.024e-05/1.927, allocations: 65.08 kB / 0.6974 GB, free: 3.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=367): time 8.626e-06/1.927, allocations: 0 / 0.6974 GB, free: 3.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.5438/2.471, allocations: 33.38 MB / 0.7299 GB, free: 109.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/2.471, allocations: 123.9 kB / 0.7301 GB, free: 109.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009016/2.48, allocations: 3.821 MB / 0.7338 GB, free: 108.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001274/2.481, allocations: 88.38 kB / 0.7339 GB, free: 108.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003376/2.485, allocations: 3.904 MB / 0.7377 GB, free: 105.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002781/2.488, allocations: 1.49 MB / 0.7391 GB, free: 104.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/2.489, allocations: 151.6 kB / 0.7393 GB, free: 104.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005353/2.489, allocations: 0.6366 MB / 0.7399 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009801/2.499, allocations: 3.824 MB / 0.7436 GB, free: 102.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/2.513, allocations: 7.567 MB / 0.751 GB, free: 96.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/2.526, allocations: 5.412 MB / 0.7563 GB, free: 94.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/2.526, allocations: 39.41 kB / 0.7564 GB, free: 94.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.04667/2.573, allocations: 13.58 MB / 0.7696 GB, free: 90.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/2.573, allocations: 60.56 kB / 0.7697 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/2.573, allocations: 133.4 kB / 0.7698 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/2.587, allocations: 2.644 MB / 0.7724 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/2.602, allocations: 1.938 MB / 0.7743 GB, free: 88.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03081/2.633, allocations: 13.6 MB / 0.7876 GB, free: 76.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.643, allocations: 484.8 kB / 0.788 GB, free: 76.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002446/2.646, allocations: 430.3 kB / 0.7884 GB, free: 75.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004213/2.65, allocations: 0.6486 MB / 0.7891 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/2.652, allocations: 475.6 kB / 0.7895 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07881/2.731, allocations: 10.36 MB / 0.7996 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/2.731, allocations: 63.56 kB / 0.7997 GB, free: 66.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-05/2.731, allocations: 12 kB / 0.7997 GB, free: 66.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001169/2.731, allocations: 19.73 kB / 0.7997 GB, free: 66.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06487/2.796, allocations: 20.96 MB / 0.8202 GB, free: 47.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.351e-05/2.796, allocations: 16.75 kB / 0.8202 GB, free: 47.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00758/2.804, allocations: 0.7888 MB / 0.821 GB, free: 46.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/2.817, allocations: 2.407 MB / 0.8233 GB, free: 44.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00128/2.818, allocations: 77.52 kB / 0.8234 GB, free: 44.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/2.845, allocations: 12.36 MB / 0.8355 GB, free: 31.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/2.845, allocations: 15.94 kB / 0.8355 GB, free: 31.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0387/2.884, allocations: 16.12 MB / 0.8512 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/2.888, allocations: 1.151 MB / 0.8524 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/2.89, allocations: 81.16 kB / 0.8524 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005293/2.895, allocations: 297.5 kB / 0.8527 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.896, allocations: 263.2 kB / 0.853 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004662/2.897, allocations: 112 kB / 0.8531 GB, free: 12.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005763/2.902, allocations: 2.667 MB / 0.8557 GB, free: 10.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.81e-07/2.902, allocations: 0 / 0.8557 GB, free: 10.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01004/2.913, allocations: 1.656 MB / 0.8573 GB, free: 8.613 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04462/2.957, allocations: 19.35 MB / 0.8762 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3688/3.326, allocations: 9.356 MB / 0.8853 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/3.326, allocations: 2.469 kB / 0.8853 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01251/3.339, allocations: 4.145 MB / 0.8894 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006746/3.345, allocations: 0.6401 MB / 0.89 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05681/3.402, allocations: 15.33 MB / 0.905 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/3.415, allocations: 4.743 MB / 0.9096 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0135/3.428, allocations: 2.739 MB / 0.9123 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008423/3.437, allocations: 2.904 MB / 0.9151 GB, free: 116.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/3.437, allocations: 0 / 0.9151 GB, free: 116.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3213/3.758, allocations: 121.8 MB / 1.034 GB, free: 21.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/3.758, allocations: 178.5 kB / 1.034 GB, free: 21.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/10.39, allocations: 0 / 1.034 GB, free: 21.73 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat