Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.605/2.605, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.515e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.545/0.6812, allocations: 109.7 MB / 0.5078 GB, free: 10.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.6815, allocations: 83.95 kB / 0.5079 GB, free: 10.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3064/0.988, allocations: 68.98 MB / 0.5753 GB, free: 4.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.9881, allocations: 0 / 0.5753 GB, free: 4.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003013/0.9884, allocations: 64 kB / 0.5753 GB, free: 4.832 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.02316/1.012, allocations: 3.468 MB / 0.5787 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/1.012, allocations: 8.031 kB / 0.5787 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003574/1.015, allocations: 0.5643 MB / 0.5793 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007787/1.023, allocations: 0.5692 MB / 0.5798 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/1.036, allocations: 2.052 MB / 0.5818 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005684/1.037, allocations: 246.6 kB / 0.5821 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/1.039, allocations: 327.9 kB / 0.5824 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04388/1.083, allocations: 7.881 MB / 0.5901 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/1.083, allocations: 19.81 kB / 0.5901 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/1.085, allocations: 143.9 kB / 0.5902 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002138/1.087, allocations: 0.6538 MB / 0.5909 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03842/1.126, allocations: 6.656 MB / 0.5974 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4727/1.598, allocations: 25.71 MB / 0.6225 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.619, allocations: 2.195 MB / 0.6246 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/1.622, allocations: 1.037 MB / 0.6257 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02324/1.646, allocations: 7.077 MB / 0.6326 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.646, allocations: 42.67 kB / 0.6326 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 4.298e-06/1.646, allocations: 1.094 kB / 0.6326 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.03133/1.677, allocations: 4.703 MB / 0.6372 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.677, allocations: 62.09 kB / 0.6373 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/1.683, allocations: 2.11 MB / 0.6393 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/1.683, allocations: 42.83 kB / 0.6394 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.686, allocations: 2.062 MB / 0.6414 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008913/1.687, allocations: 390.6 kB / 0.6417 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/1.687, allocations: 71.84 kB / 0.6418 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004695/1.688, allocations: 457 kB / 0.6422 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/1.692, allocations: 0.9811 MB / 0.6432 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006336/1.699, allocations: 3.112 MB / 0.6462 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/1.705, allocations: 1.723 MB / 0.6479 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.705, allocations: 25.95 kB / 0.648 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=453) (initialization): time 0.01563/1.721, allocations: 3.817 MB / 0.6517 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.721, allocations: 38.56 kB / 0.6517 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.721, allocations: 81.16 kB / 0.6518 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/1.722, allocations: 112.6 kB / 0.6519 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007287/1.729, allocations: 0.8361 MB / 0.6527 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/1.729, allocations: 157.4 kB / 0.6529 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.733, allocations: 177.2 kB / 0.653 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006744/1.734, allocations: 213.9 kB / 0.6532 GB, free: 112.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (453): * Single equations (assignments): 453 * 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 prepare postOptimizeDAE: time 0.0007289/1.735, allocations: 399.3 kB / 0.6536 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/1.735, allocations: 211.2 kB / 0.6538 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/1.739, allocations: 1.383 MB / 0.6552 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.739, allocations: 7.375 kB / 0.6552 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.739, allocations: 0 / 0.6552 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.739, allocations: 10.2 kB / 0.6552 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/1.753, allocations: 5.354 MB / 0.6604 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.753, allocations: 19.27 kB / 0.6604 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.755, allocations: 243 kB / 0.6607 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-05/1.755, allocations: 23.69 kB / 0.6607 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.755, allocations: 42.88 kB / 0.6607 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.128e-05/1.755, allocations: 36.36 kB / 0.6608 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/1.755, allocations: 24.97 kB / 0.6608 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/1.759, allocations: 3.264 MB / 0.664 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.76, allocations: 308 kB / 0.6643 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005281/1.761, allocations: 46 kB / 0.6643 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.762, allocations: 51.3 kB / 0.6644 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/1.763, allocations: 129.7 kB / 0.6645 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.763, allocations: 50.72 kB / 0.6645 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003424/1.766, allocations: 1.496 MB / 0.666 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.272e-06/1.766, allocations: 0 / 0.666 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004919/1.771, allocations: 0.6085 MB / 0.6666 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.005047/1.776, allocations: 8.113 MB / 0.6745 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005328/1.782, allocations: 2.229 MB / 0.6767 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/1.782, allocations: 3.656 kB / 0.6767 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/1.783, allocations: 0.5827 MB / 0.6773 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.786, allocations: 328.4 kB / 0.6776 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.804, allocations: 5.815 MB / 0.6833 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/1.808, allocations: 2.521 MB / 0.6857 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004843/1.813, allocations: 0.9748 MB / 0.6867 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002783/1.816, allocations: 1.242 MB / 0.6879 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/1.816, allocations: 4 kB / 0.6879 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.938, allocations: 45.83 MB / 0.7326 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.938, allocations: 157 kB / 0.7328 GB, free: 64.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.405/6.343, allocations: 0 / 0.7328 GB, free: 64.42 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat