Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.429e-05, allocations: 7.984 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4402, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.6355, allocations: 104.7 MB / 487 MB, free: 3.691 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6359, allocations: 79.95 kB / 487.1 MB, free: 3.613 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8001/1.436, allocations: 111.4 MB / 0.5844 GB, free: 91.02 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.517e-06/1.436, allocations: 0 / 0.5844 GB, free: 91.02 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005255/1.437, allocations: 107.9 kB / 0.5845 GB, free: 90.91 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02698/1.464, allocations: 6.127 MB / 0.5905 GB, free: 84.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.627e-05/1.464, allocations: 12.03 kB / 0.5905 GB, free: 84.7 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003916/1.468, allocations: 0.7543 MB / 0.5913 GB, free: 83.93 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07286/1.541, allocations: 10.14 MB / 0.6012 GB, free: 73.77 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03317/1.574, allocations: 9.848 MB / 0.6108 GB, free: 63.85 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000472/1.574, allocations: 362.6 kB / 0.6111 GB, free: 63.48 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/1.577, allocations: 471.6 kB / 0.6116 GB, free: 63.02 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03847/1.615, allocations: 10.62 MB / 0.6219 GB, free: 51.83 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004403/1.616, allocations: 63.39 kB / 0.622 GB, free: 51.77 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/1.618, allocations: 203.9 kB / 0.6222 GB, free: 51.57 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/1.621, allocations: 0.9995 MB / 0.6232 GB, free: 50.56 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04605/1.667, allocations: 8.814 MB / 0.6318 GB, free: 41.73 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09071/1.758, allocations: 44.08 MB / 0.6748 GB, free: 12.43 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04184/1.8, allocations: 7.86 MB / 0.6825 GB, free: 4.555 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01044/1.81, allocations: 4.932 MB / 0.6873 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/1.812, allocations: 1.118 MB / 0.6884 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.507e-05/1.813, allocations: 68.78 kB / 0.6885 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=286): time 6.342e-06/1.813, allocations: 0 / 0.6885 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=415): time 0.7128/2.525, allocations: 64.98 MB / 0.7519 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02625/2.552, allocations: 10.9 MB / 0.7626 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009636/2.561, allocations: 3.708 MB / 0.7662 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/2.563, allocations: 92.98 kB / 0.7663 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003419/2.566, allocations: 3.007 MB / 0.7692 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002661/2.569, allocations: 1.438 MB / 0.7706 GB, free: 118.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/2.57, allocations: 110 kB / 0.7707 GB, free: 118 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004289/2.571, allocations: 0.539 MB / 0.7713 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/2.581, allocations: 4.416 MB / 0.7756 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/2.593, allocations: 6.435 MB / 0.7819 GB, free: 111.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/2.606, allocations: 5.414 MB / 0.7872 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.498e-05/2.606, allocations: 20 kB / 0.7872 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.06299/2.669, allocations: 18.28 MB / 0.805 GB, free: 93.25 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/2.669, allocations: 32 kB / 0.8051 GB, free: 93.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-05/2.669, allocations: 64 kB / 0.8051 GB, free: 93.15 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04166/2.711, allocations: 8.604 MB / 0.8135 GB, free: 87.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007747/2.719, allocations: 1.041 MB / 0.8145 GB, free: 86.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.109/2.828, allocations: 48.48 MB / 0.8619 GB, free: 37.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/2.838, allocations: 487.3 kB / 0.8624 GB, free: 36.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/2.84, allocations: 287.9 kB / 0.8626 GB, free: 36.62 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (531): * Single equations (assignments): 526 * 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.002551/2.842, allocations: 0.4905 MB / 0.8631 GB, free: 36.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/2.844, allocations: 489.8 kB / 0.8636 GB, free: 35.64 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06282/2.907, allocations: 17.5 MB / 0.8807 GB, free: 18.14 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05712/2.964, allocations: 16.02 MB / 0.8963 GB, free: 2.086 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/2.964, allocations: 28 kB / 0.8963 GB, free: 2.059 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/2.964, allocations: 19.92 kB / 0.8963 GB, free: 2.039 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4816/3.446, allocations: 34.56 MB / 0.9301 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.856e-05/3.446, allocations: 9.125 kB / 0.9301 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004531/3.45, allocations: 444.6 kB / 0.9305 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04129/3.492, allocations: 8.038 MB / 0.9384 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/3.493, allocations: 79.66 kB / 0.9385 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1137/3.607, allocations: 47.53 MB / 0.9849 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02235/3.629, allocations: 9.673 MB / 0.9943 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06877/3.698, allocations: 23.8 MB / 1.018 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005436/3.704, allocations: 1.423 MB / 1.019 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002253/3.706, allocations: 79.7 kB / 1.019 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007443/3.714, allocations: 357.4 kB / 1.019 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002353/3.716, allocations: 332.6 kB / 1.02 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001005/3.717, allocations: 106.7 kB / 1.02 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007251/3.724, allocations: 2.745 MB / 1.022 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.454e-06/3.724, allocations: 0 / 1.022 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01096/3.735, allocations: 1.974 MB / 1.024 GB, free: 72.98 MB / 0.5105 GB 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.07069/3.806, allocations: 25.68 MB / 1.049 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03153/3.838, allocations: 11.99 MB / 1.061 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/3.838, allocations: 4 kB / 1.061 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02086/3.859, allocations: 6.894 MB / 1.068 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/3.865, allocations: 0.7459 MB / 1.069 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04444/3.91, allocations: 15.39 MB / 1.084 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009393/3.919, allocations: 4.304 MB / 1.088 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008887/3.928, allocations: 1.704 MB / 1.09 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007741/3.936, allocations: 2.604 MB / 1.092 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of SimCode: time 1.873e-06/3.936, allocations: 0 / 1.092 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7077/4.644, allocations: 161.2 MB / 1.25 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/4.644, allocations: 197.8 kB / 1.25 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/12.19, allocations: 0 / 1.25 GB, free: 47.14 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat