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.007/2.007, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.511e-05/4.523e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5562, allocations: 92.14 MB / 414 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5566, allocations: 83.05 kB / 414.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4107/0.9673, allocations: 90.67 MB / 0.4929 GB, free: 2.184 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.9673, allocations: 0 / 0.4929 GB, free: 2.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002155/0.9676, allocations: 76 kB / 0.493 GB, free: 2.109 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.2927/1.26, allocations: 3.958 MB / 0.4969 GB, free: 97.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.26, allocations: 10.67 kB / 0.4969 GB, free: 97.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004632/1.265, allocations: 0.8386 MB / 0.4977 GB, free: 97.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02893/1.294, allocations: 3.548 MB / 0.5012 GB, free: 96.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0187/1.313, allocations: 4.428 MB / 0.5055 GB, free: 96.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000626/1.313, allocations: 324.9 kB / 0.5058 GB, free: 96.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/1.316, allocations: 430.1 kB / 0.5062 GB, free: 96.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03569/1.352, allocations: 10.78 MB / 0.5167 GB, free: 95.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/1.353, allocations: 26.62 kB / 0.5167 GB, free: 95.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002634/1.355, allocations: 194.5 kB / 0.5169 GB, free: 95.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/1.358, allocations: 1.253 MB / 0.5182 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0292/1.387, allocations: 10.19 MB / 0.5281 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1405/1.528, allocations: 37.74 MB / 0.565 GB, free: 73.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.546, allocations: 4.535 MB / 0.5694 GB, free: 71.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005006/1.551, allocations: 2.379 MB / 0.5717 GB, free: 70.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/1.553, allocations: 1.32 MB / 0.573 GB, free: 69.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/1.553, allocations: 54.83 kB / 0.5731 GB, free: 69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.462e-06/1.553, allocations: 3.938 kB / 0.5731 GB, free: 68.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.05583/1.609, allocations: 14.59 MB / 0.5873 GB, free: 58.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.609, allocations: 77.2 kB / 0.5874 GB, free: 58.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/1.615, allocations: 2.444 MB / 0.5898 GB, free: 56.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005555/1.615, allocations: 58.03 kB / 0.5898 GB, free: 56.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/1.617, allocations: 2.831 MB / 0.5926 GB, free: 53.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.619, allocations: 0.9192 MB / 0.5935 GB, free: 52.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/1.62, allocations: 107.8 kB / 0.5936 GB, free: 52.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004169/1.62, allocations: 0.5442 MB / 0.5941 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005372/1.625, allocations: 2.254 MB / 0.5963 GB, free: 50.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009817/1.635, allocations: 5.16 MB / 0.6014 GB, free: 44.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.646, allocations: 3.455 MB / 0.6047 GB, free: 41.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/1.646, allocations: 28 kB / 0.6048 GB, free: 41.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.03064/1.677, allocations: 7.84 MB / 0.6124 GB, free: 34.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.677, allocations: 52.28 kB / 0.6125 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/1.677, allocations: 104 kB / 0.6126 GB, free: 34.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006649/1.684, allocations: 0.9463 MB / 0.6135 GB, free: 33.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.694, allocations: 1.243 MB / 0.6147 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.708, allocations: 4.734 MB / 0.6193 GB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.713, allocations: 293.7 kB / 0.6196 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/1.715, allocations: 307.8 kB / 0.6199 GB, free: 27.9 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.001653/1.716, allocations: 0.5084 MB / 0.6204 GB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/1.717, allocations: 280.3 kB / 0.6207 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.732, allocations: 5.069 MB / 0.6256 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/1.732, allocations: 47.58 kB / 0.6257 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.732, allocations: 4 kB / 0.6257 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-05/1.732, allocations: 7.969 kB / 0.6257 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03259/1.765, allocations: 11.91 MB / 0.6373 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/1.765, allocations: 8 kB / 0.6373 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.768, allocations: 399.3 kB / 0.6377 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004214/1.772, allocations: 0.7731 MB / 0.6384 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005226/1.773, allocations: 47.98 kB / 0.6385 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008214/1.781, allocations: 4.02 MB / 0.6424 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.781, allocations: 11.94 kB / 0.6424 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/1.801, allocations: 8.388 MB / 0.6506 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/1.804, allocations: 0.6809 MB / 0.6513 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.805, allocations: 44 kB / 0.6513 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.808, allocations: 147.2 kB / 0.6515 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.808, allocations: 160.9 kB / 0.6516 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/1.809, allocations: 71.98 kB / 0.6517 GB, free: 10.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004796/1.814, allocations: 1.662 MB / 0.6533 GB, free: 9.059 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.814, allocations: 0 / 0.6533 GB, free: 9.059 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007442/1.821, allocations: 1.01 MB / 0.6543 GB, free: 8.055 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.3105/2.132, allocations: 11.57 MB / 0.6656 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0137/2.145, allocations: 5.366 MB / 0.6708 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/2.146, allocations: 4.719 kB / 0.6708 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005399/2.151, allocations: 2.095 MB / 0.6729 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/2.154, allocations: 341.7 kB / 0.6732 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/2.188, allocations: 10.56 MB / 0.6835 GB, free: 99.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007605/2.196, allocations: 3.528 MB / 0.687 GB, free: 99.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/2.201, allocations: 1.916 MB / 0.6888 GB, free: 99.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/2.201, allocations: 0 / 0.6888 GB, free: 99.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.445/6.646, allocations: 97.9 MB / 0.7845 GB, free: 41.49 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