Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.171e-05/5.186e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.6099, allocations: 93.44 MB / 415.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/0.6104, allocations: 71.97 kB / 415.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.279/0.8894, allocations: 56.27 MB / 471.7 MB, free: 3.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8895, allocations: 0 / 471.7 MB, free: 3.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.8897, allocations: 59.98 kB / 471.7 MB, free: 3.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01063/0.9003, allocations: 2.573 MB / 474.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.9004, allocations: 12.03 kB / 474.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002109/0.9025, allocations: 481.1 kB / 474.8 MB, free: 132 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.907, allocations: 491.7 kB / 475.3 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005848/0.9129, allocations: 1.536 MB / 476.8 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.9132, allocations: 217.6 kB / 477 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.9146, allocations: 276 kB / 477.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.9397, allocations: 6.6 MB / 483.9 MB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.9398, allocations: 15.88 kB / 483.9 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006113/0.9404, allocations: 124 kB / 484 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/0.942, allocations: 0.5201 MB / 484.5 MB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.9642, allocations: 5.38 MB / 489.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3313/1.296, allocations: 21.29 MB / 0.4992 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.309, allocations: 1.781 MB / 0.501 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/1.31, allocations: 0.6499 MB / 0.5016 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.321, allocations: 4.9 MB / 0.5064 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.321, allocations: 44.73 kB / 0.5064 GB, free: 100.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 4.748e-06/1.321, allocations: 3.844 kB / 0.5064 GB, free: 100.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.05382/1.375, allocations: 7.476 MB / 0.5137 GB, free: 99.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/1.375, allocations: 88.33 kB / 0.5138 GB, free: 99.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/1.379, allocations: 1.706 MB / 0.5155 GB, free: 99.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/1.38, allocations: 44.2 kB / 0.5155 GB, free: 99.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.381, allocations: 1.666 MB / 0.5171 GB, free: 98.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/1.382, allocations: 415.1 kB / 0.5175 GB, free: 98.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/1.382, allocations: 58.41 kB / 0.5176 GB, free: 98.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/1.382, allocations: 428.5 kB / 0.518 GB, free: 97.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/1.385, allocations: 0.9991 MB / 0.519 GB, free: 97.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/1.389, allocations: 2.574 MB / 0.5215 GB, free: 95.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/1.393, allocations: 1.567 MB / 0.523 GB, free: 95.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.931e-05/1.393, allocations: 23.33 kB / 0.523 GB, free: 95.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.009079/1.402, allocations: 3.43 MB / 0.5264 GB, free: 95.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/1.402, allocations: 28.09 kB / 0.5264 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.895e-05/1.402, allocations: 56.03 kB / 0.5265 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/1.402, allocations: 88.41 kB / 0.5266 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/1.407, allocations: 0.7242 MB / 0.5273 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001278/1.407, allocations: 112.2 kB / 0.5274 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/1.411, allocations: 156.4 kB / 0.5275 GB, free: 95.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/1.412, allocations: 167.1 kB / 0.5277 GB, free: 95.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (371): * Single equations (assignments): 371 * 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.0006719/1.412, allocations: 339.5 kB / 0.528 GB, free: 95.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/1.413, allocations: 180.7 kB / 0.5282 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/1.417, allocations: 1.693 MB / 0.5298 GB, free: 95.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.417, allocations: 11.81 kB / 0.5298 GB, free: 95.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.417, allocations: 0 / 0.5298 GB, free: 95.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.417, allocations: 9.984 kB / 0.5299 GB, free: 95.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/1.431, allocations: 5.853 MB / 0.5356 GB, free: 92.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.431, allocations: 14.17 kB / 0.5356 GB, free: 92.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.433, allocations: 242.8 kB / 0.5358 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-05/1.434, allocations: 26.75 kB / 0.5358 GB, free: 92.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.434, allocations: 36.78 kB / 0.5359 GB, free: 92.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-05/1.434, allocations: 20.75 kB / 0.5359 GB, free: 92.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/1.434, allocations: 20.95 kB / 0.5359 GB, free: 92.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/1.437, allocations: 2.615 MB / 0.5385 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/1.438, allocations: 270 kB / 0.5387 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/1.439, allocations: 40.22 kB / 0.5388 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.44, allocations: 59.77 kB / 0.5388 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.441, allocations: 103.7 kB / 0.5389 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.441, allocations: 36.56 kB / 0.539 GB, free: 89.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002808/1.444, allocations: 1.239 MB / 0.5402 GB, free: 89.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.444, allocations: 3.562 kB / 0.5402 GB, free: 89.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004094/1.448, allocations: 0.5398 MB / 0.5407 GB, free: 89.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.004566/1.452, allocations: 6.513 MB / 0.5471 GB, free: 83.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004954/1.457, allocations: 2.124 MB / 0.5491 GB, free: 82.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/1.457, allocations: 3.312 kB / 0.5491 GB, free: 82.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.459, allocations: 0.5829 MB / 0.5497 GB, free: 82.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.461, allocations: 219.9 kB / 0.5499 GB, free: 82.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.476, allocations: 4.96 MB / 0.5548 GB, free: 79.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.48, allocations: 2.22 MB / 0.5569 GB, free: 78.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00387/1.484, allocations: 0.7785 MB / 0.5577 GB, free: 78.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/1.486, allocations: 1.043 MB / 0.5587 GB, free: 77.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/1.486, allocations: 0 / 0.5587 GB, free: 77.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09803/1.584, allocations: 39.91 MB / 0.5977 GB, free: 49.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.585, allocations: 150.4 kB / 0.5978 GB, free: 49.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/5.511, allocations: 7.938 kB / 0.5978 GB, free: 49.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat