Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.589e-05/8.611e-05, allocations: 4 kB / 273.1 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1495, allocations: 48.71 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.6131, allocations: 85.5 MB / 407.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6135, allocations: 71.97 kB / 407.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1536/0.7671, allocations: 34.53 MB / 441.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7672, allocations: 0 / 441.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.7673, allocations: 36 kB / 442 MB, free: 1.512 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.008939/0.7763, allocations: 2.194 MB / 444.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.7763, allocations: 8.031 kB / 444.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/0.7779, allocations: 367.7 kB / 444.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.7816, allocations: 380.7 kB / 444.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.7861, allocations: 1.142 MB / 446 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.7863, allocations: 143.9 kB / 446.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009443/0.7873, allocations: 195.9 kB / 446.4 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.8042, allocations: 4.774 MB / 451.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.8044, allocations: 15.88 kB / 451.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004764/0.8049, allocations: 87.95 kB / 451.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/0.8066, allocations: 0.5189 MB / 451.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.8216, allocations: 3.788 MB / 455.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03711/0.8588, allocations: 16.63 MB / 472.2 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007763/0.8666, allocations: 1.266 MB / 473.4 MB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.8683, allocations: 0.6989 MB / 474.1 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009422/0.8778, allocations: 4.066 MB / 478.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.8779, allocations: 46.31 kB / 478.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 4.088e-06/0.8779, allocations: 0 / 478.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01067/0.8886, allocations: 1.467 MB / 479.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.8887, allocations: 106.8 kB / 479.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.8919, allocations: 1.39 MB / 481.2 MB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.8921, allocations: 29.7 kB / 481.2 MB, free: 9.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.8936, allocations: 1.409 MB / 482.7 MB, free: 7.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.894, allocations: 186 kB / 482.8 MB, free: 7.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.8942, allocations: 44 kB / 482.9 MB, free: 7.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.8945, allocations: 403.4 kB / 483.3 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.8959, allocations: 0.4886 MB / 483.8 MB, free: 6.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.8987, allocations: 2.009 MB / 485.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.9012, allocations: 0.9632 MB / 486.7 MB, free: 2.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-05/0.9013, allocations: 20 kB / 486.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006354/0.9077, allocations: 2.334 MB / 489.1 MB, free: 400 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.9078, allocations: 28 kB / 489.1 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.023e-05/0.9079, allocations: 56.09 kB / 489.2 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.908, allocations: 87.98 kB / 489.3 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.9112, allocations: 0.5381 MB / 489.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001302/0.9114, allocations: 107.6 kB / 489.9 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.914, allocations: 324.5 kB / 490.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.9144, allocations: 140 kB / 490.4 MB, free: 15.12 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.000469/0.9149, allocations: 314.7 kB / 490.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.9152, allocations: 134.2 kB / 490.8 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.9156, allocations: 149.4 kB / 490.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.9157, allocations: 11.94 kB / 491 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.9157, allocations: 0 / 491 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.9157, allocations: 3.984 kB / 491 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007946/0.9237, allocations: 3.221 MB / 494.2 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.9237, allocations: 15.95 kB / 494.2 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.9244, allocations: 99.77 kB / 494.3 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-05/0.9245, allocations: 16 kB / 494.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.9245, allocations: 23.94 kB / 494.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-05/0.9246, allocations: 27.92 kB / 494.4 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-05/0.9246, allocations: 16.41 kB / 494.4 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.9266, allocations: 1.565 MB / 495.9 MB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.9273, allocations: 223.2 kB / 496.2 MB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.9275, allocations: 24 kB / 496.2 MB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/0.9284, allocations: 23.98 kB / 496.2 MB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.9286, allocations: 71.69 kB / 496.3 MB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.9287, allocations: 32.03 kB / 496.3 MB, free: 8.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002259/0.9309, allocations: 0.9496 MB / 497.3 MB, free: 7.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.931, allocations: 0 / 497.3 MB, free: 7.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00292/0.9339, allocations: 489.9 kB / 497.7 MB, free: 6.953 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.003539/0.9375, allocations: 5.363 MB / 0.4913 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.9407, allocations: 1.225 MB / 0.4925 GB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.9407, allocations: 0 / 0.4925 GB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2696/1.21, allocations: 220.4 kB / 0.4927 GB, free: 128 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.212, allocations: 167.3 kB / 0.4929 GB, free: 128 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.223, allocations: 3.523 MB / 0.4963 GB, free: 126.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.226, allocations: 1.736 MB / 0.498 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/1.228, allocations: 0.7568 MB / 0.4987 GB, free: 126.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.228, allocations: 1.406 kB / 0.4987 GB, free: 126.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.191/4.419, allocations: 29.63 MB / 0.5277 GB, free: 121.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat