Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.047e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.6122, allocations: 92.38 MB / 414.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.6126, allocations: 83.19 kB / 414.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.872/1.485, allocations: 128.5 MB / 0.5301 GB, free: 94.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.485, allocations: 5.625 kB / 0.5301 GB, free: 94.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004155/1.485, allocations: 116.4 kB / 0.5302 GB, free: 94.94 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: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.02721/1.512, allocations: 6.244 MB / 0.5363 GB, free: 92.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.512, allocations: 7.562 kB / 0.5364 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005492/1.518, allocations: 1.095 MB / 0.5374 GB, free: 92.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06436/1.582, allocations: 6.458 MB / 0.5437 GB, free: 91.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04273/1.625, allocations: 8.553 MB / 0.5521 GB, free: 91.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007064/1.626, allocations: 440.4 kB / 0.5525 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004356/1.63, allocations: 0.5752 MB / 0.5531 GB, free: 91.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05179/1.682, allocations: 15.3 MB / 0.568 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004712/1.683, allocations: 59.92 kB / 0.5681 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003676/1.686, allocations: 260.2 kB / 0.5683 GB, free: 84.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004464/1.691, allocations: 1.697 MB / 0.57 GB, free: 84.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0469/1.738, allocations: 14.64 MB / 0.5843 GB, free: 71.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.864, allocations: 56.26 MB / 0.6392 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/1.894, allocations: 7.947 MB / 0.647 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/1.905, allocations: 4.686 MB / 0.6515 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.331/2.236, allocations: 2.215 MB / 0.6537 GB, free: 85.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.396e-05/2.236, allocations: 67.47 kB / 0.6538 GB, free: 85.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 9.298e-06/2.236, allocations: 0 / 0.6538 GB, free: 85.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.164/2.4, allocations: 33.39 MB / 0.6864 GB, free: 84.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/2.4, allocations: 115.2 kB / 0.6865 GB, free: 84.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009894/2.41, allocations: 3.815 MB / 0.6902 GB, free: 83.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001324/2.412, allocations: 87.77 kB / 0.6903 GB, free: 83.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003922/2.416, allocations: 3.906 MB / 0.6941 GB, free: 80.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00295/2.419, allocations: 1.494 MB / 0.6956 GB, free: 79.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.42, allocations: 154.4 kB / 0.6957 GB, free: 79.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006512/2.421, allocations: 0.6344 MB / 0.6963 GB, free: 79.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/2.431, allocations: 3.829 MB / 0.7001 GB, free: 78.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.444, allocations: 7.606 MB / 0.7075 GB, free: 71.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.457, allocations: 5.408 MB / 0.7128 GB, free: 70.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001461/2.457, allocations: 39 kB / 0.7128 GB, free: 70.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.04413/2.501, allocations: 13.94 MB / 0.7264 GB, free: 66.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/2.502, allocations: 59.88 kB / 0.7265 GB, free: 66.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/2.502, allocations: 132.8 kB / 0.7266 GB, free: 66.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/2.515, allocations: 2.631 MB / 0.7292 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01426/2.53, allocations: 1.939 MB / 0.7311 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/2.559, allocations: 13.62 MB / 0.7444 GB, free: 52.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009832/2.569, allocations: 476.8 kB / 0.7448 GB, free: 51.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/2.572, allocations: 430.7 kB / 0.7452 GB, free: 51.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003282/2.575, allocations: 0.6627 MB / 0.7459 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/2.576, allocations: 469.8 kB / 0.7463 GB, free: 50.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03298/2.609, allocations: 10.35 MB / 0.7564 GB, free: 42.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/2.61, allocations: 64.67 kB / 0.7565 GB, free: 42.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/2.61, allocations: 13.02 kB / 0.7565 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/2.61, allocations: 15 kB / 0.7565 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06643/2.676, allocations: 21 MB / 0.777 GB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.468e-05/2.676, allocations: 12 kB / 0.777 GB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007367/2.684, allocations: 0.7878 MB / 0.7778 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/2.697, allocations: 2.404 MB / 0.7802 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001249/2.698, allocations: 81.39 kB / 0.7802 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/2.724, allocations: 12.35 MB / 0.7923 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/2.725, allocations: 24 kB / 0.7923 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04489/2.769, allocations: 16.13 MB / 0.8081 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005381/2.775, allocations: 1.155 MB / 0.8092 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002186/2.777, allocations: 86.12 kB / 0.8093 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006457/2.784, allocations: 294.8 kB / 0.8096 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001877/2.786, allocations: 258 kB / 0.8098 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007749/2.786, allocations: 120.9 kB / 0.8099 GB, free: 5.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.3357/3.122, allocations: 2.665 MB / 0.8125 GB, free: 90.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.72e-07/3.122, allocations: 5.828 kB / 0.8125 GB, free: 90.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01264/3.135, allocations: 1.644 MB / 0.8141 GB, free: 90.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04967/3.184, allocations: 19.36 MB / 0.833 GB, free: 85.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02356/3.208, allocations: 9.604 MB / 0.8424 GB, free: 84.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/3.208, allocations: 3.906 kB / 0.8424 GB, free: 84.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0108/3.219, allocations: 4.192 MB / 0.8465 GB, free: 84.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/3.226, allocations: 0.6363 MB / 0.8471 GB, free: 84.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04938/3.276, allocations: 15.35 MB / 0.8621 GB, free: 78.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/3.287, allocations: 4.736 MB / 0.8667 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01187/3.298, allocations: 2.741 MB / 0.8694 GB, free: 77.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007456/3.306, allocations: 2.904 MB / 0.8723 GB, free: 74.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/3.306, allocations: 0.875 kB / 0.8723 GB, free: 74.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6136/3.92, allocations: 122.6 MB / 0.992 GB, free: 88.82 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/3.92, allocations: 165.2 kB / 0.9921 GB, free: 88.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/10.55, allocations: 0 / 0.9921 GB, free: 88.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat