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.974/1.974, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.368e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5334/0.6611, allocations: 85.49 MB / 407.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6614, allocations: 75.95 kB / 407.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1481/0.8096, allocations: 34.53 MB / 442 MB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8096, allocations: 0 / 442 MB, free: 1.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.8098, allocations: 40 kB / 442 MB, free: 1.199 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.009052/0.8188, allocations: 2.194 MB / 444.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.8189, allocations: 8.031 kB / 444.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001554/0.8205, allocations: 375.6 kB / 444.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.8242, allocations: 380.7 kB / 444.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.8289, allocations: 1.131 MB / 446.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.8292, allocations: 151.8 kB / 446.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.8302, allocations: 188 kB / 446.4 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.8477, allocations: 4.781 MB / 451.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/0.8479, allocations: 15.88 kB / 451.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.8485, allocations: 91.92 kB / 451.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/0.8503, allocations: 0.5189 MB / 451.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.8662, allocations: 3.784 MB / 455.6 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.9035, allocations: 16.62 MB / 472.2 MB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007678/0.9112, allocations: 1.274 MB / 473.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.9128, allocations: 0.695 MB / 474.2 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00933/0.9222, allocations: 4.074 MB / 478.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.9223, allocations: 46.31 kB / 478.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.9223, allocations: 0 / 478.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01051/0.9328, allocations: 1.463 MB / 479.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.933, allocations: 106.8 kB / 479.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.9361, allocations: 1.39 MB / 481.3 MB, free: 8.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.9362, allocations: 33.7 kB / 481.3 MB, free: 8.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.9377, allocations: 1.387 MB / 482.7 MB, free: 7.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.938, allocations: 186 kB / 482.9 MB, free: 7.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.9382, allocations: 44 kB / 482.9 MB, free: 7.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003659/0.9386, allocations: 451.3 kB / 483.3 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.94, allocations: 0.4887 MB / 483.8 MB, free: 6.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.9427, allocations: 2.005 MB / 485.8 MB, free: 3.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.9452, allocations: 0.9556 MB / 486.8 MB, free: 2.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/0.9453, allocations: 23.95 kB / 486.8 MB, free: 2.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006518/0.9518, allocations: 2.38 MB / 489.2 MB, free: 4 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.9519, allocations: 31.98 kB / 489.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.412e-05/0.952, allocations: 56.09 kB / 489.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.9521, allocations: 84 kB / 489.4 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.9554, allocations: 0.5419 MB / 489.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/0.9555, allocations: 107.6 kB / 490 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.9589, allocations: 328.5 kB / 490.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/0.9593, allocations: 140 kB / 490.5 MB, free: 14.73 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.0004814/0.9598, allocations: 314.8 kB / 490.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.9602, allocations: 138.2 kB / 490.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.9606, allocations: 149.4 kB / 491.1 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.9607, allocations: 8 kB / 491.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.9607, allocations: 0 / 491.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.9607, allocations: 7.922 kB / 491.1 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.9708, allocations: 3.218 MB / 494.3 MB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-05/0.971, allocations: 15.98 kB / 494.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.9719, allocations: 99.73 kB / 494.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-05/0.972, allocations: 16 kB / 494.4 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.9722, allocations: 20 kB / 494.4 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.385e-05/0.9722, allocations: 23.92 kB / 494.5 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-05/0.9723, allocations: 16.41 kB / 494.5 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.9756, allocations: 1.564 MB / 496 MB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/0.9765, allocations: 227.2 kB / 496.3 MB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006371/0.9772, allocations: 27.98 kB / 496.3 MB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9786, allocations: 20 kB / 496.3 MB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.9789, allocations: 71.69 kB / 496.4 MB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.979, allocations: 24 kB / 496.4 MB, free: 8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002491/0.9815, allocations: 0.9573 MB / 497.4 MB, free: 7.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.9815, allocations: 0 / 497.4 MB, free: 7.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002881/0.9844, allocations: 482 kB / 497.8 MB, free: 6.57 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.00371/0.9882, allocations: 5.367 MB / 0.4914 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2666/1.255, allocations: 1.224 MB / 0.4926 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.255, allocations: 2.156 kB / 0.4926 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.256, allocations: 222.9 kB / 0.4928 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.257, allocations: 169.2 kB / 0.493 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.268, allocations: 3.322 MB / 0.4962 GB, free: 126.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003569/1.271, allocations: 1.74 MB / 0.4979 GB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003658/1.275, allocations: 0.603 MB / 0.4985 GB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.277, allocations: 0.7373 MB / 0.4992 GB, free: 125.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/1.277, allocations: 1.188 kB / 0.4992 GB, free: 125.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08499/1.362, allocations: 25.62 MB / 0.5242 GB, free: 123.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/1.362, allocations: 151.4 kB / 0.5244 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/4.994, allocations: 3.875 kB / 0.5244 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