Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235 MB / 247.1 MB, free: 14.42 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.355e-05, allocations: 4.938 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4736, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.6962, allocations: 100.9 MB / 460.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.6966, allocations: 75.97 kB / 460.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.697/1.394, allocations: 75.71 MB / 0.524 GB, free: 109.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.125e-06/1.394, allocations: 0.625 kB / 0.524 GB, free: 109.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003306/1.394, allocations: 69.94 kB / 0.524 GB, free: 109.4 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01795/1.412, allocations: 3.79 MB / 0.5277 GB, free: 108.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.412, allocations: 10.62 kB / 0.5277 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003436/1.416, allocations: 0.6596 MB / 0.5284 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007346/1.423, allocations: 0.6748 MB / 0.529 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/1.433, allocations: 2.209 MB / 0.5312 GB, free: 108.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007492/1.434, allocations: 293.1 kB / 0.5315 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/1.437, allocations: 380.6 kB / 0.5318 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05082/1.488, allocations: 8.828 MB / 0.5405 GB, free: 107 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/1.488, allocations: 22.08 kB / 0.5405 GB, free: 107 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/1.49, allocations: 169.4 kB / 0.5406 GB, free: 107 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/1.494, allocations: 0.8365 MB / 0.5415 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04/1.534, allocations: 7.164 MB / 0.5484 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08427/1.619, allocations: 29.01 MB / 0.5768 GB, free: 89.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/1.637, allocations: 2.267 MB / 0.579 GB, free: 88.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/1.639, allocations: 1.056 MB / 0.58 GB, free: 87.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/1.654, allocations: 7.595 MB / 0.5874 GB, free: 82.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.654, allocations: 52.73 kB / 0.5875 GB, free: 82.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 4.819e-06/1.654, allocations: 3.281 kB / 0.5875 GB, free: 82.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.0323/1.686, allocations: 6.48 MB / 0.5938 GB, free: 80.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.686, allocations: 148 kB / 0.594 GB, free: 79.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/1.691, allocations: 2.31 MB / 0.5962 GB, free: 78.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.692, allocations: 41.42 kB / 0.5963 GB, free: 78.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.694, allocations: 2.408 MB / 0.5986 GB, free: 77.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/1.694, allocations: 394.4 kB / 0.599 GB, free: 76.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.695, allocations: 83.66 kB / 0.5991 GB, free: 76.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/1.695, allocations: 463.7 kB / 0.5995 GB, free: 76.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.697, allocations: 1.042 MB / 0.6005 GB, free: 75.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/1.702, allocations: 3.422 MB / 0.6039 GB, free: 72.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/1.706, allocations: 1.835 MB / 0.6057 GB, free: 71.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.699e-05/1.706, allocations: 31.97 kB / 0.6057 GB, free: 71.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01131/1.718, allocations: 4.339 MB / 0.6099 GB, free: 68.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/1.718, allocations: 44 kB / 0.61 GB, free: 68.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.884e-05/1.718, allocations: 87.95 kB / 0.6101 GB, free: 68.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/1.718, allocations: 127.9 kB / 0.6102 GB, free: 68.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/1.724, allocations: 0.9465 MB / 0.6111 GB, free: 67.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001711/1.724, allocations: 169 kB / 0.6113 GB, free: 67.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/1.728, allocations: 197.6 kB / 0.6115 GB, free: 67.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007456/1.729, allocations: 235.5 kB / 0.6117 GB, free: 67.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (497): * Single equations (assignments): 497 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007799/1.73, allocations: 435 kB / 0.6121 GB, free: 66.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005454/1.73, allocations: 229 kB / 0.6123 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/1.734, allocations: 1.353 MB / 0.6136 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.734, allocations: 15.95 kB / 0.6136 GB, free: 65.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.734, allocations: 0.9375 kB / 0.6136 GB, free: 65.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.734, allocations: 3.422 kB / 0.6137 GB, free: 65.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.748, allocations: 6.16 MB / 0.6197 GB, free: 59.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.748, allocations: 16 kB / 0.6197 GB, free: 59.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.75, allocations: 243.6 kB / 0.6199 GB, free: 59.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/1.75, allocations: 28 kB / 0.6199 GB, free: 59.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.75, allocations: 40 kB / 0.62 GB, free: 59.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-05/1.75, allocations: 35.72 kB / 0.62 GB, free: 59.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/1.75, allocations: 27.88 kB / 0.62 GB, free: 59.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/1.754, allocations: 3.554 MB / 0.6235 GB, free: 55.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/1.755, allocations: 325.2 kB / 0.6238 GB, free: 55.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/1.755, allocations: 51.5 kB / 0.6239 GB, free: 54.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.757, allocations: 54.5 kB / 0.6239 GB, free: 54.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.757, allocations: 140.9 kB / 0.6241 GB, free: 54.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/1.757, allocations: 52 kB / 0.6241 GB, free: 54.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004114/1.761, allocations: 1.643 MB / 0.6257 GB, free: 53.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/1.761, allocations: 1.406 kB / 0.6257 GB, free: 53.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005122/1.766, allocations: 0.6788 MB / 0.6264 GB, free: 52.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005144/1.772, allocations: 8.654 MB / 0.6348 GB, free: 43.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00583/1.777, allocations: 2.491 MB / 0.6373 GB, free: 41.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-05/1.778, allocations: 4 kB / 0.6373 GB, free: 41.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.779, allocations: 0.6003 MB / 0.6378 GB, free: 40.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.781, allocations: 301.2 kB / 0.6381 GB, free: 40.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.802, allocations: 6.606 MB / 0.6446 GB, free: 34.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/1.807, allocations: 2.806 MB / 0.6473 GB, free: 32.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005206/1.812, allocations: 1.049 MB / 0.6484 GB, free: 31.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003313/1.816, allocations: 1.463 MB / 0.6498 GB, free: 30.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/1.816, allocations: 0 / 0.6498 GB, free: 30.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/2.342, allocations: 50.27 MB / 0.6989 GB, free: 97.11 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/2.342, allocations: 145.4 kB / 0.699 GB, free: 96.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/6.497, allocations: 3 kB / 0.699 GB, free: 96.89 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat