Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.125e-05/6.135e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5512, allocations: 54.85 MB / 359.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.7669, allocations: 100.1 MB / 460 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000428/0.7674, allocations: 79.94 kB / 460 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4047/1.172, allocations: 74.49 MB / 0.522 GB, free: 1.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.172, allocations: 0 / 0.522 GB, free: 1.625 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003218/1.173, allocations: 76 kB / 0.5221 GB, free: 1.551 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.3755/1.548, allocations: 3.577 MB / 0.5256 GB, free: 108.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/1.548, allocations: 8.438 kB / 0.5256 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004394/1.553, allocations: 0.6609 MB / 0.5262 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009282/1.562, allocations: 0.6617 MB / 0.5269 GB, free: 108.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/1.575, allocations: 2.188 MB / 0.529 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007749/1.576, allocations: 297 kB / 0.5293 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/1.579, allocations: 386.8 kB / 0.5296 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04794/1.627, allocations: 8.413 MB / 0.5379 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/1.627, allocations: 17 kB / 0.5379 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002406/1.63, allocations: 172.9 kB / 0.538 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00432/1.634, allocations: 0.7923 MB / 0.5388 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/1.671, allocations: 6.54 MB / 0.5452 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07173/1.742, allocations: 27.72 MB / 0.5723 GB, free: 90.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.753, allocations: 1.904 MB / 0.5741 GB, free: 89.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/1.755, allocations: 0.8104 MB / 0.5749 GB, free: 89.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/1.768, allocations: 6.353 MB / 0.5811 GB, free: 84.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.768, allocations: 41.88 kB / 0.5812 GB, free: 84.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 4.058e-06/1.768, allocations: 7.719 kB / 0.5812 GB, free: 84.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.0298/1.798, allocations: 5.817 MB / 0.5869 GB, free: 82.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/1.798, allocations: 140.3 kB / 0.587 GB, free: 82.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/1.803, allocations: 2.172 MB / 0.5891 GB, free: 81.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/1.804, allocations: 41.45 kB / 0.5892 GB, free: 81.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.806, allocations: 2.398 MB / 0.5915 GB, free: 79.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/1.806, allocations: 388 kB / 0.5919 GB, free: 79.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.807, allocations: 75.22 kB / 0.5919 GB, free: 79.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/1.807, allocations: 458.3 kB / 0.5924 GB, free: 78.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/1.809, allocations: 0.9097 MB / 0.5933 GB, free: 78.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/1.813, allocations: 3.178 MB / 0.5964 GB, free: 74.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/1.817, allocations: 1.669 MB / 0.598 GB, free: 74.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.817, allocations: 22.06 kB / 0.598 GB, free: 74.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01009/1.827, allocations: 3.778 MB / 0.6017 GB, free: 72.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/1.827, allocations: 43.95 kB / 0.6017 GB, free: 72.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.828, allocations: 81.25 kB / 0.6018 GB, free: 72.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/1.828, allocations: 122.9 kB / 0.6019 GB, free: 72.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/1.835, allocations: 0.8929 MB / 0.6028 GB, free: 72.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002672/1.835, allocations: 161.3 kB / 0.603 GB, free: 72.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/1.841, allocations: 170.5 kB / 0.6031 GB, free: 72.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.842, allocations: 225.8 kB / 0.6033 GB, free: 72.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (480): * Single equations (assignments): 480 * 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.001698/1.844, allocations: 407.3 kB / 0.6037 GB, free: 72.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008503/1.845, allocations: 223 kB / 0.6039 GB, free: 72.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/1.849, allocations: 1.101 MB / 0.605 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.849, allocations: 8 kB / 0.605 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.849, allocations: 8.516 kB / 0.605 GB, free: 71.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/1.849, allocations: 4.078 kB / 0.605 GB, free: 71.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.87, allocations: 6.085 MB / 0.611 GB, free: 65.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/1.871, allocations: 23.31 kB / 0.611 GB, free: 65.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.872, allocations: 242.6 kB / 0.6112 GB, free: 65.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.395e-05/1.873, allocations: 28 kB / 0.6113 GB, free: 65.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/1.873, allocations: 52 kB / 0.6113 GB, free: 65.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.374e-05/1.873, allocations: 41.53 kB / 0.6114 GB, free: 65.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-05/1.873, allocations: 31.88 kB / 0.6114 GB, free: 65.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/1.877, allocations: 3.745 MB / 0.615 GB, free: 61.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.878, allocations: 332.9 kB / 0.6154 GB, free: 60.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.878, allocations: 55.83 kB / 0.6154 GB, free: 60.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.88, allocations: 47.94 kB / 0.6155 GB, free: 60.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.88, allocations: 139.5 kB / 0.6156 GB, free: 60.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.88, allocations: 63.61 kB / 0.6157 GB, free: 60.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003945/1.884, allocations: 1.575 MB / 0.6172 GB, free: 59.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.302e-06/1.884, allocations: 0 / 0.6172 GB, free: 59.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005064/1.889, allocations: 0.6478 MB / 0.6178 GB, free: 58.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.005297/1.895, allocations: 9.611 MB / 0.6272 GB, free: 48.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/1.9, allocations: 2.126 MB / 0.6293 GB, free: 46.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/1.9, allocations: 4 kB / 0.6293 GB, free: 46.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.901, allocations: 0.5335 MB / 0.6298 GB, free: 46.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.903, allocations: 303.3 kB / 0.6301 GB, free: 45.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/1.924, allocations: 6.61 MB / 0.6366 GB, free: 39.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007217/1.931, allocations: 2.806 MB / 0.6393 GB, free: 37.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006857/1.938, allocations: 1.015 MB / 0.6403 GB, free: 36.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004549/1.943, allocations: 1.463 MB / 0.6417 GB, free: 35.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.943, allocations: 0 / 0.6417 GB, free: 35.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/2.082, allocations: 48.03 MB / 0.6886 GB, free: 5.863 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/2.082, allocations: 150.5 kB / 0.6888 GB, free: 5.633 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.189/6.271, allocations: 0 / 0.6888 GB, free: 5.633 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat