Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.077e-05, allocations: 9.828 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5786/0.7231, allocations: 106.8 MB / 0.5051 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.7234, allocations: 79.94 kB / 0.5051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4604/1.184, allocations: 91.1 MB / 0.5941 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.118e-06/1.184, allocations: 0 / 0.5941 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002247/1.184, allocations: 83.94 kB / 0.5942 GB, free: 1.324 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01572/1.2, allocations: 3.898 MB / 0.598 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.2, allocations: 12.03 kB / 0.598 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003857/1.204, allocations: 0.8204 MB / 0.5988 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02738/1.231, allocations: 3.535 MB / 0.6022 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/1.249, allocations: 4.26 MB / 0.6064 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/1.25, allocations: 324.2 kB / 0.6067 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00284/1.253, allocations: 419.8 kB / 0.6071 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4033/1.656, allocations: 10.6 MB / 0.6175 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/1.656, allocations: 30.38 kB / 0.6175 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/1.659, allocations: 190.6 kB / 0.6177 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/1.662, allocations: 1.215 MB / 0.6189 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/1.696, allocations: 10.13 MB / 0.6288 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07737/1.773, allocations: 36.98 MB / 0.6649 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.787, allocations: 4.536 MB / 0.6693 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005138/1.792, allocations: 2.383 MB / 0.6716 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/1.794, allocations: 1.321 MB / 0.6729 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.794, allocations: 52.47 kB / 0.673 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 2.309e-05/1.794, allocations: 0 / 0.673 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.05722/1.852, allocations: 14.51 MB / 0.6871 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.852, allocations: 78.53 kB / 0.6872 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/1.858, allocations: 2.408 MB / 0.6896 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006511/1.859, allocations: 60.25 kB / 0.6896 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.861, allocations: 2.783 MB / 0.6923 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.862, allocations: 0.9132 MB / 0.6932 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006413/1.863, allocations: 106.1 kB / 0.6933 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004168/1.864, allocations: 0.5345 MB / 0.6939 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/1.869, allocations: 2.238 MB / 0.696 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007462/1.876, allocations: 5.095 MB / 0.701 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007546/1.884, allocations: 3.441 MB / 0.7044 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.884, allocations: 30.12 kB / 0.7044 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02284/1.907, allocations: 7.85 MB / 0.7121 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/1.907, allocations: 48 kB / 0.7121 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/1.907, allocations: 100.8 kB / 0.7122 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/1.912, allocations: 0.9493 MB / 0.7131 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007955/1.92, allocations: 1.215 MB / 0.7143 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009643/1.93, allocations: 4.727 MB / 0.7189 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.935, allocations: 295.5 kB / 0.7192 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.937, allocations: 312.8 kB / 0.7195 GB, free: 71.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (652): * Single equations (assignments): 645 * 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.00111/1.938, allocations: 0.5005 MB / 0.72 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006882/1.938, allocations: 272.4 kB / 0.7203 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.952, allocations: 5.067 MB / 0.7252 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/1.952, allocations: 54.66 kB / 0.7253 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.952, allocations: 4 kB / 0.7253 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/1.952, allocations: 10.22 kB / 0.7253 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03214/1.984, allocations: 11.84 MB / 0.7368 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/1.984, allocations: 12.25 kB / 0.7369 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.988, allocations: 402.8 kB / 0.7372 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/1.992, allocations: 0.764 MB / 0.738 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006176/1.993, allocations: 59.14 kB / 0.738 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008276/2.001, allocations: 4.017 MB / 0.742 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/2.001, allocations: 15.94 kB / 0.742 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/2.019, allocations: 8.373 MB / 0.7502 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/2.02, allocations: 329.2 kB / 0.7505 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/2.02, allocations: 52.91 kB / 0.7505 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.023, allocations: 144 kB / 0.7507 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/2.023, allocations: 153.4 kB / 0.7508 GB, free: 43.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/2.024, allocations: 75.61 kB / 0.7509 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003551/2.027, allocations: 1.643 MB / 0.7525 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.71e-07/2.027, allocations: 0 / 0.7525 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006522/2.034, allocations: 1.001 MB / 0.7535 GB, free: 41.17 MB / 0.5105 GB 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.01896/2.053, allocations: 11.57 MB / 0.7648 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.065, allocations: 5.341 MB / 0.77 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.065, allocations: 12 kB / 0.77 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/2.07, allocations: 2.087 MB / 0.772 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/2.073, allocations: 365.3 kB / 0.7724 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/2.102, allocations: 9.901 MB / 0.782 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006275/2.109, allocations: 3.47 MB / 0.7854 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007778/2.116, allocations: 1.985 MB / 0.7874 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004167/2.121, allocations: 1.831 MB / 0.7892 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/2.121, allocations: 0 / 0.7892 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5269/2.648, allocations: 69.13 MB / 0.8567 GB, free: 125 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/2.648, allocations: 169.1 kB / 0.8568 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.582/7.23, allocations: 0 / 0.8568 GB, free: 124.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat