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.184/2.184, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.049e-05/6.071e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.642, allocations: 92.39 MB / 414.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.6424, allocations: 75.95 kB / 414.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.959/1.601, allocations: 128.5 MB / 0.5302 GB, free: 94.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.602, allocations: 3.625 kB / 0.5302 GB, free: 94.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004094/1.602, allocations: 117.7 kB / 0.5303 GB, free: 94.73 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.02746/1.629, allocations: 6.246 MB / 0.5364 GB, free: 92.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.629, allocations: 10.5 kB / 0.5364 GB, free: 92.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005908/1.635, allocations: 1.1 MB / 0.5375 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05759/1.693, allocations: 6.46 MB / 0.5438 GB, free: 91.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05488/1.748, allocations: 8.548 MB / 0.5521 GB, free: 90.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/1.749, allocations: 441.5 kB / 0.5525 GB, free: 90.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004165/1.753, allocations: 0.5746 MB / 0.5531 GB, free: 90.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0498/1.803, allocations: 15.23 MB / 0.568 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004574/1.803, allocations: 59.06 kB / 0.568 GB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003716/1.807, allocations: 260.1 kB / 0.5683 GB, free: 84.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004257/1.811, allocations: 1.693 MB / 0.5699 GB, free: 84.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04438/1.856, allocations: 14.47 MB / 0.5841 GB, free: 71.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1195/1.975, allocations: 56.26 MB / 0.639 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03003/2.005, allocations: 7.932 MB / 0.6467 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009821/2.015, allocations: 4.688 MB / 0.6513 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.345/2.36, allocations: 2.206 MB / 0.6535 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/2.361, allocations: 65.05 kB / 0.6535 GB, free: 85.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 1.403e-05/2.361, allocations: 1.406 kB / 0.6535 GB, free: 85.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.2359/2.597, allocations: 33.38 MB / 0.6861 GB, free: 83.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/2.597, allocations: 114.2 kB / 0.6862 GB, free: 83.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/2.611, allocations: 3.814 MB / 0.69 GB, free: 83.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001577/2.612, allocations: 89.86 kB / 0.6901 GB, free: 83.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005066/2.617, allocations: 3.904 MB / 0.6939 GB, free: 81.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00362/2.621, allocations: 1.495 MB / 0.6953 GB, free: 79.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/2.623, allocations: 152.6 kB / 0.6955 GB, free: 79.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009862/2.624, allocations: 0.6348 MB / 0.6961 GB, free: 79.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01442/2.638, allocations: 3.826 MB / 0.6998 GB, free: 78.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01816/2.656, allocations: 7.562 MB / 0.7072 GB, free: 71.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/2.675, allocations: 5.41 MB / 0.7125 GB, free: 70.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/2.675, allocations: 38.84 kB / 0.7125 GB, free: 70.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.06157/2.737, allocations: 13.58 MB / 0.7258 GB, free: 66.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/2.737, allocations: 63.5 kB / 0.7259 GB, free: 66.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002945/2.738, allocations: 129.1 kB / 0.726 GB, free: 66.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02005/2.758, allocations: 2.63 MB / 0.7285 GB, free: 66.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0205/2.778, allocations: 1.943 MB / 0.7304 GB, free: 64.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04498/2.823, allocations: 13.62 MB / 0.7437 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/2.837, allocations: 480.8 kB / 0.7442 GB, free: 52.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/2.84, allocations: 429.7 kB / 0.7446 GB, free: 52.02 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.004836/2.845, allocations: 0.6636 MB / 0.7453 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/2.848, allocations: 469.5 kB / 0.7457 GB, free: 50.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04486/2.892, allocations: 10.36 MB / 0.7558 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/2.893, allocations: 64.66 kB / 0.7559 GB, free: 42.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.423e-05/2.893, allocations: 10.56 kB / 0.7559 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/2.893, allocations: 17.62 kB / 0.7559 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06391/2.957, allocations: 20.95 MB / 0.7764 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-05/2.957, allocations: 12 kB / 0.7764 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007564/2.964, allocations: 0.7887 MB / 0.7771 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/2.978, allocations: 2.407 MB / 0.7795 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/2.979, allocations: 80.61 kB / 0.7796 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0269/3.006, allocations: 12.37 MB / 0.7917 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/3.006, allocations: 17.89 kB / 0.7917 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04512/3.051, allocations: 16.14 MB / 0.8074 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005433/3.057, allocations: 1.155 MB / 0.8086 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/3.059, allocations: 76 kB / 0.8086 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006551/3.066, allocations: 297 kB / 0.8089 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/3.068, allocations: 262 kB / 0.8092 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007901/3.069, allocations: 117.6 kB / 0.8093 GB, free: 5.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.3324/3.401, allocations: 2.669 MB / 0.8119 GB, free: 91.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.401, allocations: 0 / 0.8119 GB, free: 91.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01193/3.413, allocations: 1.65 MB / 0.8135 GB, free: 91.24 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.04964/3.463, allocations: 19.35 MB / 0.8324 GB, free: 85.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02302/3.486, allocations: 9.368 MB / 0.8415 GB, free: 85.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/3.486, allocations: 3.844 kB / 0.8415 GB, free: 85.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01059/3.496, allocations: 4.139 MB / 0.8456 GB, free: 85.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/3.503, allocations: 0.6291 MB / 0.8462 GB, free: 85.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04841/3.551, allocations: 15.33 MB / 0.8612 GB, free: 80.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00958/3.561, allocations: 4.744 MB / 0.8658 GB, free: 78.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0119/3.573, allocations: 2.736 MB / 0.8685 GB, free: 78.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007655/3.58, allocations: 2.907 MB / 0.8713 GB, free: 76.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/3.58, allocations: 0 / 0.8713 GB, free: 76.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6039/4.184, allocations: 121.8 MB / 0.9903 GB, free: 86.84 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/4.185, allocations: 174.7 kB / 0.9904 GB, free: 86.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/10.74, allocations: 0 / 0.9904 GB, free: 86.61 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