Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.512e-05/5.487e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.534/0.6718, allocations: 93.56 MB / 415.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.6721, allocations: 75.97 kB / 415.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3209/0.993, allocations: 74.5 MB / 490 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.9931, allocations: 0 / 490 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002149/0.9933, allocations: 75.98 kB / 490.1 MB, free: 0.7539 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01483/1.008, allocations: 3.582 MB / 493.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.008, allocations: 12.03 kB / 493.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00311/1.011, allocations: 0.6553 MB / 494.3 MB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/1.018, allocations: 0.6738 MB / 495 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008943/1.027, allocations: 2.189 MB / 497.2 MB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/1.027, allocations: 291.8 kB / 497.5 MB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/1.029, allocations: 395.8 kB / 497.9 MB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/1.062, allocations: 8.412 MB / 0.4944 GB, free: 52 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/1.063, allocations: 19.81 kB / 0.4944 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.287/1.35, allocations: 169.9 kB / 0.4946 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00316/1.353, allocations: 0.7837 MB / 0.4954 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/1.38, allocations: 6.538 MB / 0.5017 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06093/1.441, allocations: 27.73 MB / 0.5288 GB, free: 93.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.451, allocations: 1.903 MB / 0.5307 GB, free: 93.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.453, allocations: 0.8194 MB / 0.5315 GB, free: 92.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/1.466, allocations: 6.34 MB / 0.5377 GB, free: 88.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.466, allocations: 42.78 kB / 0.5377 GB, free: 88.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.338e-06/1.466, allocations: 3.094 kB / 0.5377 GB, free: 88.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02989/1.496, allocations: 5.821 MB / 0.5434 GB, free: 86.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.496, allocations: 140.1 kB / 0.5435 GB, free: 85.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005404/1.502, allocations: 2.168 MB / 0.5457 GB, free: 85.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/1.502, allocations: 48.42 kB / 0.5457 GB, free: 85.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.504, allocations: 2.389 MB / 0.548 GB, free: 83.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000607/1.505, allocations: 389.1 kB / 0.5484 GB, free: 82.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/1.505, allocations: 77.62 kB / 0.5485 GB, free: 82.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002864/1.505, allocations: 464 kB / 0.5489 GB, free: 82.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/1.508, allocations: 0.9088 MB / 0.5498 GB, free: 82.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/1.512, allocations: 3.173 MB / 0.5529 GB, free: 78.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/1.516, allocations: 1.677 MB / 0.5545 GB, free: 78.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.517, allocations: 21.09 kB / 0.5546 GB, free: 78.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01082/1.527, allocations: 3.775 MB / 0.5583 GB, free: 77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/1.528, allocations: 38.66 kB / 0.5583 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.528, allocations: 83.34 kB / 0.5584 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/1.528, allocations: 123.4 kB / 0.5585 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005487/1.533, allocations: 0.8944 MB / 0.5594 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001744/1.534, allocations: 158.5 kB / 0.5595 GB, free: 76.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/1.538, allocations: 173.9 kB / 0.5597 GB, free: 76.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/1.538, allocations: 227.5 kB / 0.5599 GB, free: 76.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 37 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (480): * Single equations (assignments): 480 * 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 prepare postOptimizeDAE: time 0.001233/1.54, allocations: 414.4 kB / 0.5603 GB, free: 76.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.54, allocations: 216.9 kB / 0.5605 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.544, allocations: 1.107 MB / 0.5616 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/1.544, allocations: 7.5 kB / 0.5616 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.544, allocations: 3.438 kB / 0.5616 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.544, allocations: 7.359 kB / 0.5616 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/1.559, allocations: 6.076 MB / 0.5675 GB, free: 72.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/1.559, allocations: 24.84 kB / 0.5676 GB, free: 72.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.561, allocations: 245 kB / 0.5678 GB, free: 72.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.135e-05/1.561, allocations: 30.81 kB / 0.5678 GB, free: 72.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/1.561, allocations: 53.64 kB / 0.5679 GB, free: 72.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.268e-05/1.561, allocations: 40.81 kB / 0.5679 GB, free: 72.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/1.561, allocations: 28.88 kB / 0.5679 GB, free: 72.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/1.565, allocations: 3.74 MB / 0.5716 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/1.566, allocations: 327.5 kB / 0.5719 GB, free: 68.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/1.566, allocations: 51.84 kB / 0.5719 GB, free: 68.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.568, allocations: 46.72 kB / 0.572 GB, free: 68.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/1.569, allocations: 149 kB / 0.5721 GB, free: 68.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.569, allocations: 55.09 kB / 0.5722 GB, free: 68.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004092/1.573, allocations: 1.579 MB / 0.5737 GB, free: 68.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.573, allocations: 0 / 0.5737 GB, free: 68.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005101/1.578, allocations: 0.6546 MB / 0.5744 GB, free: 68.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.005121/1.583, allocations: 9.598 MB / 0.5837 GB, free: 58.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005388/1.589, allocations: 2.128 MB / 0.5858 GB, free: 57.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/1.589, allocations: 4 kB / 0.5858 GB, free: 57.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.59, allocations: 0.5401 MB / 0.5863 GB, free: 56.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.593, allocations: 309.1 kB / 0.5866 GB, free: 56.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.614, allocations: 6.602 MB / 0.5931 GB, free: 50.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/1.62, allocations: 2.813 MB / 0.5958 GB, free: 48.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005287/1.625, allocations: 0.9985 MB / 0.5968 GB, free: 47.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003229/1.629, allocations: 1.462 MB / 0.5982 GB, free: 46.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/1.629, allocations: 2.531 kB / 0.5982 GB, free: 46.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/1.748, allocations: 48.03 MB / 0.6451 GB, free: 3.062 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004048/1.749, allocations: 138.5 kB / 0.6453 GB, free: 2.844 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/6.073, allocations: 8 kB / 0.6453 GB, free: 2.836 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat