Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.641/2.641, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.789e-05, allocations: 4 kB / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4428, allocations: 61.87 MB / 410.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.6679, allocations: 111.2 MB / 0.5094 GB, free: 11.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.6682, allocations: 83.94 kB / 0.5094 GB, free: 11.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.657/1.325, allocations: 65.09 MB / 0.573 GB, free: 69.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.325, allocations: 3.938 kB / 0.573 GB, free: 69.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00023/1.326, allocations: 68 kB / 0.5731 GB, free: 69.85 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01475/1.34, allocations: 3.54 MB / 0.5765 GB, free: 66.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/1.34, allocations: 8.031 kB / 0.5765 GB, free: 66.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00312/1.344, allocations: 0.6131 MB / 0.5771 GB, free: 65.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/1.349, allocations: 0.6203 MB / 0.5777 GB, free: 64.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008321/1.358, allocations: 2.423 MB / 0.5801 GB, free: 62.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/1.358, allocations: 279.4 kB / 0.5804 GB, free: 62.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.36, allocations: 364 kB / 0.5807 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/1.388, allocations: 8.121 MB / 0.5886 GB, free: 53.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/1.388, allocations: 15.81 kB / 0.5887 GB, free: 53.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/1.389, allocations: 160 kB / 0.5888 GB, free: 53.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/1.39, allocations: 0.6228 MB / 0.5894 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/1.415, allocations: 6.656 MB / 0.5959 GB, free: 45.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04684/1.462, allocations: 25.99 MB / 0.6213 GB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/1.475, allocations: 1.933 MB / 0.6232 GB, free: 17.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/1.478, allocations: 0.8678 MB / 0.624 GB, free: 16.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.493, allocations: 6.257 MB / 0.6301 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.493, allocations: 47.28 kB / 0.6302 GB, free: 9.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.849e-06/1.493, allocations: 0 / 0.6302 GB, free: 9.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02712/1.52, allocations: 5.282 MB / 0.6354 GB, free: 4.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/1.52, allocations: 119.5 kB / 0.6355 GB, free: 4.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/1.525, allocations: 2.143 MB / 0.6376 GB, free: 2.008 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.525, allocations: 45.69 kB / 0.6376 GB, free: 1.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.527, allocations: 2.164 MB / 0.6397 GB, free: 15.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/1.528, allocations: 391.1 kB / 0.6401 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/1.528, allocations: 68 kB / 0.6402 GB, free: 15.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003882/1.529, allocations: 457.4 kB / 0.6406 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/1.532, allocations: 0.9167 MB / 0.6415 GB, free: 13.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/1.537, allocations: 2.967 MB / 0.6444 GB, free: 9.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/1.541, allocations: 1.641 MB / 0.646 GB, free: 8.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.575e-05/1.541, allocations: 24 kB / 0.646 GB, free: 8.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01121/1.552, allocations: 3.636 MB / 0.6496 GB, free: 4.633 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.036e-05/1.552, allocations: 43.78 kB / 0.6496 GB, free: 4.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.553, allocations: 72 kB / 0.6497 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/1.553, allocations: 119.9 kB / 0.6498 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/1.558, allocations: 0.8032 MB / 0.6506 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/1.558, allocations: 147.4 kB / 0.6507 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.562, allocations: 179.5 kB / 0.6509 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007573/1.563, allocations: 204 kB / 0.6511 GB, free: 3.082 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (448): * Single equations (assignments): 447 * 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.0007774/1.564, allocations: 404.4 kB / 0.6515 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/1.564, allocations: 209.3 kB / 0.6517 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/1.567, allocations: 1.175 MB / 0.6528 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.567, allocations: 8 kB / 0.6528 GB, free: 1.273 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.567, allocations: 7.953 kB / 0.6528 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.567, allocations: 7.969 kB / 0.6528 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.584, allocations: 6.063 MB / 0.6588 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.584, allocations: 20 kB / 0.6588 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.586, allocations: 272.3 kB / 0.659 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.045e-05/1.586, allocations: 32 kB / 0.6591 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.586, allocations: 52 kB / 0.6591 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.368e-05/1.587, allocations: 47.84 kB / 0.6592 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.363e-05/1.587, allocations: 35.81 kB / 0.6592 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/1.592, allocations: 4.202 MB / 0.6633 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.593, allocations: 318.1 kB / 0.6636 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/1.594, allocations: 59.98 kB / 0.6637 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.595, allocations: 47.98 kB / 0.6637 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/1.596, allocations: 159.8 kB / 0.6639 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.596, allocations: 67.97 kB / 0.6639 GB, free: 4.711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004237/1.6, allocations: 1.558 MB / 0.6654 GB, free: 3.137 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.6, allocations: 7.938 kB / 0.6654 GB, free: 3.129 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005102/1.605, allocations: 0.6288 MB / 0.6661 GB, free: 2.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * 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.008608/1.614, allocations: 10.59 MB / 0.6764 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005736/1.62, allocations: 2.149 MB / 0.6785 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/1.62, allocations: 0 / 0.6785 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.621, allocations: 0.6161 MB / 0.6791 GB, free: 4.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.624, allocations: 347.5 kB / 0.6794 GB, free: 4.145 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.644, allocations: 6.566 MB / 0.6858 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005381/1.649, allocations: 2.753 MB / 0.6885 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004886/1.654, allocations: 0.9344 MB / 0.6894 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/1.657, allocations: 1.374 MB / 0.6908 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/1.657, allocations: 0 / 0.6908 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5477/2.205, allocations: 48.24 MB / 0.7379 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/2.205, allocations: 142.9 kB / 0.738 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/6.532, allocations: 4.484 kB / 0.738 GB, free: 139.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat