Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.221e-05/5.233e-05, allocations: 4 kB / 273.1 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6256, allocations: 95.74 MB / 417.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.626, allocations: 79.28 kB / 417.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2959/0.9219, allocations: 72.05 MB / 489.7 MB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9219, allocations: 0 / 489.7 MB, free: 1.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.9222, allocations: 76 kB / 489.8 MB, free: 1.234 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01528/0.9375, allocations: 3.887 MB / 493.7 MB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.9376, allocations: 8.031 kB / 493.7 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00318/0.9408, allocations: 0.7082 MB / 494.4 MB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/0.9475, allocations: 0.7242 MB / 495.1 MB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009678/0.9572, allocations: 2.575 MB / 497.7 MB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/0.9584, allocations: 328.5 kB / 498 MB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/0.9613, allocations: 423.8 kB / 498.4 MB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3284/1.29, allocations: 9.058 MB / 0.4956 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/1.29, allocations: 18.53 kB / 0.4956 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/1.291, allocations: 186.3 kB / 0.4958 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002851/1.294, allocations: 0.8032 MB / 0.4966 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/1.322, allocations: 7.168 MB / 0.5036 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06615/1.388, allocations: 29.68 MB / 0.5326 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/1.406, allocations: 2.12 MB / 0.5346 GB, free: 86.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/1.41, allocations: 0.9278 MB / 0.5355 GB, free: 85.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/1.43, allocations: 6.737 MB / 0.5421 GB, free: 80.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.881e-05/1.431, allocations: 52.94 kB / 0.5422 GB, free: 80.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 6.993e-06/1.431, allocations: 0 / 0.5422 GB, free: 80.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.03638/1.467, allocations: 6.883 MB / 0.5489 GB, free: 77.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/1.467, allocations: 172.3 kB / 0.5491 GB, free: 77.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/1.472, allocations: 2.361 MB / 0.5514 GB, free: 76.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.473, allocations: 41.58 kB / 0.5514 GB, free: 76.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/1.475, allocations: 2.526 MB / 0.5539 GB, free: 74.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/1.475, allocations: 395.6 kB / 0.5542 GB, free: 74.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.476, allocations: 80.81 kB / 0.5543 GB, free: 74.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/1.476, allocations: 470.8 kB / 0.5548 GB, free: 73.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/1.479, allocations: 1.052 MB / 0.5558 GB, free: 73.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/1.483, allocations: 3.374 MB / 0.5591 GB, free: 70.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/1.488, allocations: 1.835 MB / 0.5609 GB, free: 69.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.2e-05/1.489, allocations: 24.38 kB / 0.5609 GB, free: 69.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01547/1.504, allocations: 4.356 MB / 0.5652 GB, free: 67.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.504, allocations: 39.69 kB / 0.5652 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/1.504, allocations: 83.09 kB / 0.5653 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/1.505, allocations: 124.2 kB / 0.5654 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007679/1.512, allocations: 0.9471 MB / 0.5663 GB, free: 67.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002267/1.513, allocations: 159.6 kB / 0.5665 GB, free: 67.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006143/1.519, allocations: 213 kB / 0.5667 GB, free: 67.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009305/1.52, allocations: 235.1 kB / 0.5669 GB, free: 67.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (501): * Single equations (assignments): 500 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001002/1.521, allocations: 433.6 kB / 0.5673 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008148/1.522, allocations: 236.5 kB / 0.5675 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/1.525, allocations: 1.166 MB / 0.5687 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.525, allocations: 7.75 kB / 0.5687 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.525, allocations: 3.938 kB / 0.5687 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.525, allocations: 3.188 kB / 0.5687 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/1.561, allocations: 6.799 MB / 0.5753 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/1.561, allocations: 19.59 kB / 0.5754 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01183/1.573, allocations: 289.3 kB / 0.5756 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.046e-05/1.573, allocations: 32.59 kB / 0.5757 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.573, allocations: 56.81 kB / 0.5757 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.991e-05/1.573, allocations: 42 kB / 0.5758 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002826/1.576, allocations: 36 kB / 0.5758 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/1.582, allocations: 4.563 MB / 0.5802 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.583, allocations: 349.8 kB / 0.5806 GB, free: 58.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/1.583, allocations: 55.34 kB / 0.5806 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01217/1.596, allocations: 64.97 kB / 0.5807 GB, free: 58.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.596, allocations: 167.8 kB / 0.5809 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.596, allocations: 71.14 kB / 0.5809 GB, free: 58.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004111/1.6, allocations: 1.732 MB / 0.5826 GB, free: 57.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.601, allocations: 0 / 0.5826 GB, free: 57.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00511/1.606, allocations: 0.7158 MB / 0.5833 GB, free: 57.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005728/1.611, allocations: 10.98 MB / 0.594 GB, free: 47.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005908/1.617, allocations: 2.559 MB / 0.5965 GB, free: 45.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.467e-05/1.618, allocations: 8.125 kB / 0.5965 GB, free: 45.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.619, allocations: 0.7007 MB / 0.5972 GB, free: 45.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.622, allocations: 339.1 kB / 0.5975 GB, free: 44.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.644, allocations: 7.435 MB / 0.6048 GB, free: 37.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008558/1.653, allocations: 3.042 MB / 0.6078 GB, free: 35.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004864/1.658, allocations: 1.043 MB / 0.6088 GB, free: 34.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002761/1.661, allocations: 1.594 MB / 0.6103 GB, free: 33.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.661, allocations: 0 / 0.6103 GB, free: 33.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4732/2.134, allocations: 53.86 MB / 0.6629 GB, free: 91.81 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/2.134, allocations: 147.9 kB / 0.6631 GB, free: 91.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.615/6.749, allocations: 1.188 kB / 0.6631 GB, free: 91.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat