Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.976e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5285, allocations: 89.12 MB / 411 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5289, allocations: 75.95 kB / 411.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3745/0.9035, allocations: 85.57 MB / 496.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.9035, allocations: 0 / 496.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001982/0.9038, allocations: 71.94 kB / 496.7 MB, free: 10.36 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01499/0.9188, allocations: 3.651 MB / 0.4886 GB, free: 6.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.9188, allocations: 8.031 kB / 0.4886 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003855/0.9227, allocations: 0.7872 MB / 0.4894 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/0.9503, allocations: 3.512 MB / 0.4928 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.302/1.252, allocations: 4.138 MB / 0.4969 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/1.253, allocations: 294.5 kB / 0.4971 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/1.256, allocations: 386.7 kB / 0.4975 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03319/1.289, allocations: 10.16 MB / 0.5074 GB, free: 99.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/1.289, allocations: 27.42 kB / 0.5075 GB, free: 99.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/1.291, allocations: 180 kB / 0.5076 GB, free: 99.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003231/1.294, allocations: 1.209 MB / 0.5088 GB, free: 99.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/1.324, allocations: 9.741 MB / 0.5183 GB, free: 99.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07267/1.396, allocations: 35.47 MB / 0.553 GB, free: 79.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.41, allocations: 4.911 MB / 0.5578 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004577/1.415, allocations: 2.275 MB / 0.56 GB, free: 76.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/1.417, allocations: 1.878 MB / 0.5618 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.417, allocations: 50.84 kB / 0.5619 GB, free: 74.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 6.412e-06/1.417, allocations: 3.5 kB / 0.5619 GB, free: 74.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.04259/1.46, allocations: 11.24 MB / 0.5729 GB, free: 71.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.46, allocations: 72.62 kB / 0.5729 GB, free: 71.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/1.465, allocations: 2.338 MB / 0.5752 GB, free: 69.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005383/1.466, allocations: 58.8 kB / 0.5753 GB, free: 69.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/1.468, allocations: 2.696 MB / 0.5779 GB, free: 67.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.469, allocations: 0.849 MB / 0.5787 GB, free: 66.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/1.47, allocations: 105.3 kB / 0.5788 GB, free: 66.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003977/1.47, allocations: 0.5373 MB / 0.5793 GB, free: 66.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005118/1.475, allocations: 2.141 MB / 0.5814 GB, free: 64.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006896/1.482, allocations: 4.996 MB / 0.5863 GB, free: 58.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007131/1.489, allocations: 3.314 MB / 0.5896 GB, free: 55.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.49, allocations: 32 kB / 0.5896 GB, free: 55.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02063/1.51, allocations: 7.43 MB / 0.5968 GB, free: 49.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/1.51, allocations: 48 kB / 0.5969 GB, free: 49.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.51, allocations: 100 kB / 0.597 GB, free: 48.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/1.514, allocations: 0.812 MB / 0.5978 GB, free: 48.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007468/1.522, allocations: 1.19 MB / 0.5989 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008157/1.53, allocations: 4.139 MB / 0.603 GB, free: 43.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/1.536, allocations: 301.9 kB / 0.6033 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.537, allocations: 303.9 kB / 0.6036 GB, free: 43.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (636): * Single equations (assignments): 629 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001923/1.539, allocations: 487.7 kB / 0.604 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/1.54, allocations: 258.2 kB / 0.6043 GB, free: 42.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.553, allocations: 4.674 MB / 0.6088 GB, free: 38.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/1.553, allocations: 46.69 kB / 0.6089 GB, free: 38.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.553, allocations: 4 kB / 0.6089 GB, free: 38.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.553, allocations: 10.55 kB / 0.6089 GB, free: 38.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.583, allocations: 10.57 MB / 0.6192 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/1.583, allocations: 4.906 kB / 0.6192 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/1.586, allocations: 367 kB / 0.6196 GB, free: 29.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.59, allocations: 0.6526 MB / 0.6202 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005231/1.59, allocations: 48.25 kB / 0.6202 GB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/1.597, allocations: 3.588 MB / 0.6238 GB, free: 25.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.597, allocations: 16 kB / 0.6238 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.614, allocations: 7.612 MB / 0.6312 GB, free: 17.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.617, allocations: 0.6421 MB / 0.6318 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008942/1.618, allocations: 40 kB / 0.6319 GB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.62, allocations: 132.9 kB / 0.632 GB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/1.621, allocations: 138.1 kB / 0.6321 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.621, allocations: 64 kB / 0.6322 GB, free: 16.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003772/1.625, allocations: 1.591 MB / 0.6337 GB, free: 15.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.625, allocations: 0 / 0.6337 GB, free: 15.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006515/1.632, allocations: 0.944 MB / 0.6347 GB, free: 14.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01804/1.65, allocations: 10.05 MB / 0.6445 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01199/1.662, allocations: 5.107 MB / 0.6495 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.662, allocations: 2.562 kB / 0.6495 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.667, allocations: 1.972 MB / 0.6514 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/1.67, allocations: 318.7 kB / 0.6517 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/1.703, allocations: 9.753 MB / 0.6612 GB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.305/2.009, allocations: 3.303 MB / 0.6644 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007513/2.016, allocations: 1.819 MB / 0.6662 GB, free: 106.4 MB / 442.7 MB Notification: Performance of SimCode: time 2.806e-06/2.016, allocations: 0 / 0.6662 GB, free: 106.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.634/6.65, allocations: 91.11 MB / 0.7552 GB, free: 69.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat