Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.63/2.63, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.056e-05, allocations: 4 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 61.89 MB / 410.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5724/0.715, allocations: 111.2 MB / 0.5094 GB, free: 8.742 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.7154, allocations: 83.94 kB / 0.5094 GB, free: 8.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2967/1.012, allocations: 65.1 MB / 0.573 GB, free: 7.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.341e-06/1.012, allocations: 4 kB / 0.573 GB, free: 7.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000274/1.012, allocations: 80 kB / 0.5731 GB, free: 7.293 MB / 490.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.01494/1.027, allocations: 3.54 MB / 0.5766 GB, free: 3.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.027, allocations: 8.031 kB / 0.5766 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/1.03, allocations: 0.6131 MB / 0.5772 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/1.036, allocations: 0.6195 MB / 0.5778 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/1.045, allocations: 2.419 MB / 0.5801 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/1.046, allocations: 283.4 kB / 0.5804 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/1.048, allocations: 360 kB / 0.5807 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/1.079, allocations: 8.102 MB / 0.5887 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/1.079, allocations: 15.88 kB / 0.5887 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/1.08, allocations: 167.9 kB / 0.5888 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/1.082, allocations: 0.6266 MB / 0.5894 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/1.108, allocations: 6.656 MB / 0.5959 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4203/1.528, allocations: 25.97 MB / 0.6213 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/1.544, allocations: 1.946 MB / 0.6232 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/1.547, allocations: 0.8648 MB / 0.6241 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/1.566, allocations: 6.248 MB / 0.6302 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.566, allocations: 41.41 kB / 0.6302 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 5.29e-06/1.566, allocations: 0 / 0.6302 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.03519/1.601, allocations: 5.283 MB / 0.6354 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/1.601, allocations: 117.8 kB / 0.6355 GB, free: 115 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/1.608, allocations: 2.14 MB / 0.6376 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.608, allocations: 41.33 kB / 0.6376 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.61, allocations: 2.173 MB / 0.6397 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006075/1.611, allocations: 391.9 kB / 0.6401 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/1.611, allocations: 72.91 kB / 0.6402 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002731/1.612, allocations: 456.9 kB / 0.6406 GB, free: 113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.614, allocations: 0.9151 MB / 0.6415 GB, free: 113 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/1.619, allocations: 2.97 MB / 0.6444 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/1.623, allocations: 1.645 MB / 0.646 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.623, allocations: 19.22 kB / 0.646 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01111/1.634, allocations: 3.646 MB / 0.6496 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/1.634, allocations: 42.03 kB / 0.6496 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.634, allocations: 71.16 kB / 0.6497 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/1.634, allocations: 111.7 kB / 0.6498 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/1.639, allocations: 0.799 MB / 0.6506 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001473/1.639, allocations: 148 kB / 0.6507 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/1.643, allocations: 184.1 kB / 0.6509 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007058/1.644, allocations: 203.2 kB / 0.6511 GB, free: 110.1 MB / 0.5105 GB 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.0007807/1.645, allocations: 402 kB / 0.6515 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/1.645, allocations: 216.7 kB / 0.6517 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/1.648, allocations: 1.178 MB / 0.6528 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.648, allocations: 10.19 kB / 0.6528 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.648, allocations: 3.703 kB / 0.6528 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/1.649, allocations: 7.047 kB / 0.6528 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.663, allocations: 6.072 MB / 0.6588 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.663, allocations: 24.7 kB / 0.6588 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.665, allocations: 263.2 kB / 0.659 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.513e-05/1.665, allocations: 32.78 kB / 0.6591 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/1.665, allocations: 50.97 kB / 0.6591 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.548e-05/1.665, allocations: 47.14 kB / 0.6592 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/1.665, allocations: 34.78 kB / 0.6592 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.669, allocations: 4.198 MB / 0.6633 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/1.67, allocations: 333.2 kB / 0.6636 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/1.67, allocations: 56.88 kB / 0.6637 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.672, allocations: 55.53 kB / 0.6637 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.672, allocations: 151.2 kB / 0.6639 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.673, allocations: 71.22 kB / 0.6639 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003528/1.676, allocations: 1.559 MB / 0.6655 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/1.676, allocations: 0 / 0.6655 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004965/1.681, allocations: 0.6203 MB / 0.6661 GB, free: 102.6 MB / 0.5105 GB 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.005472/1.687, allocations: 10.59 MB / 0.6764 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005017/1.692, allocations: 2.134 MB / 0.6785 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.392e-05/1.692, allocations: 3.938 kB / 0.6785 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.693, allocations: 0.6192 MB / 0.6791 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.696, allocations: 353.2 kB / 0.6794 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.717, allocations: 6.564 MB / 0.6859 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.721, allocations: 2.753 MB / 0.6885 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004533/1.726, allocations: 0.9417 MB / 0.6895 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/1.729, allocations: 1.37 MB / 0.6908 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/1.729, allocations: 0 / 0.6908 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/1.887, allocations: 48.23 MB / 0.7379 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.887, allocations: 146.5 kB / 0.738 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/5.942, allocations: 0 / 0.738 GB, free: 57.07 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat