Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.032e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4706, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.6657, allocations: 98.95 MB / 458.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.666, allocations: 75.95 kB / 458.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7593/1.425, allocations: 90.72 MB / 0.5367 GB, free: 106 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.425, allocations: 3.281 kB / 0.5367 GB, free: 106 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002366/1.426, allocations: 75.81 kB / 0.5368 GB, free: 106 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01678/1.442, allocations: 3.967 MB / 0.5407 GB, free: 104.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.442, allocations: 9.312 kB / 0.5407 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004104/1.447, allocations: 0.8392 MB / 0.5415 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/1.475, allocations: 3.549 MB / 0.545 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/1.493, allocations: 4.435 MB / 0.5493 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/1.493, allocations: 321.7 kB / 0.5496 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/1.495, allocations: 435.5 kB / 0.55 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.524, allocations: 10.83 MB / 0.5606 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/1.524, allocations: 31.33 kB / 0.5606 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/1.525, allocations: 192.4 kB / 0.5608 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/1.528, allocations: 1.251 MB / 0.562 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/1.556, allocations: 10.32 MB / 0.5721 GB, free: 98.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07365/1.629, allocations: 37.75 MB / 0.609 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/1.643, allocations: 4.551 MB / 0.6134 GB, free: 69.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/1.648, allocations: 2.375 MB / 0.6157 GB, free: 67.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.649, allocations: 1.322 MB / 0.617 GB, free: 65.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/1.65, allocations: 60.12 kB / 0.6171 GB, free: 65.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 7.394e-06/1.65, allocations: 0 / 0.6171 GB, free: 65.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.052/1.702, allocations: 14.59 MB / 0.6313 GB, free: 53.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.702, allocations: 73.41 kB / 0.6314 GB, free: 53.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/1.706, allocations: 2.435 MB / 0.6338 GB, free: 51.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004982/1.707, allocations: 57.7 kB / 0.6338 GB, free: 51.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.709, allocations: 2.844 MB / 0.6366 GB, free: 48.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.71, allocations: 0.918 MB / 0.6375 GB, free: 47.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/1.71, allocations: 108 kB / 0.6376 GB, free: 47.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003537/1.71, allocations: 0.5414 MB / 0.6381 GB, free: 46.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.715, allocations: 2.252 MB / 0.6403 GB, free: 44.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/1.721, allocations: 5.184 MB / 0.6454 GB, free: 37.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006877/1.728, allocations: 3.461 MB / 0.6488 GB, free: 34.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.163e-05/1.728, allocations: 31.95 kB / 0.6488 GB, free: 34.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02071/1.749, allocations: 8.193 MB / 0.6568 GB, free: 26.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/1.749, allocations: 52.25 kB / 0.6569 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.749, allocations: 104 kB / 0.657 GB, free: 25.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004845/1.754, allocations: 0.9488 MB / 0.6579 GB, free: 25.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007878/1.762, allocations: 1.236 MB / 0.6591 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/1.772, allocations: 4.744 MB / 0.6637 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.778, allocations: 299.9 kB / 0.664 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.779, allocations: 313.5 kB / 0.6643 GB, free: 18.32 MB / 458.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.001323/1.78, allocations: 0.4962 MB / 0.6648 GB, free: 17.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.781, allocations: 280.3 kB / 0.6651 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.795, allocations: 5.07 MB / 0.67 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/1.795, allocations: 43.98 kB / 0.6701 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.795, allocations: 3.953 kB / 0.6701 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.566e-05/1.795, allocations: 7.969 kB / 0.6701 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03225/1.828, allocations: 11.96 MB / 0.6818 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/1.828, allocations: 8 kB / 0.6818 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/1.831, allocations: 403.3 kB / 0.6821 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/1.836, allocations: 0.7695 MB / 0.6829 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005534/1.837, allocations: 44 kB / 0.6829 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009853/1.847, allocations: 4.012 MB / 0.6869 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-05/1.847, allocations: 15.88 kB / 0.6869 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/1.868, allocations: 8.387 MB / 0.6951 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/1.871, allocations: 0.6848 MB / 0.6957 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009751/1.872, allocations: 47.92 kB / 0.6958 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.874, allocations: 147.7 kB / 0.6959 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005269/1.875, allocations: 157 kB / 0.6961 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.875, allocations: 71.94 kB / 0.6961 GB, free: 1.008 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3799/2.255, allocations: 1.666 MB / 0.6978 GB, free: 108.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.82e-07/2.255, allocations: 0 / 0.6978 GB, free: 108.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007245/2.262, allocations: 1 MB / 0.6987 GB, free: 108.7 MB / 474.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.02338/2.286, allocations: 11.58 MB / 0.71 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01468/2.301, allocations: 5.532 MB / 0.7154 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/2.301, allocations: 3.781 kB / 0.7155 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005683/2.306, allocations: 2.121 MB / 0.7175 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/2.31, allocations: 342.5 kB / 0.7179 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/2.341, allocations: 10.07 MB / 0.7277 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007743/2.348, allocations: 3.517 MB / 0.7311 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008451/2.357, allocations: 2.002 MB / 0.7331 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004754/2.362, allocations: 1.879 MB / 0.7349 GB, free: 99.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/2.362, allocations: 0 / 0.7349 GB, free: 99.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/2.519, allocations: 70.12 MB / 0.8034 GB, free: 60.29 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/2.52, allocations: 171.3 kB / 0.8036 GB, free: 60.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/7.166, allocations: 0 / 0.8036 GB, free: 60.07 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat