Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.86/1.86, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.994e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5341, allocations: 92.14 MB / 414 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5345, allocations: 71.95 kB / 414.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3944/0.9289, allocations: 90.68 MB / 0.4929 GB, free: 1.902 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.9289, allocations: 0 / 0.4929 GB, free: 1.902 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002361/0.9292, allocations: 79.98 kB / 0.493 GB, free: 1.824 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.302/1.231, allocations: 3.955 MB / 0.4969 GB, free: 97.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/1.231, allocations: 8.938 kB / 0.4969 GB, free: 97.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004909/1.236, allocations: 0.8408 MB / 0.4977 GB, free: 97.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02907/1.265, allocations: 3.55 MB / 0.5012 GB, free: 97.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/1.284, allocations: 4.422 MB / 0.5055 GB, free: 97.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.285, allocations: 328.7 kB / 0.5058 GB, free: 97.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/1.288, allocations: 430.9 kB / 0.5062 GB, free: 97.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/1.327, allocations: 10.82 MB / 0.5168 GB, free: 95.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005122/1.328, allocations: 31.31 kB / 0.5168 GB, free: 95.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003936/1.332, allocations: 197.8 kB / 0.517 GB, free: 95.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004281/1.336, allocations: 1.254 MB / 0.5182 GB, free: 95.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04429/1.38, allocations: 10.32 MB / 0.5283 GB, free: 95.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08792/1.468, allocations: 37.72 MB / 0.5651 GB, free: 73.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.482, allocations: 4.555 MB / 0.5696 GB, free: 71.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/1.487, allocations: 2.378 MB / 0.5719 GB, free: 70.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/1.489, allocations: 1.327 MB / 0.5732 GB, free: 69.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.489, allocations: 51.94 kB / 0.5732 GB, free: 69.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 7.194e-06/1.489, allocations: 0 / 0.5732 GB, free: 69.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.05565/1.545, allocations: 14.58 MB / 0.5875 GB, free: 58.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.545, allocations: 73.41 kB / 0.5876 GB, free: 58.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/1.55, allocations: 2.447 MB / 0.5899 GB, free: 56.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005438/1.551, allocations: 58.8 kB / 0.59 GB, free: 56.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.553, allocations: 2.838 MB / 0.5928 GB, free: 53.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.554, allocations: 0.9236 MB / 0.5937 GB, free: 52.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.555, allocations: 104 kB / 0.5938 GB, free: 52.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003926/1.555, allocations: 0.5386 MB / 0.5943 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005397/1.561, allocations: 2.252 MB / 0.5965 GB, free: 50.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007366/1.568, allocations: 5.193 MB / 0.6016 GB, free: 43.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/1.575, allocations: 3.457 MB / 0.6049 GB, free: 41.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.265e-05/1.576, allocations: 28 kB / 0.605 GB, free: 41.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02272/1.598, allocations: 8.203 MB / 0.613 GB, free: 33.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.598, allocations: 48 kB / 0.613 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/1.599, allocations: 107.6 kB / 0.6131 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00475/1.603, allocations: 0.9436 MB / 0.6141 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007862/1.611, allocations: 1.244 MB / 0.6153 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/1.621, allocations: 4.728 MB / 0.6199 GB, free: 27.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/1.627, allocations: 298.8 kB / 0.6202 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.628, allocations: 310.6 kB / 0.6205 GB, free: 27.39 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.001429/1.629, allocations: 0.4988 MB / 0.621 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/1.63, allocations: 280.3 kB / 0.6212 GB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.644, allocations: 5.069 MB / 0.6262 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.906e-05/1.644, allocations: 47.98 kB / 0.6262 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.644, allocations: 0 / 0.6262 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/1.644, allocations: 11.97 kB / 0.6262 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.675, allocations: 11.95 MB / 0.6379 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.675, allocations: 8.969 kB / 0.6379 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/1.679, allocations: 403.4 kB / 0.6383 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004251/1.683, allocations: 0.7653 MB / 0.639 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005452/1.683, allocations: 47.98 kB / 0.6391 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008111/1.692, allocations: 4.017 MB / 0.643 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/1.692, allocations: 11.94 kB / 0.643 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.712, allocations: 8.39 MB / 0.6512 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/1.714, allocations: 0.6809 MB / 0.6519 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000717/1.715, allocations: 47.47 kB / 0.6519 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.718, allocations: 147.5 kB / 0.6521 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007804/1.719, allocations: 152.9 kB / 0.6522 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/1.719, allocations: 75.86 kB / 0.6523 GB, free: 10.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004643/1.724, allocations: 1.662 MB / 0.6539 GB, free: 8.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.724, allocations: 4 kB / 0.6539 GB, free: 8.445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006649/1.73, allocations: 1.01 MB / 0.6549 GB, free: 7.441 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.3176/2.048, allocations: 11.57 MB / 0.6662 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01501/2.063, allocations: 5.538 MB / 0.6716 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/2.063, allocations: 1.406 kB / 0.6716 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00554/2.069, allocations: 2.124 MB / 0.6737 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/2.072, allocations: 338.3 kB / 0.674 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/2.105, allocations: 10.07 MB / 0.6838 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008868/2.114, allocations: 3.518 MB / 0.6873 GB, free: 99.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008497/2.123, allocations: 1.997 MB / 0.6892 GB, free: 99.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004578/2.127, allocations: 1.872 MB / 0.6911 GB, free: 99.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/2.127, allocations: 0 / 0.6911 GB, free: 99.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1583/2.286, allocations: 70.12 MB / 0.7595 GB, free: 65.99 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/2.286, allocations: 178.1 kB / 0.7597 GB, free: 65.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.281/7.567, allocations: 0 / 0.7597 GB, free: 65.76 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat