Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.898e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3906, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.6019, allocations: 101.6 MB / 455.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6023, allocations: 79.95 kB / 456 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5887/1.191, allocations: 70.27 MB / 0.5139 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.191, allocations: 3.719 kB / 0.5139 GB, free: 100.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002023/1.191, allocations: 76.75 kB / 0.514 GB, free: 100.4 MB / 426.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.01408/1.205, allocations: 3.882 MB / 0.5178 GB, free: 98.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.205, allocations: 9.875 kB / 0.5178 GB, free: 98.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/1.212, allocations: 0.7161 MB / 0.5185 GB, free: 98.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008156/1.22, allocations: 2.572 MB / 0.521 GB, free: 97.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/1.22, allocations: 138.4 kB / 0.5212 GB, free: 97.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/1.221, allocations: 242.9 kB / 0.5214 GB, free: 97.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01361/1.235, allocations: 5.716 MB / 0.527 GB, free: 95.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/1.256, allocations: 7.431 MB / 0.5342 GB, free: 90.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/1.256, allocations: 19.81 kB / 0.5343 GB, free: 90.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/1.257, allocations: 12 kB / 0.5343 GB, free: 90.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002328/1.259, allocations: 0.807 MB / 0.5351 GB, free: 90.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05536/1.315, allocations: 27.63 MB / 0.562 GB, free: 63.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/1.318, allocations: 1.304 MB / 0.5633 GB, free: 62.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/1.319, allocations: 0.8439 MB / 0.5641 GB, free: 61.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/1.331, allocations: 6.314 MB / 0.5703 GB, free: 54.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.331, allocations: 47.06 kB / 0.5703 GB, free: 54.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 4.609e-06/1.331, allocations: 4 kB / 0.5703 GB, free: 54.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.01813/1.349, allocations: 5.698 MB / 0.5759 GB, free: 48.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.35, allocations: 162.8 kB / 0.5761 GB, free: 48.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004142/1.354, allocations: 2.048 MB / 0.5781 GB, free: 46.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.354, allocations: 29.77 kB / 0.5781 GB, free: 46.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/1.356, allocations: 2.607 MB / 0.5806 GB, free: 43.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/1.357, allocations: 332 kB / 0.581 GB, free: 43.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.357, allocations: 0 / 0.581 GB, free: 43.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/1.357, allocations: 474.3 kB / 0.5814 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/1.359, allocations: 0.9331 MB / 0.5823 GB, free: 42.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/1.363, allocations: 3.34 MB / 0.5856 GB, free: 37.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/1.367, allocations: 1.729 MB / 0.5873 GB, free: 35.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.991e-05/1.367, allocations: 24 kB / 0.5873 GB, free: 35.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01007/1.377, allocations: 3.751 MB / 0.591 GB, free: 32.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/1.377, allocations: 44 kB / 0.591 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.377, allocations: 88.91 kB / 0.5911 GB, free: 32.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/1.378, allocations: 124 kB / 0.5912 GB, free: 31.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/1.383, allocations: 0.9435 MB / 0.5921 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/1.384, allocations: 171.4 kB / 0.5923 GB, free: 30.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005814/1.389, allocations: 131.6 kB / 0.5924 GB, free: 30.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008996/1.39, allocations: 244 kB / 0.5926 GB, free: 30.43 MB / 426.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.0008681/1.391, allocations: 344 kB / 0.593 GB, free: 30.09 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003212/1.394, allocations: 1.023 MB / 0.594 GB, free: 29.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/1.395, allocations: 205.3 kB / 0.5942 GB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/1.398, allocations: 0.9436 MB / 0.5951 GB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.398, allocations: 15.94 kB / 0.5951 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.398, allocations: 3.984 kB / 0.5951 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.398, allocations: 4.25 kB / 0.5951 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.413, allocations: 4.709 MB / 0.5997 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.413, allocations: 20.14 kB / 0.5997 GB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.416, allocations: 255.5 kB / 0.6 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.265e-05/1.416, allocations: 28 kB / 0.6 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/1.416, allocations: 32 kB / 0.6 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-05/1.416, allocations: 35.86 kB / 0.6001 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-05/1.416, allocations: 27.88 kB / 0.6001 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/1.421, allocations: 3.578 MB / 0.6036 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/1.422, allocations: 310 kB / 0.6039 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/1.422, allocations: 35.97 kB / 0.6039 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.425, allocations: 39.91 kB / 0.604 GB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.425, allocations: 143.5 kB / 0.6041 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.425, allocations: 59.98 kB / 0.6041 GB, free: 17.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003719/1.429, allocations: 1.351 MB / 0.6055 GB, free: 16.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.429, allocations: 0 / 0.6055 GB, free: 16.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00767/1.437, allocations: 0.5898 MB / 0.606 GB, free: 15.48 MB / 426.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.006113/1.443, allocations: 9.387 MB / 0.6152 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006635/1.45, allocations: 2.222 MB / 0.6174 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.397e-05/1.45, allocations: 1.062 kB / 0.6174 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.451, allocations: 0.5661 MB / 0.6179 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.454, allocations: 242.1 kB / 0.6182 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.479, allocations: 6.976 MB / 0.625 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00742/1.487, allocations: 3.02 MB / 0.6279 GB, free: 8.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005469/1.492, allocations: 1.009 MB / 0.6289 GB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004113/1.496, allocations: 1.573 MB / 0.6304 GB, free: 5.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/1.496, allocations: 0 / 0.6304 GB, free: 5.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4878/1.984, allocations: 47 MB / 0.6763 GB, free: 122.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/1.984, allocations: 126.9 kB / 0.6765 GB, free: 122.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.826/5.811, allocations: 0 / 0.6765 GB, free: 122.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat