Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.792e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 48.71 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5062/0.637, allocations: 95.34 MB / 411.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6373, allocations: 75.44 kB / 411.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2982/0.9356, allocations: 70.27 MB / 482 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.9356, allocations: 0 / 482 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002881/0.9359, allocations: 76 kB / 482.1 MB, free: 10.3 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.01828/0.9542, allocations: 3.883 MB / 485.9 MB, free: 6.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.9543, allocations: 8.031 kB / 486 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/0.9614, allocations: 0.728 MB / 486.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.9715, allocations: 2.575 MB / 489.3 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.9719, allocations: 140 kB / 489.4 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.9743, allocations: 243.9 kB / 489.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3111/1.285, allocations: 5.709 MB / 495.3 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02493/1.31, allocations: 7.424 MB / 0.491 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/1.311, allocations: 17.5 kB / 0.491 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/1.313, allocations: 12.48 kB / 0.491 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/1.316, allocations: 0.8087 MB / 0.4918 GB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06051/1.376, allocations: 27.63 MB / 0.5188 GB, free: 79.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/1.379, allocations: 1.3 MB / 0.52 GB, free: 78.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/1.381, allocations: 0.8499 MB / 0.5209 GB, free: 78.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/1.393, allocations: 6.305 MB / 0.527 GB, free: 73.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/1.393, allocations: 42.16 kB / 0.5271 GB, free: 73.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.459e-06/1.393, allocations: 0 / 0.5271 GB, free: 73.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.01809/1.411, allocations: 5.704 MB / 0.5326 GB, free: 70.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/1.411, allocations: 162 kB / 0.5328 GB, free: 70.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/1.416, allocations: 2.049 MB / 0.5348 GB, free: 69.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.416, allocations: 25.7 kB / 0.5348 GB, free: 69.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.418, allocations: 2.617 MB / 0.5374 GB, free: 67.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.419, allocations: 325.7 kB / 0.5377 GB, free: 67.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/1.419, allocations: 0 / 0.5377 GB, free: 67.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/1.419, allocations: 473.9 kB / 0.5381 GB, free: 67.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.421, allocations: 0.9364 MB / 0.5391 GB, free: 66.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/1.424, allocations: 3.343 MB / 0.5423 GB, free: 63.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/1.428, allocations: 1.719 MB / 0.544 GB, free: 62.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.671e-05/1.428, allocations: 25.5 kB / 0.544 GB, free: 62.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01045/1.439, allocations: 3.699 MB / 0.5476 GB, free: 61.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/1.439, allocations: 47.39 kB / 0.5477 GB, free: 61.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.439, allocations: 89.47 kB / 0.5478 GB, free: 61.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/1.439, allocations: 128.5 kB / 0.5479 GB, free: 61.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/1.445, allocations: 0.9349 MB / 0.5488 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001715/1.445, allocations: 174 kB / 0.549 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.45, allocations: 135.9 kB / 0.5491 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009685/1.451, allocations: 249.8 kB / 0.5493 GB, free: 61.09 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.0007334/1.452, allocations: 338.4 kB / 0.5497 GB, free: 60.81 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002335/1.454, allocations: 1.022 MB / 0.5507 GB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/1.454, allocations: 211 kB / 0.5509 GB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.457, allocations: 0.9401 MB / 0.5518 GB, free: 59.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.457, allocations: 7.281 kB / 0.5518 GB, free: 59.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.457, allocations: 7.375 kB / 0.5518 GB, free: 59.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.457, allocations: 3.75 kB / 0.5518 GB, free: 59.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.468, allocations: 4.726 MB / 0.5564 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.468, allocations: 19.5 kB / 0.5564 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.47, allocations: 249.6 kB / 0.5567 GB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.866e-05/1.47, allocations: 29.72 kB / 0.5567 GB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.47, allocations: 30.75 kB / 0.5567 GB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-05/1.47, allocations: 38.08 kB / 0.5568 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.181e-05/1.47, allocations: 30.59 kB / 0.5568 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/1.474, allocations: 3.578 MB / 0.5603 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/1.475, allocations: 309.3 kB / 0.5606 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/1.475, allocations: 29.33 kB / 0.5606 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.477, allocations: 36.8 kB / 0.5606 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/1.477, allocations: 136.2 kB / 0.5608 GB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.477, allocations: 65.78 kB / 0.5608 GB, free: 53.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003035/1.48, allocations: 1.356 MB / 0.5622 GB, free: 52.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.48, allocations: 0 / 0.5622 GB, free: 52.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005252/1.486, allocations: 0.5947 MB / 0.5627 GB, free: 52.78 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.005222/1.491, allocations: 9.38 MB / 0.5719 GB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005266/1.496, allocations: 2.226 MB / 0.5741 GB, free: 42.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.276e-05/1.496, allocations: 3.438 kB / 0.5741 GB, free: 42.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/1.498, allocations: 0.5657 MB / 0.5746 GB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.5, allocations: 235.6 kB / 0.5749 GB, free: 42.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/1.523, allocations: 7.424 MB / 0.5821 GB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006182/1.53, allocations: 3.021 MB / 0.5851 GB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003655/1.533, allocations: 1.597 MB / 0.5866 GB, free: 31.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.354e-06/1.534, allocations: 0 / 0.5866 GB, free: 31.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.726/5.259, allocations: 60.04 MB / 0.6452 GB, free: 89.95 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat