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.59/2.59, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.924e-05, allocations: 4 kB / 299.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.39, allocations: 54.86 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.5709, allocations: 97.87 MB / 452.2 MB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.5712, allocations: 75.95 kB / 452.3 MB, free: 232 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.759/1.33, allocations: 107.2 MB / 0.5464 GB, free: 80.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.33, allocations: 0 / 0.5464 GB, free: 80.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005789/1.331, allocations: 111 kB / 0.5465 GB, free: 80.78 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02667/1.358, allocations: 6.113 MB / 0.5525 GB, free: 74.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.358, allocations: 8.031 kB / 0.5525 GB, free: 74.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07074/1.428, allocations: 10.14 MB / 0.5624 GB, free: 64.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03377/1.462, allocations: 9.82 MB / 0.572 GB, free: 54.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/1.463, allocations: 214.7 kB / 0.5722 GB, free: 54.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/1.465, allocations: 283.8 kB / 0.5725 GB, free: 54.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01661/1.482, allocations: 6.298 MB / 0.5786 GB, free: 47.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/1.506, allocations: 8.888 MB / 0.5873 GB, free: 38.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003758/1.507, allocations: 59.45 kB / 0.5873 GB, free: 38.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/1.508, allocations: 16 kB / 0.5874 GB, free: 38.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/1.511, allocations: 0.9868 MB / 0.5883 GB, free: 37.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08025/1.591, allocations: 42.94 MB / 0.6303 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/1.604, allocations: 5.704 MB / 0.6358 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009791/1.614, allocations: 4.847 MB / 0.6406 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/1.617, allocations: 1.128 MB / 0.6417 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/1.617, allocations: 64.91 kB / 0.6417 GB, free: 13.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 6.673e-06/1.617, allocations: 3.938 kB / 0.6417 GB, free: 13.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.5979/2.215, allocations: 59.79 MB / 0.7001 GB, free: 116.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/2.215, allocations: 199.7 kB / 0.7003 GB, free: 116 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008056/2.223, allocations: 3.223 MB / 0.7035 GB, free: 115.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00128/2.224, allocations: 25.7 kB / 0.7035 GB, free: 115.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003142/2.228, allocations: 3.009 MB / 0.7064 GB, free: 113.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002577/2.23, allocations: 1.378 MB / 0.7078 GB, free: 112 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/2.231, allocations: 0.8438 kB / 0.7078 GB, free: 112 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004373/2.232, allocations: 0.5348 MB / 0.7083 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009639/2.241, allocations: 4.247 MB / 0.7124 GB, free: 109.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/2.252, allocations: 6.248 MB / 0.7185 GB, free: 105.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/2.264, allocations: 5.215 MB / 0.7236 GB, free: 103.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.925e-05/2.264, allocations: 19.94 kB / 0.7236 GB, free: 103.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06128/2.325, allocations: 17.63 MB / 0.7409 GB, free: 96.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/2.325, allocations: 32 kB / 0.7409 GB, free: 96.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/2.326, allocations: 64 kB / 0.741 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0408/2.366, allocations: 8.358 MB / 0.7491 GB, free: 90.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/2.374, allocations: 1.044 MB / 0.7501 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09776/2.472, allocations: 45.33 MB / 0.7944 GB, free: 46.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.482, allocations: 379.3 kB / 0.7948 GB, free: 46.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/2.484, allocations: 281.9 kB / 0.795 GB, free: 45.99 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,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.002009/2.486, allocations: 323 kB / 0.7953 GB, free: 45.67 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0557/2.542, allocations: 16.08 MB / 0.811 GB, free: 29.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/2.544, allocations: 466.1 kB / 0.8115 GB, free: 29.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05596/2.6, allocations: 16.95 MB / 0.828 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05481/2.655, allocations: 15.58 MB / 0.8433 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/2.655, allocations: 31.95 kB / 0.8433 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001188/2.655, allocations: 23.92 kB / 0.8433 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4505/3.106, allocations: 33.38 MB / 0.8759 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.808e-05/3.106, allocations: 6.75 kB / 0.8759 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006202/3.112, allocations: 450.1 kB / 0.8763 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06274/3.175, allocations: 7.949 MB / 0.8841 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001562/3.177, allocations: 18.05 kB / 0.8841 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1022/3.279, allocations: 44.36 MB / 0.9274 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02116/3.3, allocations: 9.129 MB / 0.9364 GB, free: 88.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06474/3.365, allocations: 23.13 MB / 0.9589 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005485/3.37, allocations: 1.375 MB / 0.9603 GB, free: 67.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00255/3.373, allocations: 15.94 kB / 0.9603 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007088/3.38, allocations: 290.2 kB / 0.9606 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002598/3.383, allocations: 337.2 kB / 0.9609 GB, free: 66.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001135/3.384, allocations: 108 kB / 0.961 GB, free: 66.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005793/3.39, allocations: 2.329 MB / 0.9633 GB, free: 64.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/3.39, allocations: 0 / 0.9633 GB, free: 64.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01029/3.4, allocations: 1.752 MB / 0.965 GB, free: 62.41 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 {(11,54.5%) 97,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.06618/3.466, allocations: 25 MB / 0.9894 GB, free: 37.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02862/3.495, allocations: 11.62 MB / 1.001 GB, free: 25.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/3.495, allocations: 3.938 kB / 1.001 GB, free: 25.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01985/3.515, allocations: 6.722 MB / 1.007 GB, free: 19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006551/3.522, allocations: 0.6215 MB / 1.008 GB, free: 18.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04847/3.57, allocations: 14.89 MB / 1.022 GB, free: 3.441 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3495/3.92, allocations: 4.298 MB / 1.027 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009583/3.929, allocations: 1.631 MB / 1.028 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006978/3.936, allocations: 2.592 MB / 1.031 GB, free: 120.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.254e-06/3.936, allocations: 1.5 kB / 1.031 GB, free: 120.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4123/4.349, allocations: 152.6 MB / 1.18 GB, free: 14.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/4.349, allocations: 155.9 kB / 1.18 GB, free: 14.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/11.45, allocations: 4 kB / 1.18 GB, free: 14.79 MB / 490.7 MB 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