Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.112/2.112, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.559e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.5629, allocations: 93.12 MB / 409.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5632, allocations: 72.22 kB / 409.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2981/0.8613, allocations: 72.71 MB / 482.2 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.8614, allocations: 3.938 kB / 482.2 MB, free: 9.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.8616, allocations: 72 kB / 482.3 MB, free: 9.711 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0151/0.8767, allocations: 3.577 MB / 485.9 MB, free: 6.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.8768, allocations: 12.03 kB / 485.9 MB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.8831, allocations: 0.6699 MB / 486.6 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008372/0.8915, allocations: 2.189 MB / 488.7 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.8919, allocations: 124 kB / 488.9 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/0.8937, allocations: 227.9 kB / 489.1 MB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2924/1.186, allocations: 5.224 MB / 494.3 MB, free: 94.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/1.208, allocations: 6.881 MB / 0.4894 GB, free: 93.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/1.208, allocations: 15.81 kB / 0.4895 GB, free: 93.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/1.209, allocations: 11.5 kB / 0.4895 GB, free: 93.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/1.212, allocations: 0.7943 MB / 0.4903 GB, free: 93.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0563/1.269, allocations: 25.96 MB / 0.5156 GB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/1.271, allocations: 1.109 MB / 0.5167 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/1.273, allocations: 0.7365 MB / 0.5174 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/1.284, allocations: 5.926 MB / 0.5232 GB, free: 77.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.284, allocations: 38.47 kB / 0.5232 GB, free: 77.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.908e-06/1.284, allocations: 0 / 0.5232 GB, free: 77.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.01597/1.3, allocations: 4.659 MB / 0.5278 GB, free: 75.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.3, allocations: 136.8 kB / 0.5279 GB, free: 75.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/1.304, allocations: 1.921 MB / 0.5298 GB, free: 74.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/1.304, allocations: 27.3 kB / 0.5298 GB, free: 74.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.307, allocations: 2.47 MB / 0.5322 GB, free: 72.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/1.307, allocations: 319.8 kB / 0.5325 GB, free: 72.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/1.308, allocations: 0 / 0.5325 GB, free: 72.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/1.308, allocations: 464.4 kB / 0.533 GB, free: 71.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/1.31, allocations: 0.8319 MB / 0.5338 GB, free: 71.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.314, allocations: 3.201 MB / 0.5369 GB, free: 68.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/1.317, allocations: 1.597 MB / 0.5385 GB, free: 67.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.161e-05/1.318, allocations: 26.34 kB / 0.5385 GB, free: 67.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.008703/1.326, allocations: 3.497 MB / 0.5419 GB, free: 66.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/1.326, allocations: 39.25 kB / 0.5419 GB, free: 66.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/1.327, allocations: 87.19 kB / 0.542 GB, free: 66.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/1.327, allocations: 125 kB / 0.5421 GB, free: 66.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.332, allocations: 0.9081 MB / 0.543 GB, free: 66.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/1.332, allocations: 170.8 kB / 0.5432 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/1.335, allocations: 93.88 kB / 0.5433 GB, free: 66.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005038/1.336, allocations: 228.4 kB / 0.5435 GB, free: 66.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (488): * Single equations (assignments): 488 * 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.0005999/1.337, allocations: 332.2 kB / 0.5438 GB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00175/1.338, allocations: 0.8303 MB / 0.5446 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/1.339, allocations: 193.6 kB / 0.5448 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/1.341, allocations: 0.9088 MB / 0.5457 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.341, allocations: 7.406 kB / 0.5457 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.341, allocations: 0 / 0.5457 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.341, allocations: 10.69 kB / 0.5457 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008756/1.349, allocations: 4.277 MB / 0.5499 GB, free: 62.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.35, allocations: 16.31 kB / 0.5499 GB, free: 62.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.351, allocations: 206.5 kB / 0.5501 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-05/1.351, allocations: 24.91 kB / 0.5501 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/1.351, allocations: 20.66 kB / 0.5502 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.739e-05/1.351, allocations: 41.5 kB / 0.5502 GB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-05/1.351, allocations: 26 kB / 0.5502 GB, free: 62.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/1.354, allocations: 2.854 MB / 0.553 GB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/1.354, allocations: 285 kB / 0.5533 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/1.355, allocations: 29.67 kB / 0.5533 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.356, allocations: 32.12 kB / 0.5533 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.356, allocations: 120.1 kB / 0.5534 GB, free: 59.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/1.356, allocations: 50.75 kB / 0.5535 GB, free: 59.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002438/1.359, allocations: 1.259 MB / 0.5547 GB, free: 58.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.359, allocations: 0 / 0.5547 GB, free: 58.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004666/1.363, allocations: 0.5461 MB / 0.5553 GB, free: 58.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.003854/1.367, allocations: 8.028 MB / 0.5631 GB, free: 50.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004719/1.372, allocations: 1.979 MB / 0.565 GB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/1.372, allocations: 3.562 kB / 0.565 GB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009507/1.373, allocations: 441.8 kB / 0.5655 GB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.375, allocations: 228.2 kB / 0.5657 GB, free: 50 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.395, allocations: 6.22 MB / 0.5717 GB, free: 45.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.4, allocations: 2.787 MB / 0.5745 GB, free: 43.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004842/1.405, allocations: 0.9694 MB / 0.5754 GB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003258/1.408, allocations: 1.44 MB / 0.5768 GB, free: 41.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/1.408, allocations: 0 / 0.5768 GB, free: 41.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.539, allocations: 42.37 MB / 0.6182 GB, free: 4.352 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.539, allocations: 123.6 kB / 0.6183 GB, free: 4.164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/5.395, allocations: 0 / 0.6183 GB, free: 4.164 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat