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.315/2.315, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.816e-05, allocations: 4 kB / 299.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.48, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.674, allocations: 100.2 MB / 454.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.6743, allocations: 71.97 kB / 454.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.647/1.321, allocations: 73.93 MB / 0.5162 GB, free: 100.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.321, allocations: 3.5 kB / 0.5162 GB, free: 100.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001924/1.322, allocations: 70.47 kB / 0.5162 GB, free: 100.8 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01825/1.34, allocations: 3.796 MB / 0.5199 GB, free: 99.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.34, allocations: 11.81 kB / 0.52 GB, free: 99.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006736/1.347, allocations: 0.6658 MB / 0.5206 GB, free: 99.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008684/1.355, allocations: 2.206 MB / 0.5228 GB, free: 98.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/1.356, allocations: 128.6 kB / 0.5229 GB, free: 98.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/1.358, allocations: 219.4 kB / 0.5231 GB, free: 98.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01387/1.372, allocations: 5.461 MB / 0.5284 GB, free: 96.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/1.393, allocations: 7.12 MB / 0.5354 GB, free: 91.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/1.393, allocations: 19.81 kB / 0.5354 GB, free: 91.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.395, allocations: 12 kB / 0.5354 GB, free: 91.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/1.398, allocations: 0.8381 MB / 0.5362 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05778/1.455, allocations: 27.68 MB / 0.5633 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/1.459, allocations: 1.365 MB / 0.5646 GB, free: 60.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/1.461, allocations: 1.005 MB / 0.5656 GB, free: 59.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/1.476, allocations: 7.339 MB / 0.5727 GB, free: 52.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/1.476, allocations: 43.12 kB / 0.5728 GB, free: 52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 4.609e-06/1.476, allocations: 0 / 0.5728 GB, free: 52 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.02441/1.501, allocations: 6.148 MB / 0.5788 GB, free: 45.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.501, allocations: 137.3 kB / 0.5789 GB, free: 45.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/1.506, allocations: 1.969 MB / 0.5808 GB, free: 43.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/1.506, allocations: 29.8 kB / 0.5809 GB, free: 43.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.508, allocations: 2.506 MB / 0.5833 GB, free: 41.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/1.509, allocations: 351.7 kB / 0.5836 GB, free: 40.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/1.509, allocations: 0 / 0.5836 GB, free: 40.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002871/1.509, allocations: 470.6 kB / 0.5841 GB, free: 40.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.512, allocations: 0.9724 MB / 0.585 GB, free: 39.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/1.516, allocations: 3.431 MB / 0.5884 GB, free: 34.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/1.522, allocations: 1.924 MB / 0.5903 GB, free: 32.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.312e-05/1.522, allocations: 28 kB / 0.5903 GB, free: 32.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01256/1.535, allocations: 4.006 MB / 0.5942 GB, free: 28.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/1.535, allocations: 47.95 kB / 0.5943 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/1.535, allocations: 91.98 kB / 0.5943 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/1.535, allocations: 128 kB / 0.5945 GB, free: 28.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/1.541, allocations: 0.9669 MB / 0.5954 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/1.542, allocations: 175.3 kB / 0.5956 GB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/1.546, allocations: 131.8 kB / 0.5957 GB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008558/1.547, allocations: 244 kB / 0.5959 GB, free: 26.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * 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 (513): * Single equations (assignments): 513 * 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.0009673/1.548, allocations: 336 kB / 0.5963 GB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002444/1.55, allocations: 1.06 MB / 0.5973 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/1.551, allocations: 209.3 kB / 0.5975 GB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/1.553, allocations: 1.115 MB / 0.5986 GB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.553, allocations: 8 kB / 0.5986 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.553, allocations: 4 kB / 0.5986 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.554, allocations: 3.984 kB / 0.5986 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.565, allocations: 4.624 MB / 0.6031 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.565, allocations: 16 kB / 0.6031 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.566, allocations: 223.6 kB / 0.6033 GB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-05/1.566, allocations: 24 kB / 0.6034 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/1.566, allocations: 20 kB / 0.6034 GB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/1.566, allocations: 35.86 kB / 0.6034 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/1.566, allocations: 23.94 kB / 0.6034 GB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/1.569, allocations: 2.96 MB / 0.6063 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007862/1.57, allocations: 294.3 kB / 0.6066 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006429/1.571, allocations: 23.98 kB / 0.6066 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.572, allocations: 27.97 kB / 0.6067 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.573, allocations: 131.9 kB / 0.6068 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/1.573, allocations: 52 kB / 0.6068 GB, free: 14.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003026/1.576, allocations: 1.285 MB / 0.6081 GB, free: 13.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.576, allocations: 4 kB / 0.6081 GB, free: 13.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005168/1.581, allocations: 0.582 MB / 0.6087 GB, free: 12.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.004379/1.586, allocations: 8.06 MB / 0.6165 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/1.591, allocations: 2.234 MB / 0.6187 GB, free: 1.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/1.591, allocations: 8 kB / 0.6187 GB, free: 1.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.592, allocations: 0.5011 MB / 0.6192 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.594, allocations: 214.2 kB / 0.6194 GB, free: 1.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.616, allocations: 6.343 MB / 0.6256 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006791/1.623, allocations: 2.803 MB / 0.6283 GB, free: 7.719 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005748/1.629, allocations: 1.016 MB / 0.6293 GB, free: 6.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/1.633, allocations: 1.456 MB / 0.6308 GB, free: 5.238 MB / 442.7 MB Notification: Performance of SimCode: time 3.877e-06/1.633, allocations: 0 / 0.6308 GB, free: 5.238 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5251/2.158, allocations: 44.42 MB / 0.6741 GB, free: 126 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/2.158, allocations: 130.2 kB / 0.6743 GB, free: 125.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/6.173, allocations: 0 / 0.6743 GB, free: 125.9 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