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 2.018/2.018, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.98e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5425, allocations: 85.5 MB / 407.4 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5429, allocations: 70.61 kB / 407.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/0.6922, allocations: 34.53 MB / 442 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6922, allocations: 0 / 442 MB, free: 1.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.6924, allocations: 43.98 kB / 442 MB, free: 1.465 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.008695/0.7011, allocations: 2.198 MB / 444.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.7011, allocations: 8.031 kB / 444.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/0.7024, allocations: 367.7 kB / 444.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.7057, allocations: 380.7 kB / 444.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.7101, allocations: 1.139 MB / 446.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.7104, allocations: 147.8 kB / 446.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009383/0.7113, allocations: 188 kB / 446.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.7286, allocations: 4.754 MB / 451.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/0.7287, allocations: 11.88 kB / 451.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.7292, allocations: 95.94 kB / 451.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/0.7309, allocations: 0.515 MB / 451.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.7454, allocations: 3.723 MB / 455.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.7809, allocations: 16.62 MB / 472.1 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/0.7886, allocations: 1.269 MB / 473.4 MB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.7903, allocations: 0.6911 MB / 474.1 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009442/0.7998, allocations: 4.078 MB / 478.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.7999, allocations: 42.31 kB / 478.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.837e-06/0.7999, allocations: 0 / 478.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01065/0.8106, allocations: 1.463 MB / 479.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.8107, allocations: 106.8 kB / 479.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.8142, allocations: 1.386 MB / 481.2 MB, free: 9.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.8143, allocations: 29.7 kB / 481.2 MB, free: 9.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.8159, allocations: 1.413 MB / 482.6 MB, free: 7.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.8162, allocations: 182 kB / 482.8 MB, free: 7.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.8164, allocations: 48 kB / 482.8 MB, free: 7.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.8167, allocations: 407.3 kB / 483.2 MB, free: 7.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.818, allocations: 496.4 kB / 483.7 MB, free: 6.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.8208, allocations: 1.997 MB / 485.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.8234, allocations: 0.9594 MB / 486.7 MB, free: 2.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-05/0.8235, allocations: 16 kB / 486.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006832/0.8303, allocations: 2.19 MB / 488.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.8305, allocations: 31.94 kB / 488.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.514e-05/0.8305, allocations: 56 kB / 489 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.8307, allocations: 80 kB / 489 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.834, allocations: 0.5347 MB / 489.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/0.8342, allocations: 111.6 kB / 489.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.8369, allocations: 328.6 kB / 490 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.8373, allocations: 144 kB / 490.1 MB, free: 15.33 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.0005061/0.8378, allocations: 302.7 kB / 490.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.8382, allocations: 134.2 kB / 490.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.8387, allocations: 157.4 kB / 490.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.8387, allocations: 8 kB / 490.7 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.8387, allocations: 3.984 kB / 490.7 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.8388, allocations: 3.938 kB / 490.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/0.8468, allocations: 3.191 MB / 493.9 MB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.8469, allocations: 15.95 kB / 493.9 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.8476, allocations: 95.83 kB / 494 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/0.8476, allocations: 16 kB / 494.1 MB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.8477, allocations: 24 kB / 494.1 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.513e-05/0.8477, allocations: 19.94 kB / 494.1 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.8477, allocations: 19.88 kB / 494.1 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.8498, allocations: 1.558 MB / 495.7 MB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.8503, allocations: 223.3 kB / 495.9 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.8506, allocations: 27.98 kB / 495.9 MB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.8514, allocations: 27.98 kB / 495.9 MB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8515, allocations: 71.62 kB / 496 MB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.8516, allocations: 28 kB / 496 MB, free: 8.641 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002234/0.8539, allocations: 0.9418 MB / 497 MB, free: 7.699 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.8539, allocations: 0 / 497 MB, free: 7.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002932/0.8568, allocations: 493.9 kB / 497.5 MB, free: 7.215 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.003713/0.8606, allocations: 5.367 MB / 0.491 GB, free: 1.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.8639, allocations: 1.14 MB / 0.4922 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/0.864, allocations: 0 / 0.4922 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.8646, allocations: 213.2 kB / 0.4924 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2801/1.145, allocations: 177.4 kB / 0.4925 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.157, allocations: 3.505 MB / 0.496 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/1.161, allocations: 1.731 MB / 0.4976 GB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.162, allocations: 0.7538 MB / 0.4984 GB, free: 125.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.162, allocations: 5.344 kB / 0.4984 GB, free: 125.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.997/4.159, allocations: 29.34 MB / 0.527 GB, free: 121 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