Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.749/2.749, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.985e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4805, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.6887, allocations: 101.6 MB / 456 MB, free: 9.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.6891, allocations: 75.97 kB / 456.1 MB, free: 9.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6588/1.348, allocations: 70.27 MB / 0.514 GB, free: 51.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.348, allocations: 3.938 kB / 0.514 GB, free: 51.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000223/1.348, allocations: 80 kB / 0.5141 GB, free: 51.27 MB / 394.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.01543/1.364, allocations: 3.864 MB / 0.5179 GB, free: 47.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/1.364, allocations: 12.03 kB / 0.5179 GB, free: 47.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007167/1.371, allocations: 0.7202 MB / 0.5186 GB, free: 46.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009117/1.38, allocations: 2.575 MB / 0.5211 GB, free: 43.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/1.38, allocations: 136 kB / 0.5213 GB, free: 43.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/1.382, allocations: 251.9 kB / 0.5215 GB, free: 43.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01494/1.397, allocations: 5.716 MB / 0.5271 GB, free: 37.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/1.419, allocations: 7.42 MB / 0.5343 GB, free: 30.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/1.42, allocations: 23.8 kB / 0.5343 GB, free: 30.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.421, allocations: 12 kB / 0.5344 GB, free: 30.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/1.424, allocations: 0.8044 MB / 0.5351 GB, free: 29.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/1.485, allocations: 27.63 MB / 0.5621 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/1.489, allocations: 1.295 MB / 0.5634 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/1.491, allocations: 0.846 MB / 0.5642 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/1.507, allocations: 6.313 MB / 0.5704 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/1.507, allocations: 47.12 kB / 0.5704 GB, free: 7.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 6.342e-06/1.507, allocations: 3.984 kB / 0.5704 GB, free: 7.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.0234/1.53, allocations: 5.702 MB / 0.576 GB, free: 2.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.531, allocations: 174.7 kB / 0.5762 GB, free: 1.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/1.536, allocations: 2.044 MB / 0.5782 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/1.537, allocations: 25.7 kB / 0.5782 GB, free: 15.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003144/1.54, allocations: 2.611 MB / 0.5807 GB, free: 13.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/1.54, allocations: 328.1 kB / 0.5811 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/1.541, allocations: 0 / 0.5811 GB, free: 12.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004132/1.541, allocations: 470.3 kB / 0.5815 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/1.544, allocations: 0.937 MB / 0.5824 GB, free: 11.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/1.55, allocations: 3.34 MB / 0.5857 GB, free: 6.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/1.555, allocations: 1.717 MB / 0.5874 GB, free: 5.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-05/1.555, allocations: 28 kB / 0.5874 GB, free: 5.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01295/1.568, allocations: 3.755 MB / 0.591 GB, free: 1.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.568, allocations: 44.03 kB / 0.5911 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/1.568, allocations: 91.94 kB / 0.5912 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/1.569, allocations: 128 kB / 0.5913 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006998/1.576, allocations: 0.9358 MB / 0.5922 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002634/1.576, allocations: 171.4 kB / 0.5924 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/1.581, allocations: 135.6 kB / 0.5925 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.582, allocations: 244 kB / 0.5927 GB, free: 15.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * 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 (498): * Single equations (assignments): 497 * 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.0008876/1.583, allocations: 344.1 kB / 0.5931 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003113/1.586, allocations: 1.012 MB / 0.5941 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00064/1.587, allocations: 209.3 kB / 0.5943 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/1.59, allocations: 0.9594 MB / 0.5952 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.59, allocations: 8 kB / 0.5952 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.59, allocations: 4 kB / 0.5952 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.59, allocations: 7.984 kB / 0.5952 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.604, allocations: 4.701 MB / 0.5998 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/1.604, allocations: 20 kB / 0.5998 GB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.606, allocations: 251.5 kB / 0.6001 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/1.606, allocations: 31.98 kB / 0.6001 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.606, allocations: 28 kB / 0.6001 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-05/1.606, allocations: 39.86 kB / 0.6002 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.831e-05/1.606, allocations: 28.34 kB / 0.6002 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/1.611, allocations: 3.582 MB / 0.6037 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009985/1.612, allocations: 302.2 kB / 0.604 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008407/1.613, allocations: 31.98 kB / 0.604 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.617, allocations: 43.91 kB / 0.604 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.617, allocations: 135.5 kB / 0.6042 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/1.617, allocations: 60 kB / 0.6042 GB, free: 2.633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006351/1.624, allocations: 1.355 MB / 0.6056 GB, free: 1.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.493e-06/1.624, allocations: 0 / 0.6056 GB, free: 1.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009606/1.634, allocations: 0.5937 MB / 0.6061 GB, free: 0.6719 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.01013/1.644, allocations: 9.382 MB / 0.6153 GB, free: 6.691 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006559/1.65, allocations: 2.222 MB / 0.6175 GB, free: 4.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/1.65, allocations: 0 / 0.6175 GB, free: 4.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.652, allocations: 0.5711 MB / 0.618 GB, free: 3.926 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/1.656, allocations: 244.5 kB / 0.6183 GB, free: 3.684 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4049/2.06, allocations: 6.974 MB / 0.6251 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008955/2.07, allocations: 3.015 MB / 0.628 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008092/2.078, allocations: 1.011 MB / 0.629 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005022/2.083, allocations: 1.573 MB / 0.6305 GB, free: 118.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/2.083, allocations: 0 / 0.6305 GB, free: 118.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/2.261, allocations: 47.03 MB / 0.6765 GB, free: 98.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002808/2.261, allocations: 132.1 kB / 0.6766 GB, free: 98.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.288/6.549, allocations: 4 kB / 0.6766 GB, free: 98.74 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat