Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.4 MB / 216.5 MB, free: 6.605 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.431e-05, allocations: 7.938 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 48.69 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6361, allocations: 95.31 MB / 411.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6365, allocations: 76.5 kB / 411.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/0.9247, allocations: 70.27 MB / 482 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.9247, allocations: 0 / 482 MB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002638/0.925, allocations: 76 kB / 482.1 MB, free: 10.08 MB / 410.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.01605/0.9411, allocations: 3.879 MB / 485.9 MB, free: 6.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/0.9412, allocations: 12.03 kB / 486 MB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.9479, allocations: 0.7318 MB / 486.7 MB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009591/0.9576, allocations: 2.579 MB / 489.3 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.958, allocations: 140 kB / 489.4 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/0.96, allocations: 240 kB / 489.6 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3375/1.298, allocations: 5.705 MB / 495.3 MB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/1.328, allocations: 7.425 MB / 0.491 GB, free: 91.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/1.328, allocations: 19.05 kB / 0.491 GB, free: 91.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000834/1.329, allocations: 11.98 kB / 0.491 GB, free: 91.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/1.332, allocations: 0.8032 MB / 0.4918 GB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06142/1.393, allocations: 27.63 MB / 0.5188 GB, free: 79.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/1.397, allocations: 1.298 MB / 0.52 GB, free: 78.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.399, allocations: 0.855 MB / 0.5209 GB, free: 78.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.412, allocations: 6.297 MB / 0.527 GB, free: 74.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.412, allocations: 47.69 kB / 0.5271 GB, free: 74.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/1.412, allocations: 0 / 0.5271 GB, free: 74.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.02006/1.432, allocations: 5.698 MB / 0.5326 GB, free: 70.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/1.432, allocations: 169.3 kB / 0.5328 GB, free: 70.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/1.436, allocations: 2.047 MB / 0.5348 GB, free: 69.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002232/1.437, allocations: 25.7 kB / 0.5348 GB, free: 69.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002083/1.439, allocations: 2.611 MB / 0.5374 GB, free: 67.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/1.439, allocations: 333.8 kB / 0.5377 GB, free: 67.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/1.44, allocations: 0 / 0.5377 GB, free: 67.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002567/1.44, allocations: 462.7 kB / 0.5381 GB, free: 67.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/1.442, allocations: 0.9366 MB / 0.539 GB, free: 66.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/1.446, allocations: 3.346 MB / 0.5423 GB, free: 63.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/1.45, allocations: 1.724 MB / 0.544 GB, free: 62.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-05/1.451, allocations: 25.47 kB / 0.544 GB, free: 62.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01082/1.461, allocations: 3.757 MB / 0.5477 GB, free: 61.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/1.462, allocations: 49.36 kB / 0.5477 GB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/1.462, allocations: 84.78 kB / 0.5478 GB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/1.462, allocations: 136.4 kB / 0.548 GB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.468, allocations: 0.9369 MB / 0.5489 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001568/1.468, allocations: 171.2 kB / 0.549 GB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/1.473, allocations: 132.5 kB / 0.5492 GB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/1.474, allocations: 245 kB / 0.5494 GB, free: 61.23 MB / 410.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.00131/1.475, allocations: 341.8 kB / 0.5497 GB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00252/1.478, allocations: 1.017 MB / 0.5507 GB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.478, allocations: 218.2 kB / 0.5509 GB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/1.481, allocations: 0.9366 MB / 0.5518 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.481, allocations: 11.53 kB / 0.5518 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.481, allocations: 4.062 kB / 0.5518 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.481, allocations: 7.016 kB / 0.5519 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.494, allocations: 4.72 MB / 0.5565 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/1.494, allocations: 19.25 kB / 0.5565 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.495, allocations: 246.1 kB / 0.5567 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.635e-05/1.496, allocations: 28.97 kB / 0.5567 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/1.496, allocations: 36.31 kB / 0.5568 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.087e-05/1.496, allocations: 43.36 kB / 0.5568 GB, free: 57.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-05/1.496, allocations: 27.06 kB / 0.5568 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/1.5, allocations: 3.581 MB / 0.5603 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009073/1.501, allocations: 309.4 kB / 0.5606 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008101/1.501, allocations: 31.31 kB / 0.5607 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.504, allocations: 34.98 kB / 0.5607 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/1.504, allocations: 135.7 kB / 0.5608 GB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.504, allocations: 62.83 kB / 0.5609 GB, free: 53.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003576/1.508, allocations: 1.357 MB / 0.5622 GB, free: 52.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.508, allocations: 0 / 0.5622 GB, free: 52.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005796/1.514, allocations: 0.5916 MB / 0.5628 GB, free: 52.92 MB / 410.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.005328/1.519, allocations: 9.388 MB / 0.572 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005481/1.525, allocations: 2.219 MB / 0.5741 GB, free: 42.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.267e-05/1.525, allocations: 7.938 kB / 0.5741 GB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/1.526, allocations: 0.5662 MB / 0.5747 GB, free: 42.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.529, allocations: 236.7 kB / 0.5749 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.553, allocations: 6.976 MB / 0.5817 GB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006847/1.56, allocations: 3.019 MB / 0.5847 GB, free: 33.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005756/1.565, allocations: 1.003 MB / 0.5857 GB, free: 32.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003772/1.569, allocations: 1.57 MB / 0.5872 GB, free: 31.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/1.569, allocations: 0 / 0.5872 GB, free: 31.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.712, allocations: 47.02 MB / 0.6331 GB, free: 5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/1.713, allocations: 131.6 kB / 0.6332 GB, free: 4.805 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.987/5.699, allocations: 0 / 0.6332 GB, free: 4.805 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat