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.658/2.658, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.372e-05, allocations: 4.938 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4688, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.6623, allocations: 98.96 MB / 458.9 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.6626, allocations: 71.97 kB / 458.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7577/1.42, allocations: 90.73 MB / 0.5368 GB, free: 106 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.42, allocations: 0 / 0.5368 GB, free: 106 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002236/1.421, allocations: 82.28 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.01669/1.437, allocations: 3.968 MB / 0.5407 GB, free: 104.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/1.437, allocations: 9.5 kB / 0.5407 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004664/1.442, allocations: 0.8389 MB / 0.5415 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/1.47, allocations: 3.545 MB / 0.545 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/1.487, allocations: 4.428 MB / 0.5493 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004322/1.488, allocations: 328.3 kB / 0.5496 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002997/1.491, allocations: 423.8 kB / 0.5501 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/1.525, allocations: 10.79 MB / 0.5606 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/1.526, allocations: 25.06 kB / 0.5606 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/1.528, allocations: 199.2 kB / 0.5608 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/1.532, allocations: 1.254 MB / 0.562 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/1.562, allocations: 10.19 MB / 0.572 GB, free: 98.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08661/1.649, allocations: 37.74 MB / 0.6088 GB, free: 73.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.663, allocations: 4.531 MB / 0.6133 GB, free: 69.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00496/1.668, allocations: 2.382 MB / 0.6156 GB, free: 67.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/1.67, allocations: 1.321 MB / 0.6169 GB, free: 66.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.67, allocations: 52.56 kB / 0.6169 GB, free: 66.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 8.476e-06/1.67, allocations: 0 / 0.6169 GB, free: 66.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.0701/1.74, allocations: 14.59 MB / 0.6312 GB, free: 53.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.74, allocations: 73.41 kB / 0.6312 GB, free: 53.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008542/1.748, allocations: 2.448 MB / 0.6336 GB, free: 51.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007135/1.749, allocations: 53.7 kB / 0.6337 GB, free: 51.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003228/1.752, allocations: 2.843 MB / 0.6365 GB, free: 48.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.754, allocations: 0.922 MB / 0.6374 GB, free: 47.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008271/1.755, allocations: 106.9 kB / 0.6375 GB, free: 47.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006056/1.756, allocations: 0.5336 MB / 0.638 GB, free: 46.85 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0073/1.763, allocations: 2.248 MB / 0.6402 GB, free: 44.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008007/1.771, allocations: 5.162 MB / 0.6452 GB, free: 37.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/1.779, allocations: 3.461 MB / 0.6486 GB, free: 34.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.779, allocations: 31.95 kB / 0.6486 GB, free: 34.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02285/1.802, allocations: 7.905 MB / 0.6564 GB, free: 26.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/1.802, allocations: 55.98 kB / 0.6564 GB, free: 26.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.803, allocations: 100 kB / 0.6565 GB, free: 26.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/1.807, allocations: 0.9417 MB / 0.6574 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008614/1.816, allocations: 1.244 MB / 0.6586 GB, free: 24.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.83, allocations: 4.745 MB / 0.6633 GB, free: 19.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008373/1.838, allocations: 295.8 kB / 0.6635 GB, free: 19.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.84, allocations: 315.3 kB / 0.6639 GB, free: 18.77 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.002738/1.843, allocations: 0.4986 MB / 0.6643 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.844, allocations: 280.3 kB / 0.6646 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.861, allocations: 5.064 MB / 0.6696 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/1.861, allocations: 46.03 kB / 0.6696 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.861, allocations: 7.953 kB / 0.6696 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.968e-05/1.861, allocations: 15.95 kB / 0.6696 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.894, allocations: 11.91 MB / 0.6812 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/1.894, allocations: 12.81 kB / 0.6813 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/1.897, allocations: 407.3 kB / 0.6817 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006907/1.904, allocations: 0.7673 MB / 0.6824 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008609/1.905, allocations: 50.48 kB / 0.6824 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.921, allocations: 4.018 MB / 0.6864 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/1.921, allocations: 11.94 kB / 0.6864 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03186/1.953, allocations: 8.388 MB / 0.6946 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004085/1.957, allocations: 0.6809 MB / 0.6952 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.958, allocations: 44.11 kB / 0.6953 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.962, allocations: 147.7 kB / 0.6954 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008092/1.963, allocations: 148.9 kB / 0.6956 GB, free: 1.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002901/1.963, allocations: 79.34 kB / 0.6956 GB, free: 1.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3801/2.343, allocations: 1.663 MB / 0.6973 GB, free: 109.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.344, allocations: 0.7812 kB / 0.6973 GB, free: 109.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007681/2.351, allocations: 1.001 MB / 0.6982 GB, free: 109.4 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.02374/2.375, allocations: 11.58 MB / 0.7096 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0144/2.389, allocations: 5.369 MB / 0.7148 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/2.39, allocations: 6.312 kB / 0.7148 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005663/2.395, allocations: 2.09 MB / 0.7168 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/2.399, allocations: 350.7 kB / 0.7172 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.432, allocations: 10.05 MB / 0.727 GB, free: 102.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008096/2.44, allocations: 3.522 MB / 0.7304 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008412/2.448, allocations: 1.993 MB / 0.7324 GB, free: 101.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004688/2.453, allocations: 1.87 MB / 0.7342 GB, free: 100.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/2.453, allocations: 3.062 kB / 0.7342 GB, free: 100.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/2.663, allocations: 69.64 MB / 0.8022 GB, free: 61.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/2.663, allocations: 172.7 kB / 0.8024 GB, free: 61.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.709/7.372, allocations: 0 / 0.8024 GB, free: 61.23 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