Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.91e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 61.9 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5451/0.6827, allocations: 111.7 MB / 0.5098 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.6831, allocations: 76.81 kB / 0.5099 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2825/0.9656, allocations: 66.8 MB / 0.5751 GB, free: 5.211 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.9657, allocations: 3.938 kB / 0.5751 GB, free: 5.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002335/0.9659, allocations: 68 kB / 0.5752 GB, free: 5.141 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01657/0.9825, allocations: 3.762 MB / 0.5789 GB, free: 1.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.9826, allocations: 8.031 kB / 0.5789 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002789/0.9854, allocations: 0.6055 MB / 0.5795 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.9915, allocations: 0.6469 MB / 0.5801 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009204/1.001, allocations: 2.407 MB / 0.5824 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/1.001, allocations: 283.3 kB / 0.5827 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/1.003, allocations: 363.9 kB / 0.5831 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03422/1.037, allocations: 8.892 MB / 0.5917 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/1.038, allocations: 11.88 kB / 0.5917 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001702/1.039, allocations: 159.9 kB / 0.5919 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/1.041, allocations: 0.6817 MB / 0.5926 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03102/1.072, allocations: 7.856 MB / 0.6002 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4784/1.551, allocations: 28.23 MB / 0.6278 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.567, allocations: 2.985 MB / 0.6307 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/1.57, allocations: 1.541 MB / 0.6322 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01979/1.59, allocations: 8.645 MB / 0.6407 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.59, allocations: 53.03 kB / 0.6407 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=93): time 4.078e-06/1.59, allocations: 0 / 0.6407 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110): time 0.03776/1.628, allocations: 6.335 MB / 0.6469 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.628, allocations: 62.38 kB / 0.647 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/1.633, allocations: 2.277 MB / 0.6492 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/1.634, allocations: 44.48 kB / 0.6492 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0019/1.636, allocations: 2.147 MB / 0.6513 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000826/1.636, allocations: 430.3 kB / 0.6517 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/1.637, allocations: 79.22 kB / 0.6518 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002639/1.637, allocations: 460.6 kB / 0.6523 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.64, allocations: 1.35 MB / 0.6536 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004608/1.645, allocations: 3.388 MB / 0.6569 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004482/1.65, allocations: 2.087 MB / 0.6589 GB, free: 107 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.07e-05/1.65, allocations: 23 kB / 0.6589 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01177/1.662, allocations: 4.562 MB / 0.6634 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.662, allocations: 35.84 kB / 0.6634 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/1.662, allocations: 73.84 kB / 0.6635 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/1.662, allocations: 112.2 kB / 0.6636 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006906/1.669, allocations: 0.8934 MB / 0.6645 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/1.669, allocations: 144.3 kB / 0.6646 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.674, allocations: 227.7 kB / 0.6648 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008054/1.674, allocations: 213.9 kB / 0.665 GB, free: 105.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (476): * Single equations (assignments): 475 * 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.0009255/1.675, allocations: 413.9 kB / 0.6654 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/1.676, allocations: 218.5 kB / 0.6656 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/1.683, allocations: 2.084 MB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/1.683, allocations: 9.031 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.683, allocations: 3.953 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.683, allocations: 3.891 kB / 0.6677 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.705, allocations: 6.373 MB / 0.6739 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/1.705, allocations: 14.94 kB / 0.6739 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/1.708, allocations: 298 kB / 0.6742 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-05/1.709, allocations: 30.25 kB / 0.6742 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/1.709, allocations: 46.47 kB / 0.6743 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.058e-05/1.709, allocations: 45.61 kB / 0.6743 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/1.709, allocations: 27.09 kB / 0.6744 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/1.716, allocations: 4.004 MB / 0.6783 GB, free: 97.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.718, allocations: 343.6 kB / 0.6786 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008356/1.718, allocations: 56.77 kB / 0.6787 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.721, allocations: 75.52 kB / 0.6787 GB, free: 97.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004215/1.722, allocations: 141.9 kB / 0.6789 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.722, allocations: 58.16 kB / 0.6789 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005261/1.727, allocations: 1.599 MB / 0.6805 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/1.727, allocations: 3.531 kB / 0.6805 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01479/1.742, allocations: 0.6874 MB / 0.6812 GB, free: 96.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 157 * 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.02028/1.764, allocations: 9.189 MB / 0.6901 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02289/1.787, allocations: 2.903 MB / 0.693 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.509e-05/1.787, allocations: 3.656 kB / 0.693 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/1.79, allocations: 0.8674 MB / 0.6938 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/1.797, allocations: 325.1 kB / 0.6941 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/1.828, allocations: 6.738 MB / 0.7007 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007536/1.836, allocations: 2.744 MB / 0.7034 GB, free: 81.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007255/1.843, allocations: 0.9707 MB / 0.7043 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004477/1.847, allocations: 1.366 MB / 0.7057 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/1.847, allocations: 0 / 0.7057 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.983, allocations: 52.41 MB / 0.7569 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.983, allocations: 161.8 kB / 0.757 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.607/6.59, allocations: 0 / 0.757 GB, free: 39.46 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat