Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.308e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5703, allocations: 92.14 MB / 414 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5707, allocations: 71.95 kB / 414 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4414/1.012, allocations: 90.68 MB / 0.4929 GB, free: 2.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.012, allocations: 0 / 0.4929 GB, free: 2.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002271/1.012, allocations: 76 kB / 0.493 GB, free: 2.246 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.2989/1.311, allocations: 3.956 MB / 0.4968 GB, free: 97.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/1.311, allocations: 9.125 kB / 0.4968 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004548/1.316, allocations: 0.8455 MB / 0.4977 GB, free: 97.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/1.344, allocations: 3.546 MB / 0.5011 GB, free: 97.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0186/1.363, allocations: 4.422 MB / 0.5054 GB, free: 96.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005462/1.364, allocations: 323.8 kB / 0.5058 GB, free: 96.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003131/1.367, allocations: 431.7 kB / 0.5062 GB, free: 96.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03635/1.403, allocations: 10.83 MB / 0.5167 GB, free: 95.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/1.404, allocations: 31.97 kB / 0.5168 GB, free: 95.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/1.406, allocations: 187.6 kB / 0.5169 GB, free: 95.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/1.409, allocations: 1.256 MB / 0.5182 GB, free: 95.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.439, allocations: 10.32 MB / 0.5283 GB, free: 95.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08036/1.519, allocations: 37.73 MB / 0.5651 GB, free: 73.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.533, allocations: 4.553 MB / 0.5695 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/1.538, allocations: 2.38 MB / 0.5719 GB, free: 70.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.54, allocations: 1.323 MB / 0.5732 GB, free: 68.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.54, allocations: 58.72 kB / 0.5732 GB, free: 68.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 7.614e-06/1.54, allocations: 7.531 kB / 0.5732 GB, free: 68.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.05651/1.597, allocations: 14.58 MB / 0.5875 GB, free: 58.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/1.597, allocations: 73.41 kB / 0.5875 GB, free: 58.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/1.602, allocations: 2.444 MB / 0.5899 GB, free: 56.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005788/1.602, allocations: 64.86 kB / 0.59 GB, free: 56.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.605, allocations: 2.823 MB / 0.5927 GB, free: 53.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.606, allocations: 0.924 MB / 0.5936 GB, free: 52.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006825/1.607, allocations: 104 kB / 0.5937 GB, free: 52.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004895/1.607, allocations: 0.5421 MB / 0.5943 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/1.613, allocations: 2.251 MB / 0.5965 GB, free: 50.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007615/1.621, allocations: 5.191 MB / 0.6015 GB, free: 43.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/1.629, allocations: 3.464 MB / 0.6049 GB, free: 41.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.629, allocations: 28 kB / 0.6049 GB, free: 40.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02317/1.652, allocations: 8.127 MB / 0.6129 GB, free: 34.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/1.652, allocations: 48 kB / 0.6129 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.652, allocations: 104 kB / 0.613 GB, free: 33.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/1.657, allocations: 0.9461 MB / 0.614 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007919/1.665, allocations: 1.243 MB / 0.6152 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009763/1.675, allocations: 4.733 MB / 0.6198 GB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/1.681, allocations: 294.2 kB / 0.6201 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.682, allocations: 315.5 kB / 0.6204 GB, free: 27.42 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.001309/1.683, allocations: 0.5045 MB / 0.6209 GB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006866/1.684, allocations: 276.3 kB / 0.6211 GB, free: 26.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/1.698, allocations: 5.064 MB / 0.6261 GB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/1.698, allocations: 47.98 kB / 0.6261 GB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.698, allocations: 7.938 kB / 0.6261 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.689e-05/1.698, allocations: 15.95 kB / 0.6261 GB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/1.73, allocations: 11.93 MB / 0.6378 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/1.73, allocations: 8 kB / 0.6378 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/1.734, allocations: 407.4 kB / 0.6382 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/1.738, allocations: 0.7692 MB / 0.6389 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/1.739, allocations: 48 kB / 0.639 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/1.747, allocations: 4.02 MB / 0.6429 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.747, allocations: 15.94 kB / 0.6429 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.768, allocations: 8.38 MB / 0.6511 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.77, allocations: 0.6887 MB / 0.6518 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009043/1.771, allocations: 51.8 kB / 0.6518 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.774, allocations: 143.6 kB / 0.652 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007162/1.775, allocations: 152.9 kB / 0.6521 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/1.775, allocations: 72 kB / 0.6522 GB, free: 10.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004639/1.78, allocations: 1.669 MB / 0.6538 GB, free: 8.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.78, allocations: 0 / 0.6538 GB, free: 8.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006711/1.787, allocations: 1.008 MB / 0.6548 GB, free: 7.645 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.3573/2.144, allocations: 11.57 MB / 0.6661 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01456/2.159, allocations: 5.535 MB / 0.6715 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/2.159, allocations: 1.188 kB / 0.6715 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/2.164, allocations: 2.121 MB / 0.6736 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/2.168, allocations: 342.5 kB / 0.6739 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/2.203, allocations: 10.58 MB / 0.6842 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007071/2.21, allocations: 3.521 MB / 0.6877 GB, free: 99.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004776/2.214, allocations: 1.921 MB / 0.6895 GB, free: 99.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/2.215, allocations: 0 / 0.6895 GB, free: 99.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.131/6.345, allocations: 98.74 MB / 0.786 GB, free: 40.39 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat