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 2.114/2.114, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.953e-05, allocations: 4 kB / 267.6 MB, free: 4.969 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4307/0.5362, allocations: 85.06 MB / 401.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.5366, allocations: 73.89 kB / 401.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1466/0.6832, allocations: 33.85 MB / 435.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6833, allocations: 0 / 435.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.6834, allocations: 40 kB / 435.4 MB, free: 9.004 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.008999/0.6924, allocations: 2.186 MB / 437.5 MB, free: 6.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.6925, allocations: 8.031 kB / 437.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.6961, allocations: 392.7 kB / 437.9 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.7006, allocations: 1.137 MB / 439.1 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7008, allocations: 64 kB / 439.1 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.7018, allocations: 108 kB / 439.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007974/0.7098, allocations: 2.746 MB / 442 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.721, allocations: 3.765 MB / 445.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.7212, allocations: 11.88 kB / 445.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.7216, allocations: 8 kB / 445.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.7234, allocations: 0.5111 MB / 446.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.7591, allocations: 15.52 MB / 461.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.7613, allocations: 0.841 MB / 462.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.7627, allocations: 0.6636 MB / 463.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008104/0.7708, allocations: 3.493 MB / 466.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.7709, allocations: 42.5 kB / 466.8 MB, free: 8.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 4.668e-06/0.771, allocations: 4 kB / 466.8 MB, free: 8.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.006292/0.7773, allocations: 1.054 MB / 467.9 MB, free: 7.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.7774, allocations: 110.8 kB / 468 MB, free: 7.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.7802, allocations: 1.266 MB / 469.3 MB, free: 6.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.7803, allocations: 25.7 kB / 469.3 MB, free: 6.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.7819, allocations: 1.471 MB / 470.8 MB, free: 4.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.7821, allocations: 138.6 kB / 470.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.7823, allocations: 0 / 470.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003473/0.7826, allocations: 443.6 kB / 471.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.7838, allocations: 472.7 kB / 471.8 MB, free: 3.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.7864, allocations: 2.061 MB / 473.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.7888, allocations: 0.9399 MB / 474.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-05/0.7889, allocations: 16 kB / 474.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006708/0.7956, allocations: 2.135 MB / 476.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.7958, allocations: 28 kB / 477 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.7959, allocations: 60 kB / 477 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.796, allocations: 84 kB / 477.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.7996, allocations: 0.5692 MB / 477.7 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001448/0.7998, allocations: 111.6 kB / 477.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.8025, allocations: 288.5 kB / 478.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.803, allocations: 148 kB / 478.2 MB, free: 12.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * 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 (307): * Single equations (assignments): 307 * 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.0004659/0.8035, allocations: 266.7 kB / 478.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009631/0.8045, allocations: 371.8 kB / 478.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.8047, allocations: 118.5 kB / 479 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.8052, allocations: 135.5 kB / 479.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8052, allocations: 4 kB / 479.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8052, allocations: 64 / 479.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.8053, allocations: 11.94 kB / 479.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/0.8113, allocations: 2.512 MB / 481.6 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.8114, allocations: 12 kB / 481.6 MB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.8119, allocations: 75.83 kB / 481.7 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/0.812, allocations: 12.81 kB / 481.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.812, allocations: 15.95 kB / 481.7 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.8121, allocations: 19.94 kB / 481.8 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/0.8121, allocations: 11.94 kB / 481.8 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.8138, allocations: 1.194 MB / 483 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.8143, allocations: 203.4 kB / 483.2 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.8145, allocations: 19.94 kB / 483.2 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.8153, allocations: 15.98 kB / 483.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.8154, allocations: 55.75 kB / 483.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.8155, allocations: 19.98 kB / 483.3 MB, free: 6.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001816/0.8173, allocations: 0.8276 MB / 484.1 MB, free: 5.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8173, allocations: 0 / 484.1 MB, free: 5.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003058/0.8204, allocations: 453.7 kB / 484.5 MB, free: 5.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.002912/0.8233, allocations: 4.139 MB / 488.7 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003061/0.8265, allocations: 1.126 MB / 489.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.8265, allocations: 0.5625 kB / 489.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.827, allocations: 179.5 kB / 490 MB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.828, allocations: 122.9 kB / 490.1 MB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.8393, allocations: 3.136 MB / 493.2 MB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/0.8419, allocations: 1.721 MB / 495 MB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003244/0.8452, allocations: 0.6169 MB / 495.6 MB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/0.847, allocations: 0.7414 MB / 496.3 MB, free: 9.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.847, allocations: 0 / 496.3 MB, free: 9.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4203/1.267, allocations: 22.9 MB / 0.507 GB, free: 126.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.268, allocations: 124.8 kB / 0.5072 GB, free: 126.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.458, allocations: 5.281 kB / 0.5072 GB, free: 126.1 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