Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.88e-05, allocations: 4 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 61.86 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.6019, allocations: 106.4 MB / 0.5046 GB, free: 116 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6022, allocations: 75.97 kB / 0.5047 GB, free: 40 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8245/1.427, allocations: 112.5 MB / 0.6146 GB, free: 26.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.724e-06/1.427, allocations: 0 / 0.6146 GB, free: 26.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005109/1.427, allocations: 104 kB / 0.6147 GB, free: 26.61 MB / 442.7 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.02601/1.453, allocations: 6.108 MB / 0.6207 GB, free: 20.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.453, allocations: 8.031 kB / 0.6207 GB, free: 20.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003923/1.457, allocations: 0.7582 MB / 0.6214 GB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07286/1.53, allocations: 10.14 MB / 0.6313 GB, free: 9.496 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03173/1.562, allocations: 9.203 MB / 0.6403 GB, free: 224 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/1.563, allocations: 366.6 kB / 0.6406 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/1.565, allocations: 471.6 kB / 0.6411 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05758/1.623, allocations: 10.62 MB / 0.6515 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007212/1.624, allocations: 63.44 kB / 0.6515 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003167/1.627, allocations: 199.9 kB / 0.6517 GB, free: 3.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003976/1.631, allocations: 0.9957 MB / 0.6527 GB, free: 2.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04871/1.68, allocations: 8.818 MB / 0.6613 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.787, allocations: 43.98 MB / 0.7042 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04226/1.83, allocations: 7.859 MB / 0.7119 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01034/1.84, allocations: 4.934 MB / 0.7167 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3702/2.21, allocations: 1.119 MB / 0.7178 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/2.21, allocations: 63.62 kB / 0.7179 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 5.661e-06/2.21, allocations: 0 / 0.7179 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.3427/2.553, allocations: 64.79 MB / 0.7812 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02572/2.579, allocations: 10.9 MB / 0.7918 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009003/2.588, allocations: 3.646 MB / 0.7954 GB, free: 100 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001354/2.589, allocations: 93.7 kB / 0.7954 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/2.593, allocations: 2.995 MB / 0.7984 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002601/2.595, allocations: 1.433 MB / 0.7998 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/2.596, allocations: 112 kB / 0.7999 GB, free: 96.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00046/2.597, allocations: 0.5397 MB / 0.8004 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/2.607, allocations: 4.417 MB / 0.8047 GB, free: 91.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/2.619, allocations: 6.43 MB / 0.811 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/2.631, allocations: 5.418 MB / 0.8163 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-05/2.632, allocations: 18.16 kB / 0.8163 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.06625/2.698, allocations: 18.28 MB / 0.8342 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/2.698, allocations: 32 kB / 0.8342 GB, free: 64.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-05/2.698, allocations: 68 kB / 0.8343 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04182/2.74, allocations: 8.608 MB / 0.8427 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007597/2.747, allocations: 1.031 MB / 0.8437 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.11/2.857, allocations: 48.47 MB / 0.891 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009954/2.867, allocations: 491.4 kB / 0.8915 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/2.869, allocations: 286.1 kB / 0.8917 GB, free: 4.934 MB / 0.5105 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.002366/2.872, allocations: 0.4884 MB / 0.8922 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/2.873, allocations: 493.8 kB / 0.8927 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06847/2.942, allocations: 17.5 MB / 0.9098 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4786/3.421, allocations: 16.01 MB / 0.9254 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/3.421, allocations: 28.34 kB / 0.9254 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-05/3.421, allocations: 23.78 kB / 0.9255 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1045/3.525, allocations: 34.56 MB / 0.9592 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.456e-05/3.525, allocations: 6.969 kB / 0.9592 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004442/3.53, allocations: 443.3 kB / 0.9596 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04104/3.571, allocations: 8.04 MB / 0.9675 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/3.572, allocations: 82.31 kB / 0.9676 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1089/3.681, allocations: 47.53 MB / 1.014 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02229/3.704, allocations: 9.664 MB / 1.023 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06842/3.772, allocations: 23.78 MB / 1.047 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/3.774, allocations: 0.5066 MB / 1.047 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/3.776, allocations: 79.98 kB / 1.047 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00755/3.784, allocations: 362.1 kB / 1.048 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002341/3.786, allocations: 333.3 kB / 1.048 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000935/3.787, allocations: 104 kB / 1.048 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00658/3.794, allocations: 2.706 MB / 1.051 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.162e-06/3.794, allocations: 0 / 1.051 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0103/3.804, allocations: 1.969 MB / 1.053 GB, free: 49.19 MB / 0.5261 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.07685/3.881, allocations: 25.68 MB / 1.078 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03153/3.913, allocations: 11.98 MB / 1.089 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/3.913, allocations: 0 / 1.089 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02139/3.934, allocations: 6.905 MB / 1.096 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/3.941, allocations: 0.7396 MB / 1.097 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4252/4.367, allocations: 15.33 MB / 1.112 GB, free: 137 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/4.377, allocations: 4.292 MB / 1.116 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00811/4.385, allocations: 1.686 MB / 1.118 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006425/4.392, allocations: 2.594 MB / 1.12 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/4.392, allocations: 0 / 1.12 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4398/4.832, allocations: 160.7 MB / 1.277 GB, free: 28.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/4.832, allocations: 190.3 kB / 1.277 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/12.38, allocations: 0 / 1.277 GB, free: 28.43 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat