Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.941e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.6173, allocations: 110.1 MB / 492.4 MB, free: 14.29 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.6177, allocations: 79.95 kB / 492.5 MB, free: 14.21 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6397/1.257, allocations: 74.38 MB / 0.5536 GB, free: 111.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.054e-06/1.257, allocations: 3.906 kB / 0.5536 GB, free: 111.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002218/1.258, allocations: 74.88 kB / 0.5536 GB, free: 111.7 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01839/1.276, allocations: 4.105 MB / 0.5576 GB, free: 110.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/1.276, allocations: 10.12 kB / 0.5576 GB, free: 110.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00345/1.28, allocations: 0.7063 MB / 0.5583 GB, free: 110 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008783/1.288, allocations: 0.7437 MB / 0.5591 GB, free: 109.7 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.301, allocations: 2.588 MB / 0.5616 GB, free: 108.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/1.301, allocations: 321.6 kB / 0.5619 GB, free: 108.3 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/1.304, allocations: 412.9 kB / 0.5623 GB, free: 108.2 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04365/1.347, allocations: 9.823 MB / 0.5719 GB, free: 102.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/1.348, allocations: 15.88 kB / 0.5719 GB, free: 102.3 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/1.35, allocations: 179.3 kB / 0.5721 GB, free: 102.1 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/1.353, allocations: 0.8636 MB / 0.5729 GB, free: 101.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/1.381, allocations: 8.276 MB / 0.581 GB, free: 93.65 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06214/1.443, allocations: 31.94 MB / 0.6122 GB, free: 61.14 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.459, allocations: 2.999 MB / 0.6151 GB, free: 58.11 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003113/1.462, allocations: 1.536 MB / 0.6166 GB, free: 56.56 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/1.479, allocations: 8.979 MB / 0.6254 GB, free: 47.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.48, allocations: 47.28 kB / 0.6254 GB, free: 47.09 MB / 458.8 MB Notification: Performance of pre-optimization done (n=91): time 3.857e-06/1.48, allocations: 0 / 0.6254 GB, free: 47.09 MB / 458.8 MB Notification: Performance of matching and sorting (n=108): time 0.03897/1.519, allocations: 7.625 MB / 0.6329 GB, free: 39.43 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.519, allocations: 119.8 kB / 0.633 GB, free: 39.29 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005185/1.524, allocations: 2.522 MB / 0.6355 GB, free: 36.75 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003146/1.524, allocations: 45.7 kB / 0.6355 GB, free: 36.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/1.526, allocations: 2.51 MB / 0.6379 GB, free: 34.19 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005806/1.527, allocations: 434.9 kB / 0.6384 GB, free: 33.77 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.527, allocations: 80 kB / 0.6384 GB, free: 33.69 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002435/1.527, allocations: 478.8 kB / 0.6389 GB, free: 33.21 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/1.531, allocations: 1.402 MB / 0.6403 GB, free: 31.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/1.535, allocations: 3.715 MB / 0.6439 GB, free: 26.91 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/1.54, allocations: 2.225 MB / 0.6461 GB, free: 24.68 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.871e-05/1.54, allocations: 24 kB / 0.6461 GB, free: 24.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01225/1.553, allocations: 4.895 MB / 0.6509 GB, free: 19.76 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/1.553, allocations: 40 kB / 0.6509 GB, free: 19.72 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.553, allocations: 88.59 kB / 0.651 GB, free: 19.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/1.553, allocations: 120 kB / 0.6511 GB, free: 19.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006627/1.56, allocations: 1.002 MB / 0.6521 GB, free: 18.52 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002305/1.56, allocations: 167.4 kB / 0.6522 GB, free: 18.35 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/1.565, allocations: 243.5 kB / 0.6525 GB, free: 18.11 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007541/1.566, allocations: 239.9 kB / 0.6527 GB, free: 17.88 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (524): * Single equations (assignments): 523 * 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.00079/1.566, allocations: 440 kB / 0.6531 GB, free: 17.44 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/1.567, allocations: 236.9 kB / 0.6533 GB, free: 17.21 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/1.572, allocations: 2.046 MB / 0.6553 GB, free: 15.15 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.572, allocations: 12 kB / 0.6554 GB, free: 15.14 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.572, allocations: 96 / 0.6554 GB, free: 15.14 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.572, allocations: 11.97 kB / 0.6554 GB, free: 15.12 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.587, allocations: 6.923 MB / 0.6621 GB, free: 7.875 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/1.587, allocations: 23.98 kB / 0.6622 GB, free: 7.852 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.589, allocations: 287.5 kB / 0.6624 GB, free: 7.57 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.568e-05/1.589, allocations: 28 kB / 0.6625 GB, free: 7.543 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.589, allocations: 48 kB / 0.6625 GB, free: 7.496 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.994e-05/1.589, allocations: 39.86 kB / 0.6625 GB, free: 7.457 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-05/1.589, allocations: 31.83 kB / 0.6626 GB, free: 7.426 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/1.594, allocations: 4.248 MB / 0.6667 GB, free: 2.668 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/1.595, allocations: 353.5 kB / 0.6671 GB, free: 2.305 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.595, allocations: 51.98 kB / 0.6671 GB, free: 2.254 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.597, allocations: 75.94 kB / 0.6672 GB, free: 2.18 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.597, allocations: 156.2 kB / 0.6673 GB, free: 2.027 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.597, allocations: 60 kB / 0.6674 GB, free: 1.969 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003771/1.601, allocations: 1.769 MB / 0.6691 GB, free: 196 kB / 458.8 MB Notification: Performance of sort global known variables: time 1.202e-06/1.601, allocations: 3.938 kB / 0.6691 GB, free: 192 kB / 458.8 MB Notification: Performance of remove unused functions: time 0.005407/1.607, allocations: 0.7695 MB / 0.6699 GB, free: 15.42 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.008429/1.615, allocations: 9.532 MB / 0.6792 GB, free: 5.316 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007824/1.623, allocations: 3.033 MB / 0.6821 GB, free: 2.301 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/1.623, allocations: 8.125 kB / 0.6821 GB, free: 2.293 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.625, allocations: 0.8463 MB / 0.683 GB, free: 1.445 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.627, allocations: 322.8 kB / 0.6833 GB, free: 1.133 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.652, allocations: 7.511 MB / 0.6906 GB, free: 9.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006615/1.659, allocations: 3.034 MB / 0.6936 GB, free: 6.258 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005421/1.664, allocations: 1.054 MB / 0.6946 GB, free: 5.199 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004167/1.668, allocations: 1.593 MB / 0.6962 GB, free: 3.605 MB / 490.8 MB Notification: Performance of SimCode: time 1.894e-06/1.668, allocations: 0 / 0.6962 GB, free: 3.605 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5595/2.228, allocations: 56.81 MB / 0.7516 GB, free: 140.5 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/2.228, allocations: 148.2 kB / 0.7518 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.439/6.668, allocations: 0 / 0.7518 GB, free: 140.3 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat