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.035/2.035, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.578e-05/4.585e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5578, allocations: 93.55 MB / 415.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5581, allocations: 75.95 kB / 415.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3281/0.8863, allocations: 74.49 MB / 490 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8863, allocations: 0 / 490 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000211/0.8866, allocations: 76 kB / 490 MB, free: 0.8867 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.01444/0.901, allocations: 3.582 MB / 493.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.9011, allocations: 12.03 kB / 493.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002847/0.9039, allocations: 0.6553 MB / 494.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/0.91, allocations: 0.6777 MB / 495 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008404/0.9185, allocations: 2.181 MB / 497.2 MB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.919, allocations: 299.8 kB / 497.4 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.921, allocations: 387.8 kB / 497.8 MB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03125/0.9523, allocations: 8.474 MB / 0.4944 GB, free: 128 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.9525, allocations: 11.88 kB / 0.4944 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2939/1.246, allocations: 167 kB / 0.4946 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/1.249, allocations: 0.7827 MB / 0.4954 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/1.275, allocations: 6.633 MB / 0.5018 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05714/1.332, allocations: 27.73 MB / 0.5289 GB, free: 93.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.342, allocations: 1.921 MB / 0.5308 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.344, allocations: 0.8113 MB / 0.5316 GB, free: 92.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01324/1.357, allocations: 6.347 MB / 0.5378 GB, free: 87.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.358, allocations: 38.69 kB / 0.5378 GB, free: 87.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.278e-06/1.358, allocations: 7.438 kB / 0.5378 GB, free: 87.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02636/1.384, allocations: 5.82 MB / 0.5435 GB, free: 85.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/1.384, allocations: 144 kB / 0.5437 GB, free: 85.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/1.389, allocations: 2.17 MB / 0.5458 GB, free: 84.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.389, allocations: 45.67 kB / 0.5458 GB, free: 84.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.391, allocations: 2.391 MB / 0.5482 GB, free: 82.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/1.391, allocations: 388 kB / 0.5485 GB, free: 82.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.392, allocations: 75.44 kB / 0.5486 GB, free: 82.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/1.392, allocations: 466.5 kB / 0.549 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.394, allocations: 0.9068 MB / 0.5499 GB, free: 81.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/1.398, allocations: 3.197 MB / 0.5531 GB, free: 78.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/1.402, allocations: 1.675 MB / 0.5547 GB, free: 77.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.463e-05/1.402, allocations: 25.41 kB / 0.5547 GB, free: 77.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01016/1.412, allocations: 3.998 MB / 0.5586 GB, free: 76.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.278e-05/1.412, allocations: 41.34 kB / 0.5587 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.412, allocations: 83.28 kB / 0.5587 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/1.413, allocations: 122.4 kB / 0.5589 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/1.418, allocations: 0.8949 MB / 0.5597 GB, free: 76.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001741/1.418, allocations: 157.5 kB / 0.5599 GB, free: 76.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003791/1.422, allocations: 171.7 kB / 0.56 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000753/1.423, allocations: 225.5 kB / 0.5603 GB, free: 75.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (480): * Single equations (assignments): 480 * 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.0007239/1.423, allocations: 412.9 kB / 0.5606 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/1.424, allocations: 218.8 kB / 0.5609 GB, free: 75.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/1.427, allocations: 1.104 MB / 0.5619 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.427, allocations: 14.34 kB / 0.5619 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.427, allocations: 0 / 0.5619 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.427, allocations: 5.984 kB / 0.562 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.441, allocations: 6.137 MB / 0.5679 GB, free: 72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.441, allocations: 23.91 kB / 0.568 GB, free: 71.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.443, allocations: 240.5 kB / 0.5682 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-05/1.443, allocations: 31.92 kB / 0.5682 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.443, allocations: 46.06 kB / 0.5683 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.664e-05/1.443, allocations: 45.47 kB / 0.5683 GB, free: 71.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-05/1.443, allocations: 37.81 kB / 0.5684 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/1.447, allocations: 3.748 MB / 0.572 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008494/1.448, allocations: 320.5 kB / 0.5723 GB, free: 68.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/1.448, allocations: 53.03 kB / 0.5724 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.45, allocations: 49.58 kB / 0.5724 GB, free: 67.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/1.45, allocations: 139.4 kB / 0.5726 GB, free: 67.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.45, allocations: 62.75 kB / 0.5726 GB, free: 67.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003763/1.454, allocations: 1.572 MB / 0.5741 GB, free: 67.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.454, allocations: 4 kB / 0.5742 GB, free: 67.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004707/1.459, allocations: 0.6544 MB / 0.5748 GB, free: 67.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.004938/1.464, allocations: 9.602 MB / 0.5842 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006432/1.47, allocations: 2.265 MB / 0.5864 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.469e-05/1.47, allocations: 4 kB / 0.5864 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/1.473, allocations: 0.5607 MB / 0.5869 GB, free: 55.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/1.477, allocations: 312.2 kB / 0.5872 GB, free: 55.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/1.508, allocations: 6.627 MB / 0.5937 GB, free: 49.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008659/1.516, allocations: 2.81 MB / 0.5964 GB, free: 47.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007471/1.524, allocations: 1.005 MB / 0.5974 GB, free: 46.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004506/1.528, allocations: 1.46 MB / 0.5988 GB, free: 45.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.264e-06/1.529, allocations: 0 / 0.5988 GB, free: 45.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/1.676, allocations: 48.37 MB / 0.6461 GB, free: 1.539 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.676, allocations: 147.9 kB / 0.6462 GB, free: 1.312 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.737/6.413, allocations: 0 / 0.6462 GB, free: 1.312 MB / 426.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