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 2.041/2.041, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.733e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5755/0.6845, allocations: 91.74 MB / 408 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.6848, allocations: 76.44 kB / 408.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7174/1.402, allocations: 88.89 MB / 497 MB, free: 89.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.985e-06/1.402, allocations: 3.25 kB / 497 MB, free: 89.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003089/1.403, allocations: 80.22 kB / 497.1 MB, free: 89.57 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01731/1.42, allocations: 3.955 MB / 0.4893 GB, free: 87.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.42, allocations: 10.34 kB / 0.4893 GB, free: 87.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02861/1.449, allocations: 3.551 MB / 0.4928 GB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.466, allocations: 4.423 MB / 0.4971 GB, free: 87.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/1.467, allocations: 138.9 kB / 0.4972 GB, free: 87.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003057/1.47, allocations: 255.1 kB / 0.4975 GB, free: 87.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01987/1.49, allocations: 7.682 MB / 0.505 GB, free: 87.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/1.519, allocations: 10.03 MB / 0.5148 GB, free: 85.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/1.519, allocations: 26.84 kB / 0.5148 GB, free: 85.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002736/1.522, allocations: 14.09 kB / 0.5148 GB, free: 85.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002908/1.525, allocations: 1.255 MB / 0.516 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0909/1.616, allocations: 35.13 MB / 0.5503 GB, free: 67.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.626, allocations: 4.368 MB / 0.5546 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006892/1.633, allocations: 2.333 MB / 0.5569 GB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/1.635, allocations: 1.318 MB / 0.5582 GB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/1.635, allocations: 52.19 kB / 0.5582 GB, free: 62.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 6.412e-06/1.635, allocations: 0 / 0.5582 GB, free: 62.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.04811/1.683, allocations: 15.7 MB / 0.5735 GB, free: 50.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/1.683, allocations: 73.41 kB / 0.5736 GB, free: 50.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.688, allocations: 2.314 MB / 0.5759 GB, free: 48.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006166/1.688, allocations: 25.7 kB / 0.5759 GB, free: 48.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.691, allocations: 2.948 MB / 0.5788 GB, free: 45.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.692, allocations: 0.9035 MB / 0.5797 GB, free: 44.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/1.693, allocations: 0 / 0.5797 GB, free: 44.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003859/1.693, allocations: 0.5633 MB / 0.5802 GB, free: 44.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00487/1.698, allocations: 2.228 MB / 0.5824 GB, free: 42.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007274/1.705, allocations: 5.407 MB / 0.5877 GB, free: 35.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00761/1.713, allocations: 3.505 MB / 0.5911 GB, free: 32.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.713, allocations: 36 kB / 0.5911 GB, free: 32.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02253/1.736, allocations: 7.79 MB / 0.5987 GB, free: 25.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/1.736, allocations: 54.34 kB / 0.5988 GB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001531/1.736, allocations: 112 kB / 0.5989 GB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/1.741, allocations: 0.9538 MB / 0.5998 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008289/1.749, allocations: 1.324 MB / 0.6011 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00941/1.759, allocations: 4.558 MB / 0.6056 GB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005862/1.765, allocations: 195.8 kB / 0.6058 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.766, allocations: 340 kB / 0.6061 GB, free: 19.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * 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 (708): * Single equations (assignments): 701 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001432/1.768, allocations: 396.7 kB / 0.6065 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01219/1.78, allocations: 4.416 MB / 0.6108 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.781, allocations: 276.4 kB / 0.611 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.795, allocations: 4.952 MB / 0.6159 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001226/1.796, allocations: 40 kB / 0.6159 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.796, allocations: 4 kB / 0.6159 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/1.796, allocations: 15.95 kB / 0.6159 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.827, allocations: 10.83 MB / 0.6265 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/1.827, allocations: 16.25 kB / 0.6265 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003654/1.83, allocations: 399.4 kB / 0.6269 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004569/1.835, allocations: 0.7653 MB / 0.6276 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/1.836, allocations: 20 kB / 0.6277 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/1.846, allocations: 3.866 MB / 0.6314 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.241e-05/1.846, allocations: 19.89 kB / 0.6315 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/1.875, allocations: 8.308 MB / 0.6396 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3057/2.18, allocations: 0.6775 MB / 0.6402 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.182, allocations: 15.14 kB / 0.6402 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/2.185, allocations: 110.7 kB / 0.6404 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000945/2.186, allocations: 160.2 kB / 0.6405 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/2.186, allocations: 73.94 kB / 0.6406 GB, free: 93.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004871/2.191, allocations: 1.508 MB / 0.642 GB, free: 93.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.191, allocations: 0 / 0.642 GB, free: 93.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008301/2.2, allocations: 0.8766 MB / 0.6429 GB, free: 93.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (198): * Single equations (assignments): 191 * 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.0231/2.223, allocations: 11.62 MB / 0.6543 GB, free: 88.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01403/2.237, allocations: 5.431 MB / 0.6596 GB, free: 88.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/2.237, allocations: 0 / 0.6596 GB, free: 88.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00464/2.241, allocations: 2.073 MB / 0.6616 GB, free: 88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/2.245, allocations: 233.2 kB / 0.6618 GB, free: 87.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03306/2.278, allocations: 10.38 MB / 0.6719 GB, free: 86.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007906/2.286, allocations: 3.523 MB / 0.6754 GB, free: 85.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00545/2.291, allocations: 1.952 MB / 0.6773 GB, free: 85.24 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/2.291, allocations: 3.172 kB / 0.6773 GB, free: 85.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.027/6.318, allocations: 97.57 MB / 0.7726 GB, free: 18.88 MB / 426.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