Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.614e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5579, allocations: 93.91 MB / 410.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5583, allocations: 75.02 kB / 410.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3195/0.8778, allocations: 73.93 MB / 484.3 MB, free: 7.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.8778, allocations: 0 / 484.3 MB, free: 7.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002097/0.878, allocations: 71.98 kB / 484.3 MB, free: 7.699 MB / 410.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.01739/0.8954, allocations: 3.796 MB / 488.1 MB, free: 3.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.8955, allocations: 12.03 kB / 488.1 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006516/0.9021, allocations: 0.6815 MB / 488.8 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008716/0.9108, allocations: 2.201 MB / 491 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.9112, allocations: 124 kB / 491.1 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.9131, allocations: 227.9 kB / 491.4 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3574/1.271, allocations: 5.453 MB / 496.8 MB, free: 94.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/1.292, allocations: 7.114 MB / 0.4921 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/1.292, allocations: 17.06 kB / 0.4921 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009271/1.293, allocations: 14.5 kB / 0.4921 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/1.296, allocations: 0.838 MB / 0.493 GB, free: 93.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/1.353, allocations: 27.68 MB / 0.52 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/1.356, allocations: 1.361 MB / 0.5213 GB, free: 79.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.358, allocations: 1.01 MB / 0.5223 GB, free: 79.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/1.371, allocations: 7.324 MB / 0.5295 GB, free: 74.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.371, allocations: 45.06 kB / 0.5295 GB, free: 74.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.348e-06/1.371, allocations: 0 / 0.5295 GB, free: 74.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.0206/1.392, allocations: 6.154 MB / 0.5355 GB, free: 71.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.392, allocations: 144.1 kB / 0.5357 GB, free: 71.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/1.395, allocations: 1.965 MB / 0.5376 GB, free: 70.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.395, allocations: 25.7 kB / 0.5376 GB, free: 70.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.397, allocations: 2.495 MB / 0.54 GB, free: 68.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/1.397, allocations: 360.8 kB / 0.5404 GB, free: 68.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.398, allocations: 3.906 kB / 0.5404 GB, free: 68.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000229/1.398, allocations: 469.5 kB / 0.5408 GB, free: 68.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/1.4, allocations: 0.9733 MB / 0.5418 GB, free: 67.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/1.403, allocations: 3.441 MB / 0.5451 GB, free: 64.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/1.409, allocations: 1.916 MB / 0.547 GB, free: 63.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-05/1.409, allocations: 27.91 kB / 0.547 GB, free: 63.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01108/1.42, allocations: 3.997 MB / 0.5509 GB, free: 62.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/1.42, allocations: 47.47 kB / 0.551 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.11e-05/1.42, allocations: 89.38 kB / 0.5511 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/1.42, allocations: 135.9 kB / 0.5512 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/1.426, allocations: 0.9661 MB / 0.5521 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001479/1.426, allocations: 179.1 kB / 0.5523 GB, free: 62.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/1.43, allocations: 114.8 kB / 0.5524 GB, free: 62.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009013/1.431, allocations: 246 kB / 0.5527 GB, free: 61.99 MB / 410.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.0008221/1.432, allocations: 345.1 kB / 0.553 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002351/1.435, allocations: 1.062 MB / 0.554 GB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/1.435, allocations: 207.2 kB / 0.5542 GB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.438, allocations: 1.114 MB / 0.5553 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.438, allocations: 17.95 kB / 0.5553 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.438, allocations: 0 / 0.5553 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.438, allocations: 10.81 kB / 0.5553 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.449, allocations: 4.609 MB / 0.5598 GB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.449, allocations: 15.94 kB / 0.5599 GB, free: 58.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.45, allocations: 217.7 kB / 0.5601 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-05/1.45, allocations: 29.73 kB / 0.5601 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-05/1.45, allocations: 21.25 kB / 0.5601 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.714e-05/1.45, allocations: 39.05 kB / 0.5601 GB, free: 58.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/1.45, allocations: 28.19 kB / 0.5602 GB, free: 58.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/1.453, allocations: 2.969 MB / 0.5631 GB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/1.454, allocations: 290.8 kB / 0.5634 GB, free: 54.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/1.454, allocations: 22.77 kB / 0.5634 GB, free: 54.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.456, allocations: 29.16 kB / 0.5634 GB, free: 54.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.456, allocations: 124.9 kB / 0.5635 GB, free: 54.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/1.456, allocations: 49.84 kB / 0.5636 GB, free: 54.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002709/1.459, allocations: 1.291 MB / 0.5648 GB, free: 53.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.459, allocations: 0 / 0.5648 GB, free: 53.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004983/1.464, allocations: 0.5805 MB / 0.5654 GB, free: 53.12 MB / 410.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.004136/1.468, allocations: 8.067 MB / 0.5733 GB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00482/1.473, allocations: 2.232 MB / 0.5755 GB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/1.473, allocations: 6.375 kB / 0.5755 GB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.474, allocations: 0.5027 MB / 0.576 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.476, allocations: 211.2 kB / 0.5762 GB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.494, allocations: 6.334 MB / 0.5823 GB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/1.498, allocations: 2.8 MB / 0.5851 GB, free: 34.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004943/1.503, allocations: 1.019 MB / 0.5861 GB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003909/1.507, allocations: 1.45 MB / 0.5875 GB, free: 32.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.794e-06/1.507, allocations: 4 kB / 0.5875 GB, free: 32.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.648, allocations: 44.43 MB / 0.6309 GB, free: 7.832 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/1.649, allocations: 131.6 kB / 0.631 GB, free: 7.637 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.012/5.661, allocations: 0 / 0.631 GB, free: 7.637 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat