Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.315e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5641, allocations: 85.5 MB / 407.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5644, allocations: 75.95 kB / 407.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1713/0.7358, allocations: 34.53 MB / 442 MB, free: 1.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.7358, allocations: 0 / 442 MB, free: 1.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.299e-05/0.7359, allocations: 40 kB / 442 MB, free: 1.176 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.008339/0.7443, allocations: 2.194 MB / 444.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.867e-05/0.7444, allocations: 8.031 kB / 444.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001546/0.7459, allocations: 371.6 kB / 444.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/0.7502, allocations: 380.7 kB / 445 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/0.7559, allocations: 1.131 MB / 446.1 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.7562, allocations: 147.9 kB / 446.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.7573, allocations: 195.9 kB / 446.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02248/0.7798, allocations: 4.754 MB / 451.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-05/0.7799, allocations: 11.88 kB / 451.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000582/0.7805, allocations: 91.95 kB / 451.3 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002422/0.783, allocations: 0.5189 MB / 451.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/0.8031, allocations: 3.727 MB / 455.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04507/0.8482, allocations: 16.62 MB / 472.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.8606, allocations: 1.262 MB / 473.4 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.8627, allocations: 0.7066 MB / 474.1 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009621/0.8724, allocations: 4.062 MB / 478.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.8725, allocations: 50.23 kB / 478.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/0.8725, allocations: 4 kB / 478.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01053/0.883, allocations: 1.459 MB / 479.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.8832, allocations: 110.8 kB / 479.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.8865, allocations: 1.386 MB / 481.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.8866, allocations: 29.7 kB / 481.2 MB, free: 8.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.8881, allocations: 1.399 MB / 482.6 MB, free: 7.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.8885, allocations: 178 kB / 482.8 MB, free: 7.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.8887, allocations: 48 kB / 482.8 MB, free: 7.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003733/0.889, allocations: 451.3 kB / 483.3 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.8905, allocations: 492.4 kB / 483.8 MB, free: 6.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.8932, allocations: 1.997 MB / 485.8 MB, free: 3.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.8956, allocations: 0.9594 MB / 486.7 MB, free: 2.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.273e-05/0.8957, allocations: 19.95 kB / 486.7 MB, free: 2.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006596/0.9023, allocations: 2.224 MB / 489 MB, free: 252 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.9024, allocations: 28 kB / 489 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.493e-05/0.9025, allocations: 56 kB / 489 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.9027, allocations: 80 kB / 489.1 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.906, allocations: 0.5426 MB / 489.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/0.9061, allocations: 107.6 kB / 489.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.9088, allocations: 332.5 kB / 490.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/0.9092, allocations: 140 kB / 490.2 MB, free: 14.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.0004996/0.9097, allocations: 306.8 kB / 490.5 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.9101, allocations: 134.3 kB / 490.7 MB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.9105, allocations: 157.4 kB / 490.8 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.9106, allocations: 4 kB / 490.8 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9106, allocations: 3.938 kB / 490.8 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.9106, allocations: 0 / 490.8 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007921/0.9185, allocations: 3.195 MB / 494 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.9186, allocations: 12 kB / 494 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.9192, allocations: 103.7 kB / 494.1 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.849e-05/0.9193, allocations: 16 kB / 494.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.9193, allocations: 24 kB / 494.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/0.9194, allocations: 27.92 kB / 494.2 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/0.9194, allocations: 15.94 kB / 494.2 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.9215, allocations: 1.557 MB / 495.8 MB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.922, allocations: 235.1 kB / 496 MB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.9223, allocations: 23.98 kB / 496 MB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.9231, allocations: 27.98 kB / 496.1 MB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.9232, allocations: 67.69 kB / 496.1 MB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.9233, allocations: 28 kB / 496.1 MB, free: 8.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002339/0.9256, allocations: 0.9457 MB / 497.1 MB, free: 7.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.667e-06/0.9257, allocations: 0 / 497.1 MB, free: 7.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00306/0.9287, allocations: 490 kB / 497.6 MB, free: 6.844 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.003648/0.9324, allocations: 5.371 MB / 0.4912 GB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2824/1.215, allocations: 1.132 MB / 0.4923 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/1.215, allocations: 2.969 kB / 0.4923 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/1.216, allocations: 214.2 kB / 0.4925 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.217, allocations: 165.5 kB / 0.4926 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.228, allocations: 3.305 MB / 0.4959 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.231, allocations: 1.738 MB / 0.4975 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0032/1.234, allocations: 0.6058 MB / 0.4981 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.236, allocations: 0.7378 MB / 0.4989 GB, free: 125.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/1.236, allocations: 1 kB / 0.4989 GB, free: 125.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07893/1.315, allocations: 25.46 MB / 0.5237 GB, free: 123.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.315, allocations: 141.6 kB / 0.5239 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/4.919, allocations: 0.7656 kB / 0.5239 GB, free: 122.9 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat