Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.575/2.575, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.93e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4301, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.6162, allocations: 98.53 MB / 458.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.6165, allocations: 73.16 kB / 458.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8389/1.455, allocations: 109.4 MB / 0.5545 GB, free: 99.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.455, allocations: 0 / 0.5545 GB, free: 99.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005835/1.456, allocations: 110.2 kB / 0.5546 GB, free: 99.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02759/1.484, allocations: 6.107 MB / 0.5606 GB, free: 97.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.484, allocations: 8.25 kB / 0.5606 GB, free: 97.39 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003877/1.488, allocations: 0.7626 MB / 0.5613 GB, free: 97.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07791/1.566, allocations: 10.13 MB / 0.5712 GB, free: 96.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03706/1.603, allocations: 9.829 MB / 0.5808 GB, free: 94.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/1.603, allocations: 364.8 kB / 0.5812 GB, free: 94.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/1.607, allocations: 472.6 kB / 0.5816 GB, free: 94.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04929/1.656, allocations: 10.66 MB / 0.592 GB, free: 89.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003999/1.656, allocations: 55.92 kB / 0.5921 GB, free: 89.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/1.658, allocations: 202 kB / 0.5923 GB, free: 89.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/1.661, allocations: 0.9954 MB / 0.5933 GB, free: 89.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/1.696, allocations: 8.932 MB / 0.602 GB, free: 84.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08294/1.779, allocations: 43.99 MB / 0.6449 GB, free: 39.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/1.818, allocations: 7.88 MB / 0.6526 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008849/1.826, allocations: 4.935 MB / 0.6575 GB, free: 26.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/1.829, allocations: 1.12 MB / 0.6586 GB, free: 25.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/1.829, allocations: 64.81 kB / 0.6586 GB, free: 25.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 6.351e-06/1.829, allocations: 0 / 0.6586 GB, free: 25.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.7219/2.551, allocations: 64.98 MB / 0.7221 GB, free: 103.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02594/2.577, allocations: 10.9 MB / 0.7327 GB, free: 99.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0099/2.586, allocations: 3.685 MB / 0.7363 GB, free: 98.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001334/2.588, allocations: 95.34 kB / 0.7364 GB, free: 97.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003564/2.591, allocations: 2.999 MB / 0.7393 GB, free: 95.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002685/2.594, allocations: 1.437 MB / 0.7407 GB, free: 94.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/2.595, allocations: 111.6 kB / 0.7408 GB, free: 94.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004706/2.596, allocations: 0.532 MB / 0.7414 GB, free: 94.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/2.606, allocations: 4.417 MB / 0.7457 GB, free: 92.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.619, allocations: 6.441 MB / 0.752 GB, free: 88.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/2.631, allocations: 5.406 MB / 0.7572 GB, free: 86.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.507e-05/2.631, allocations: 18.06 kB / 0.7573 GB, free: 86.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06739/2.699, allocations: 18.45 MB / 0.7753 GB, free: 81.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/2.699, allocations: 34.12 kB / 0.7753 GB, free: 81.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-05/2.699, allocations: 65 kB / 0.7754 GB, free: 81.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04306/2.742, allocations: 8.6 MB / 0.7838 GB, free: 78.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00791/2.75, allocations: 1.033 MB / 0.7848 GB, free: 77.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1122/2.862, allocations: 48.45 MB / 0.8321 GB, free: 33.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009906/2.872, allocations: 493.7 kB / 0.8326 GB, free: 33.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/2.874, allocations: 275.9 kB / 0.8328 GB, free: 33.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.003285/2.878, allocations: 0.4883 MB / 0.8333 GB, free: 32.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002276/2.88, allocations: 486.2 kB / 0.8338 GB, free: 32.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06565/2.946, allocations: 17.5 MB / 0.8509 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06679/3.012, allocations: 16.01 MB / 0.8665 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001244/3.013, allocations: 31.98 kB / 0.8665 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/3.013, allocations: 19.92 kB / 0.8665 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4805/3.493, allocations: 34.58 MB / 0.9003 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-05/3.493, allocations: 8.547 kB / 0.9003 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004566/3.498, allocations: 454 kB / 0.9007 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04147/3.539, allocations: 8.036 MB / 0.9086 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/3.541, allocations: 83.59 kB / 0.9087 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1619/3.703, allocations: 47.52 MB / 0.9551 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02348/3.726, allocations: 9.671 MB / 0.9645 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07165/3.798, allocations: 23.78 MB / 0.9877 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005938/3.804, allocations: 1.417 MB / 0.9891 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/3.806, allocations: 83.94 kB / 0.9892 GB, free: 62.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007428/3.814, allocations: 355.9 kB / 0.9895 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002324/3.816, allocations: 337.2 kB / 0.9899 GB, free: 61.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006474/3.817, allocations: 102.4 kB / 0.99 GB, free: 61.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006712/3.824, allocations: 2.738 MB / 0.9926 GB, free: 59.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.383e-06/3.824, allocations: 0 / 0.9926 GB, free: 59.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01033/3.834, allocations: 1.97 MB / 0.9946 GB, free: 57.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07232/3.906, allocations: 25.7 MB / 1.02 GB, free: 33.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03452/3.941, allocations: 12.18 MB / 1.032 GB, free: 21.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/3.941, allocations: 3.812 kB / 1.032 GB, free: 21.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02134/3.962, allocations: 7.008 MB / 1.038 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/3.97, allocations: 0.7503 MB / 1.039 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/4.018, allocations: 15.43 MB / 1.054 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/4.03, allocations: 4.297 MB / 1.058 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009055/4.039, allocations: 1.677 MB / 1.06 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3599/4.399, allocations: 2.597 MB / 1.063 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/4.399, allocations: 0 / 1.063 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/4.771, allocations: 161.9 MB / 1.221 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/4.772, allocations: 203.2 kB / 1.221 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/12.47, allocations: 4 kB / 1.221 GB, free: 17.28 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat