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.042/2.042, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.374e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6119, allocations: 93.43 MB / 415.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.6122, allocations: 79.94 kB / 415.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2971/0.9094, allocations: 56.27 MB / 471.6 MB, free: 3.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9094, allocations: 0 / 471.6 MB, free: 3.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.9097, allocations: 52 kB / 471.7 MB, free: 3.387 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.01508/0.9248, allocations: 2.581 MB / 474.3 MB, free: 0.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.133e-05/0.9249, allocations: 12.03 kB / 474.3 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002466/0.9274, allocations: 481.1 kB / 474.7 MB, free: 264 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/0.9339, allocations: 487.7 kB / 475.2 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008396/0.9423, allocations: 1.54 MB / 476.8 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.9429, allocations: 213.6 kB / 477 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.9448, allocations: 279.9 kB / 477.2 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/0.9745, allocations: 6.631 MB / 483.9 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.9747, allocations: 15.81 kB / 483.9 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000598/0.9753, allocations: 124 kB / 484 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.9769, allocations: 0.5201 MB / 484.5 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02376/1.001, allocations: 5.452 MB / 490 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3717/1.372, allocations: 21.29 MB / 0.4993 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/1.392, allocations: 1.79 MB / 0.501 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/1.394, allocations: 0.6476 MB / 0.5017 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/1.41, allocations: 4.899 MB / 0.5065 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.41, allocations: 44.5 kB / 0.5065 GB, free: 100.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 6.022e-06/1.41, allocations: 0 / 0.5065 GB, free: 100.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.07409/1.484, allocations: 7.482 MB / 0.5138 GB, free: 99.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/1.485, allocations: 89.52 kB / 0.5139 GB, free: 99.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007409/1.492, allocations: 1.706 MB / 0.5156 GB, free: 99.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/1.492, allocations: 45.83 kB / 0.5156 GB, free: 99.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00244/1.495, allocations: 1.666 MB / 0.5172 GB, free: 98.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/1.496, allocations: 418.2 kB / 0.5176 GB, free: 98.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/1.496, allocations: 56.84 kB / 0.5177 GB, free: 98.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000315/1.497, allocations: 425.3 kB / 0.5181 GB, free: 97.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00432/1.501, allocations: 0.997 MB / 0.5191 GB, free: 97.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/1.507, allocations: 2.595 MB / 0.5216 GB, free: 95.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/1.513, allocations: 1.565 MB / 0.5231 GB, free: 95.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/1.513, allocations: 19.52 kB / 0.5231 GB, free: 95.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01206/1.526, allocations: 3.591 MB / 0.5266 GB, free: 95.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/1.526, allocations: 27.44 kB / 0.5267 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/1.526, allocations: 59.34 kB / 0.5267 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001084/1.526, allocations: 88.81 kB / 0.5268 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.531, allocations: 0.7233 MB / 0.5275 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/1.531, allocations: 111.1 kB / 0.5276 GB, free: 95.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.534, allocations: 156.4 kB / 0.5278 GB, free: 95.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/1.535, allocations: 169.1 kB / 0.5279 GB, free: 95.69 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.000667/1.536, allocations: 334.8 kB / 0.5283 GB, free: 95.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/1.536, allocations: 183.9 kB / 0.5284 GB, free: 95.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/1.54, allocations: 1.695 MB / 0.5301 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.54, allocations: 10.36 kB / 0.5301 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.54, allocations: 3.969 kB / 0.5301 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/1.54, allocations: 9.078 kB / 0.5301 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.555, allocations: 5.876 MB / 0.5359 GB, free: 92.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.555, allocations: 14.69 kB / 0.5359 GB, free: 92.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.557, allocations: 258.9 kB / 0.5361 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.769e-05/1.557, allocations: 17.62 kB / 0.5361 GB, free: 92.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/1.557, allocations: 32.47 kB / 0.5362 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/1.557, allocations: 24.73 kB / 0.5362 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/1.557, allocations: 17.91 kB / 0.5362 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/1.56, allocations: 2.616 MB / 0.5388 GB, free: 90 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/1.561, allocations: 270.9 kB / 0.539 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.561, allocations: 33.86 kB / 0.539 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.563, allocations: 62.78 kB / 0.5391 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/1.563, allocations: 103.2 kB / 0.5392 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/1.563, allocations: 43.42 kB / 0.5392 GB, free: 89.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002745/1.566, allocations: 1.238 MB / 0.5405 GB, free: 89.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.566, allocations: 0 / 0.5405 GB, free: 89.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003832/1.57, allocations: 0.5393 MB / 0.541 GB, free: 89.19 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.004712/1.574, allocations: 6.512 MB / 0.5473 GB, free: 83.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005214/1.58, allocations: 2.216 MB / 0.5495 GB, free: 82.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/1.58, allocations: 0 / 0.5495 GB, free: 82.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.581, allocations: 0.6001 MB / 0.5501 GB, free: 82.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.583, allocations: 235.3 kB / 0.5503 GB, free: 81.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.599, allocations: 4.97 MB / 0.5552 GB, free: 79.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.603, allocations: 2.224 MB / 0.5573 GB, free: 78.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004058/1.607, allocations: 0.7693 MB / 0.5581 GB, free: 78.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.609, allocations: 1.04 MB / 0.5591 GB, free: 77.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.609, allocations: 4 kB / 0.5591 GB, free: 77.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/1.705, allocations: 40.2 MB / 0.5984 GB, free: 49.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.705, allocations: 151.7 kB / 0.5985 GB, free: 48.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/5.813, allocations: 11.88 kB / 0.5985 GB, free: 48.95 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