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.378/2.378, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.648e-05/4.667e-05, allocations: 7.375 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5599, allocations: 91.71 MB / 413.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5603, allocations: 75.95 kB / 413.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7933/1.354, allocations: 109.2 MB / 0.5106 GB, free: 88.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.354, allocations: 0 / 0.5106 GB, free: 88.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006385/1.354, allocations: 114.3 kB / 0.5107 GB, free: 88.5 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.02998/1.384, allocations: 6.106 MB / 0.5167 GB, free: 86.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.384, allocations: 13.12 kB / 0.5167 GB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004251/1.389, allocations: 0.7571 MB / 0.5174 GB, free: 86.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07354/1.462, allocations: 10.13 MB / 0.5273 GB, free: 85.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03432/1.497, allocations: 9.83 MB / 0.5369 GB, free: 85.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004987/1.497, allocations: 369.3 kB / 0.5373 GB, free: 85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/1.5, allocations: 464.3 kB / 0.5377 GB, free: 84.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.54, allocations: 10.64 MB / 0.5481 GB, free: 83.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000564/1.541, allocations: 67.56 kB / 0.5482 GB, free: 83.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002632/1.543, allocations: 201.1 kB / 0.5484 GB, free: 83.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/1.546, allocations: 0.9873 MB / 0.5494 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/1.58, allocations: 8.934 MB / 0.5581 GB, free: 80.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0853/1.665, allocations: 43.94 MB / 0.601 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03918/1.704, allocations: 7.88 MB / 0.6087 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009566/1.714, allocations: 4.938 MB / 0.6135 GB, free: 37.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/1.716, allocations: 1.124 MB / 0.6146 GB, free: 35.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/1.716, allocations: 64.81 kB / 0.6147 GB, free: 35.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 5.4e-06/1.716, allocations: 0 / 0.6147 GB, free: 35.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.6608/2.377, allocations: 64.99 MB / 0.6781 GB, free: 93.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02889/2.406, allocations: 10.9 MB / 0.6888 GB, free: 91.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/2.418, allocations: 3.686 MB / 0.6924 GB, free: 90.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00163/2.42, allocations: 92.52 kB / 0.6925 GB, free: 90.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004819/2.425, allocations: 2.993 MB / 0.6954 GB, free: 89.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003503/2.428, allocations: 1.443 MB / 0.6968 GB, free: 89.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/2.429, allocations: 112.3 kB / 0.6969 GB, free: 89.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005537/2.43, allocations: 0.5321 MB / 0.6974 GB, free: 88.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01506/2.445, allocations: 4.417 MB / 0.7017 GB, free: 88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01763/2.463, allocations: 6.441 MB / 0.708 GB, free: 83.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/2.481, allocations: 5.404 MB / 0.7133 GB, free: 81.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.038e-05/2.481, allocations: 23.19 kB / 0.7133 GB, free: 81.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06902/2.55, allocations: 18.44 MB / 0.7313 GB, free: 76.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/2.55, allocations: 35.05 kB / 0.7314 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.169e-05/2.55, allocations: 66.91 kB / 0.7314 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04195/2.592, allocations: 8.601 MB / 0.7398 GB, free: 75.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007643/2.6, allocations: 1.033 MB / 0.7408 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1083/2.708, allocations: 48.46 MB / 0.7882 GB, free: 41.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/2.718, allocations: 494.6 kB / 0.7886 GB, free: 41.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/2.72, allocations: 280.9 kB / 0.7889 GB, free: 40.86 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.001772/2.722, allocations: 495.9 kB / 0.7894 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/2.723, allocations: 489.8 kB / 0.7898 GB, free: 39.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06001/2.783, allocations: 17.51 MB / 0.8069 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05723/2.841, allocations: 16.01 MB / 0.8226 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.458e-05/2.841, allocations: 28 kB / 0.8226 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.841, allocations: 19.92 kB / 0.8226 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4722/3.313, allocations: 34.58 MB / 0.8564 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.304e-05/3.313, allocations: 3.938 kB / 0.8564 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004446/3.318, allocations: 450.1 kB / 0.8568 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0412/3.359, allocations: 8.043 MB / 0.8647 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/3.36, allocations: 78.78 kB / 0.8647 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1188/3.479, allocations: 47.51 MB / 0.9111 GB, free: 66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02295/3.502, allocations: 9.675 MB / 0.9206 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07034/3.573, allocations: 23.79 MB / 0.9438 GB, free: 38.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006237/3.579, allocations: 1.422 MB / 0.9452 GB, free: 36.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002635/3.582, allocations: 82.22 kB / 0.9453 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007787/3.589, allocations: 353.6 kB / 0.9456 GB, free: 36.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/3.592, allocations: 336.2 kB / 0.9459 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000646/3.593, allocations: 111.4 kB / 0.946 GB, free: 36.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006617/3.599, allocations: 2.733 MB / 0.9487 GB, free: 33.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/3.599, allocations: 2.062 kB / 0.9487 GB, free: 33.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01105/3.61, allocations: 1.973 MB / 0.9506 GB, free: 31.86 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.07162/3.682, allocations: 25.69 MB / 0.9757 GB, free: 7.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03456/3.717, allocations: 12.17 MB / 0.9876 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/3.717, allocations: 4 kB / 0.9876 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3386/4.055, allocations: 7.001 MB / 0.9945 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008153/4.064, allocations: 0.7643 MB / 0.9952 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05279/4.116, allocations: 15.41 MB / 1.01 GB, free: 98.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/4.127, allocations: 4.301 MB / 1.014 GB, free: 97.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008947/4.136, allocations: 1.675 MB / 1.016 GB, free: 97.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006931/4.143, allocations: 2.594 MB / 1.019 GB, free: 97.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.472e-06/4.143, allocations: 3.094 kB / 1.019 GB, free: 97.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7327/4.876, allocations: 161.8 MB / 1.177 GB, free: 92.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/4.876, allocations: 193.1 kB / 1.177 GB, free: 91.93 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/12.5, allocations: 0 / 1.177 GB, free: 91.93 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