Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Planar",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.217/3.217, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.202e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4798, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2481/0.728, allocations: 99.09 MB / 453.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.7284, allocations: 79.95 kB / 453.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108/1.837, allocations: 114.9 MB / 0.5552 GB, free: 7.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.837, allocations: 0 / 0.5552 GB, free: 7.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003136/1.837, allocations: 88 kB / 0.5553 GB, free: 7.562 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.02013/1.857, allocations: 4.449 MB / 0.5596 GB, free: 3.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/1.857, allocations: 12.03 kB / 0.5596 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004847/1.862, allocations: 0.7492 MB / 0.5604 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03721/1.899, allocations: 3.655 MB / 0.5639 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/1.925, allocations: 4.8 MB / 0.5686 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/1.925, allocations: 214 kB / 0.5688 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003564/1.929, allocations: 287.9 kB / 0.5691 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02847/1.957, allocations: 8.455 MB / 0.5774 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/1.999, allocations: 11.2 MB / 0.5883 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/1.999, allocations: 39.66 kB / 0.5883 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/2.002, allocations: 16 kB / 0.5883 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004601/2.007, allocations: 1.389 MB / 0.5897 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5899/2.597, allocations: 39.73 MB / 0.6285 GB, free: 82.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009691/2.607, allocations: 4.367 MB / 0.6328 GB, free: 81.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005725/2.612, allocations: 2.369 MB / 0.6351 GB, free: 81.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001941/2.614, allocations: 1.32 MB / 0.6364 GB, free: 79.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/2.614, allocations: 57.12 kB / 0.6364 GB, free: 79.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=252): time 8.947e-06/2.614, allocations: 0 / 0.6364 GB, free: 79.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=271): time 0.07526/2.69, allocations: 18.88 MB / 0.6549 GB, free: 77.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/2.69, allocations: 104 kB / 0.655 GB, free: 77.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00717/2.697, allocations: 2.64 MB / 0.6575 GB, free: 77.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000677/2.698, allocations: 25.7 kB / 0.6576 GB, free: 77.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003324/2.701, allocations: 3.37 MB / 0.6609 GB, free: 75.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/2.703, allocations: 0.9649 MB / 0.6618 GB, free: 75.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008321/2.704, allocations: 0 / 0.6618 GB, free: 75.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006417/2.705, allocations: 0.5845 MB / 0.6624 GB, free: 74.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006889/2.711, allocations: 2.397 MB / 0.6647 GB, free: 74.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/2.722, allocations: 6.019 MB / 0.6706 GB, free: 70.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.733, allocations: 3.822 MB / 0.6743 GB, free: 69.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/2.733, allocations: 39.55 kB / 0.6744 GB, free: 69.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.03521/2.768, allocations: 8.572 MB / 0.6827 GB, free: 67.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/2.768, allocations: 57.19 kB / 0.6828 GB, free: 67.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003612/2.769, allocations: 128.7 kB / 0.6829 GB, free: 67.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/2.78, allocations: 1.078 MB / 0.684 GB, free: 67.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/2.798, allocations: 1.484 MB / 0.6854 GB, free: 67.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/2.813, allocations: 4.876 MB / 0.6902 GB, free: 64.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00843/2.821, allocations: 218.9 kB / 0.6904 GB, free: 64.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/2.823, allocations: 382.7 kB / 0.6907 GB, free: 64.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (797): * Single equations (assignments): 790 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002719/2.826, allocations: 441.3 kB / 0.6912 GB, free: 64.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/2.827, allocations: 308.9 kB / 0.6915 GB, free: 64.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/2.849, allocations: 5.195 MB / 0.6965 GB, free: 60.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/2.849, allocations: 51.14 kB / 0.6966 GB, free: 60.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/2.849, allocations: 4 kB / 0.6966 GB, free: 60.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/2.849, allocations: 10.22 kB / 0.6966 GB, free: 60.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04676/2.896, allocations: 12.03 MB / 0.7083 GB, free: 50.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-05/2.896, allocations: 12 kB / 0.7084 GB, free: 50.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005538/2.902, allocations: 429.4 kB / 0.7088 GB, free: 49.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007623/2.909, allocations: 0.8809 MB / 0.7096 GB, free: 49.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006911/2.91, allocations: 20 kB / 0.7096 GB, free: 49.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/2.923, allocations: 4.227 MB / 0.7138 GB, free: 45.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/2.923, allocations: 19.94 kB / 0.7138 GB, free: 45.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/2.951, allocations: 8.964 MB / 0.7225 GB, free: 37.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/2.955, allocations: 0.7151 MB / 0.7232 GB, free: 36.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/2.956, allocations: 19.61 kB / 0.7233 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003994/2.96, allocations: 113.1 kB / 0.7234 GB, free: 36.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/2.961, allocations: 173 kB / 0.7235 GB, free: 36.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004638/2.962, allocations: 75.61 kB / 0.7236 GB, free: 36.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005083/2.967, allocations: 1.731 MB / 0.7253 GB, free: 34.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.302e-06/2.967, allocations: 0 / 0.7253 GB, free: 34.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01053/2.977, allocations: 0.9725 MB / 0.7262 GB, free: 33.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 205 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03047/3.008, allocations: 12.61 MB / 0.7386 GB, free: 21.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01859/3.026, allocations: 5.817 MB / 0.7442 GB, free: 16.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.935e-05/3.026, allocations: 0 / 0.7442 GB, free: 16.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00731/3.034, allocations: 2.187 MB / 0.7464 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/3.038, allocations: 272 kB / 0.7466 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04803/3.086, allocations: 11.19 MB / 0.7576 GB, free: 4.664 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01186/3.098, allocations: 3.921 MB / 0.7614 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01386/3.112, allocations: 2.301 MB / 0.7636 GB, free: 216 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01998/3.132, allocations: 2.669 MB / 0.7662 GB, free: 15.93 MB / 474.7 MB Notification: Performance of SimCode: time 3.256e-06/3.132, allocations: 0 / 0.7662 GB, free: 15.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.73/3.862, allocations: 75.53 MB / 0.84 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003873/3.862, allocations: 134.9 kB / 0.8401 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.468/10.33, allocations: 4 kB / 0.8401 GB, free: 133.4 MB / 0.4948 GB