Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.118/2.118, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.98e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.5934, allocations: 91.73 MB / 413.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.5938, allocations: 75.95 kB / 413.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8049/1.399, allocations: 109.2 MB / 0.5107 GB, free: 88.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.399, allocations: 0 / 0.5107 GB, free: 88.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006598/1.399, allocations: 109.1 kB / 0.5108 GB, free: 88.16 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.03144/1.431, allocations: 6.112 MB / 0.5167 GB, free: 86.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/1.431, allocations: 9.5 kB / 0.5167 GB, free: 86.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004665/1.436, allocations: 0.7566 MB / 0.5175 GB, free: 85.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07424/1.51, allocations: 10.13 MB / 0.5274 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03561/1.546, allocations: 9.831 MB / 0.537 GB, free: 84.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005358/1.546, allocations: 367.1 kB / 0.5373 GB, free: 84.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/1.549, allocations: 468.6 kB / 0.5378 GB, free: 84.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04/1.589, allocations: 10.59 MB / 0.5481 GB, free: 82.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004406/1.59, allocations: 62.05 kB / 0.5482 GB, free: 82.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00235/1.592, allocations: 200.8 kB / 0.5484 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002478/1.594, allocations: 0.9955 MB / 0.5493 GB, free: 82.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/1.628, allocations: 8.796 MB / 0.5579 GB, free: 80.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08613/1.714, allocations: 43.94 MB / 0.6008 GB, free: 47.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04077/1.755, allocations: 7.861 MB / 0.6085 GB, free: 41.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00898/1.764, allocations: 4.93 MB / 0.6133 GB, free: 37.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/1.766, allocations: 1.127 MB / 0.6144 GB, free: 36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.708e-05/1.767, allocations: 64.81 kB / 0.6145 GB, free: 35.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.042e-06/1.767, allocations: 0 / 0.6145 GB, free: 35.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.7171/2.484, allocations: 64.98 MB / 0.6779 GB, free: 95.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02796/2.512, allocations: 10.91 MB / 0.6886 GB, free: 93.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/2.522, allocations: 3.693 MB / 0.6922 GB, free: 93.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/2.523, allocations: 91.55 kB / 0.6923 GB, free: 93.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003414/2.527, allocations: 2.991 MB / 0.6952 GB, free: 92.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002858/2.529, allocations: 1.445 MB / 0.6966 GB, free: 91.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/2.531, allocations: 106.4 kB / 0.6967 GB, free: 91.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003935/2.531, allocations: 0.5313 MB / 0.6972 GB, free: 91.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.542, allocations: 4.418 MB / 0.7016 GB, free: 90.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/2.554, allocations: 6.415 MB / 0.7078 GB, free: 85.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/2.567, allocations: 5.404 MB / 0.7131 GB, free: 83.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.091e-05/2.567, allocations: 17.91 kB / 0.7131 GB, free: 83.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06656/2.633, allocations: 18.25 MB / 0.7309 GB, free: 78.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/2.633, allocations: 37.42 kB / 0.731 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/2.634, allocations: 66.75 kB / 0.731 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04273/2.676, allocations: 8.6 MB / 0.7394 GB, free: 77.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007894/2.684, allocations: 1.031 MB / 0.7404 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1121/2.796, allocations: 48.48 MB / 0.7878 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/2.807, allocations: 497.1 kB / 0.7883 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/2.809, allocations: 275.1 kB / 0.7885 GB, free: 41.5 MB / 442.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.00325/2.812, allocations: 495.5 kB / 0.789 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/2.815, allocations: 489.7 kB / 0.7895 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06386/2.879, allocations: 17.51 MB / 0.8066 GB, free: 23.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05814/2.937, allocations: 16.01 MB / 0.8222 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.43e-05/2.937, allocations: 28 kB / 0.8222 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/2.937, allocations: 22.55 kB / 0.8222 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4454/3.382, allocations: 34.56 MB / 0.856 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.097e-05/3.383, allocations: 7.344 kB / 0.856 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004534/3.387, allocations: 446.7 kB / 0.8564 GB, free: 84.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04141/3.429, allocations: 8.038 MB / 0.8643 GB, free: 84.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001395/3.43, allocations: 78.45 kB / 0.8644 GB, free: 84.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1091/3.539, allocations: 47.53 MB / 0.9108 GB, free: 65.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02273/3.562, allocations: 9.676 MB / 0.9202 GB, free: 58.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06923/3.631, allocations: 23.79 MB / 0.9434 GB, free: 38.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005765/3.637, allocations: 1.421 MB / 0.9448 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002266/3.639, allocations: 87.08 kB / 0.9449 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007669/3.647, allocations: 353.4 kB / 0.9453 GB, free: 36.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002277/3.649, allocations: 333.3 kB / 0.9456 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007069/3.65, allocations: 106.4 kB / 0.9457 GB, free: 36.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00675/3.657, allocations: 2.74 MB / 0.9484 GB, free: 33.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.657, allocations: 0 / 0.9484 GB, free: 33.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01196/3.669, allocations: 1.974 MB / 0.9503 GB, free: 31.88 MB / 442.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.09078/3.76, allocations: 25.69 MB / 0.9754 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03359/3.793, allocations: 11.96 MB / 0.987 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/3.794, allocations: 0 / 0.987 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3338/4.127, allocations: 6.896 MB / 0.9938 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007958/4.135, allocations: 0.7522 MB / 0.9945 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0534/4.189, allocations: 15.38 MB / 1.01 GB, free: 98.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01085/4.2, allocations: 4.297 MB / 1.014 GB, free: 97.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009168/4.209, allocations: 1.686 MB / 1.015 GB, free: 97.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007281/4.216, allocations: 2.596 MB / 1.018 GB, free: 97.44 MB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/4.216, allocations: 0 / 1.018 GB, free: 97.44 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7325/4.949, allocations: 160.9 MB / 1.175 GB, free: 90.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/4.949, allocations: 201.7 kB / 1.175 GB, free: 90.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/12.57, allocations: 0 / 1.175 GB, free: 90.21 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat