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.152/2.152, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.083e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6216, allocations: 95.75 MB / 417.6 MB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.6219, allocations: 75.95 kB / 417.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3248/0.9467, allocations: 72.04 MB / 489.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.9468, allocations: 0 / 489.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003874/0.9472, allocations: 83.98 kB / 489.8 MB, free: 1.121 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.01717/0.9644, allocations: 3.875 MB / 493.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.9645, allocations: 12.03 kB / 493.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003274/0.9678, allocations: 0.7121 MB / 494.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/0.9745, allocations: 0.7202 MB / 495.2 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009414/0.984, allocations: 2.575 MB / 497.7 MB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.9845, allocations: 328.5 kB / 498.1 MB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.9864, allocations: 419.8 kB / 498.5 MB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3678/1.354, allocations: 9.01 MB / 0.4956 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/1.354, allocations: 17.94 kB / 0.4956 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002191/1.357, allocations: 188.9 kB / 0.4958 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003806/1.361, allocations: 0.8035 MB / 0.4966 GB, free: 99.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/1.398, allocations: 7.071 MB / 0.5035 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07195/1.47, allocations: 29.68 MB / 0.5325 GB, free: 86.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.481, allocations: 2.11 MB / 0.5345 GB, free: 86.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/1.483, allocations: 0.9256 MB / 0.5354 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/1.496, allocations: 6.746 MB / 0.542 GB, free: 80.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.496, allocations: 48.56 kB / 0.542 GB, free: 80.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 4.568e-06/1.496, allocations: 0 / 0.542 GB, free: 80.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02884/1.525, allocations: 6.881 MB / 0.5488 GB, free: 77.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/1.525, allocations: 165.7 kB / 0.5489 GB, free: 77.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/1.53, allocations: 2.363 MB / 0.5512 GB, free: 76.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002647/1.53, allocations: 42.66 kB / 0.5513 GB, free: 76.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.532, allocations: 2.525 MB / 0.5537 GB, free: 74.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/1.533, allocations: 397.5 kB / 0.5541 GB, free: 74.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/1.533, allocations: 81.97 kB / 0.5542 GB, free: 74.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/1.533, allocations: 475.7 kB / 0.5547 GB, free: 73.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/1.536, allocations: 1.053 MB / 0.5557 GB, free: 73.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/1.54, allocations: 3.346 MB / 0.5589 GB, free: 70.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/1.544, allocations: 1.833 MB / 0.5607 GB, free: 69.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.519e-05/1.545, allocations: 23.03 kB / 0.5608 GB, free: 69.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01151/1.556, allocations: 4.126 MB / 0.5648 GB, free: 68.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/1.556, allocations: 37.12 kB / 0.5648 GB, free: 68.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.556, allocations: 83.62 kB / 0.5649 GB, free: 68.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/1.557, allocations: 121.4 kB / 0.565 GB, free: 68.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00599/1.563, allocations: 0.946 MB / 0.5659 GB, free: 67.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/1.563, allocations: 164 kB / 0.5661 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.567, allocations: 213.7 kB / 0.5663 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000798/1.568, allocations: 238.9 kB / 0.5665 GB, free: 67.77 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.0007643/1.569, allocations: 426.8 kB / 0.5669 GB, free: 67.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005694/1.569, allocations: 235.3 kB / 0.5672 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.572, allocations: 1.169 MB / 0.5683 GB, free: 66.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.572, allocations: 7.469 kB / 0.5683 GB, free: 66.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.572, allocations: 3 kB / 0.5683 GB, free: 66.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.572, allocations: 3.375 kB / 0.5683 GB, free: 66.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.586, allocations: 6.741 MB / 0.5749 GB, free: 63.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/1.586, allocations: 24.44 kB / 0.5749 GB, free: 63.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.588, allocations: 289.3 kB / 0.5752 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.099e-05/1.588, allocations: 33.62 kB / 0.5752 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.588, allocations: 52.92 kB / 0.5753 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/1.588, allocations: 46.09 kB / 0.5753 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-05/1.588, allocations: 34.75 kB / 0.5754 GB, free: 63.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/1.592, allocations: 4.557 MB / 0.5798 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/1.593, allocations: 356.3 kB / 0.5801 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/1.593, allocations: 55.83 kB / 0.5802 GB, free: 58.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.595, allocations: 63.84 kB / 0.5803 GB, free: 58.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.595, allocations: 163.5 kB / 0.5804 GB, free: 58.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.595, allocations: 72.81 kB / 0.5805 GB, free: 58.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003437/1.599, allocations: 1.733 MB / 0.5822 GB, free: 58.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.599, allocations: 4 kB / 0.5822 GB, free: 58.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005144/1.604, allocations: 0.7108 MB / 0.5829 GB, free: 58.01 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.005846/1.61, allocations: 10.97 MB / 0.5936 GB, free: 47.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005648/1.616, allocations: 2.431 MB / 0.596 GB, free: 46.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/1.616, allocations: 4 kB / 0.596 GB, free: 46.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.617, allocations: 0.6809 MB / 0.5966 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.62, allocations: 333.3 kB / 0.597 GB, free: 45.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.643, allocations: 7.393 MB / 0.6042 GB, free: 38.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005926/1.649, allocations: 3.039 MB / 0.6071 GB, free: 36.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005341/1.654, allocations: 1.044 MB / 0.6082 GB, free: 35.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003457/1.657, allocations: 1.592 MB / 0.6097 GB, free: 33.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.658, allocations: 0 / 0.6097 GB, free: 33.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/1.811, allocations: 53.47 MB / 0.6619 GB, free: 432 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/1.812, allocations: 146.5 kB / 0.6621 GB, free: 200 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/5.95, allocations: 0 / 0.6621 GB, free: 200 kB / 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