Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.052e-05/5.065e-05, allocations: 8 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4203, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5971, allocations: 92.02 MB / 451.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5976, allocations: 75.95 kB / 452 MB, free: 4.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1663/0.7639, allocations: 34.53 MB / 486.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.764, allocations: 0 / 486.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.7641, allocations: 36 kB / 486.5 MB, free: 2.059 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.009195/0.7733, allocations: 2.194 MB / 488.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.7734, allocations: 8.031 kB / 488.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001593/0.775, allocations: 375.6 kB / 489.1 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.7784, allocations: 376.7 kB / 489.5 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.7829, allocations: 1.135 MB / 490.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.7832, allocations: 147.8 kB / 490.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.7843, allocations: 192 kB / 490.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.8015, allocations: 4.75 MB / 495.7 MB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.649e-05/0.8016, allocations: 15.88 kB / 495.7 MB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.8021, allocations: 87.89 kB / 495.8 MB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/0.8038, allocations: 0.5189 MB / 496.3 MB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.8185, allocations: 3.731 MB / 0.4883 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03704/0.8556, allocations: 16.63 MB / 0.5045 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/0.8636, allocations: 1.266 MB / 0.5058 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.8654, allocations: 0.6911 MB / 0.5065 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009698/0.8751, allocations: 4.074 MB / 0.5104 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.8752, allocations: 38.56 kB / 0.5105 GB, free: 12.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.957e-06/0.8752, allocations: 0 / 0.5105 GB, free: 12.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.01075/0.886, allocations: 1.463 MB / 0.5119 GB, free: 11.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.8861, allocations: 110.8 kB / 0.512 GB, free: 11.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.8897, allocations: 1.383 MB / 0.5134 GB, free: 9.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.8898, allocations: 41.69 kB / 0.5134 GB, free: 9.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.8914, allocations: 1.405 MB / 0.5148 GB, free: 8.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.8917, allocations: 178 kB / 0.5149 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.8919, allocations: 48 kB / 0.515 GB, free: 8.027 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.8922, allocations: 411.4 kB / 0.5154 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.8936, allocations: 492.4 kB / 0.5158 GB, free: 7.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.8965, allocations: 1.993 MB / 0.5178 GB, free: 4.371 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.8991, allocations: 0.9594 MB / 0.5187 GB, free: 3.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.042e-05/0.8992, allocations: 16 kB / 0.5187 GB, free: 3.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.008467/0.9077, allocations: 2.19 MB / 0.5209 GB, free: 1.199 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.9078, allocations: 29.72 kB / 0.5209 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.908, allocations: 56 kB / 0.521 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.9081, allocations: 83.94 kB / 0.521 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/0.9125, allocations: 0.5341 MB / 0.5216 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/0.9127, allocations: 111.6 kB / 0.5217 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/0.9169, allocations: 332.9 kB / 0.522 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3249/1.242, allocations: 143.9 kB / 0.5221 GB, free: 126.6 MB / 458.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.0006856/1.243, allocations: 298.3 kB / 0.5224 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.243, allocations: 132 kB / 0.5225 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/1.243, allocations: 152.5 kB / 0.5227 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.244, allocations: 4.281 kB / 0.5227 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.244, allocations: 2.531 kB / 0.5227 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/1.244, allocations: 2.25 kB / 0.5227 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/1.252, allocations: 3.196 MB / 0.5258 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.252, allocations: 12.83 kB / 0.5258 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/1.253, allocations: 96.44 kB / 0.5259 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.912e-05/1.253, allocations: 18.7 kB / 0.5259 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/1.253, allocations: 22.34 kB / 0.526 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.649e-05/1.253, allocations: 26.44 kB / 0.526 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/1.253, allocations: 17.06 kB / 0.526 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.255, allocations: 1.564 MB / 0.5275 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/1.255, allocations: 229.4 kB / 0.5277 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.255, allocations: 25.91 kB / 0.5278 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/1.256, allocations: 24.17 kB / 0.5278 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.256, allocations: 67.56 kB / 0.5279 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/1.256, allocations: 28.17 kB / 0.5279 GB, free: 124 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002606/1.259, allocations: 0.947 MB / 0.5288 GB, free: 123.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.193e-06/1.259, allocations: 1.125 kB / 0.5288 GB, free: 123.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003226/1.262, allocations: 487 kB / 0.5293 GB, free: 123.8 MB / 458.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.002643/1.265, allocations: 5.363 MB / 0.5345 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003105/1.268, allocations: 1.143 MB / 0.5356 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/1.268, allocations: 2.75 kB / 0.5356 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/1.269, allocations: 215.9 kB / 0.5358 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.27, allocations: 167.8 kB / 0.536 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.282, allocations: 3.511 MB / 0.5394 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003408/1.286, allocations: 1.734 MB / 0.5411 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.287, allocations: 0.757 MB / 0.5419 GB, free: 116.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/1.287, allocations: 0 / 0.5419 GB, free: 116.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.137/4.425, allocations: 29.35 MB / 0.5705 GB, free: 111.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat