Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.741/2.741, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.592e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.6403, allocations: 99.3 MB / 453.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.6407, allocations: 71.97 kB / 453.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6742/1.315, allocations: 54.86 MB / 0.4967 GB, free: 69.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.315, allocations: 0 / 0.4967 GB, free: 69.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002046/1.315, allocations: 56 kB / 0.4968 GB, free: 69.07 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.01431/1.329, allocations: 2.581 MB / 0.4993 GB, free: 66.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/1.33, allocations: 8.031 kB / 0.4993 GB, free: 66.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/1.336, allocations: 479.8 kB / 0.4998 GB, free: 65.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/1.342, allocations: 1.536 MB / 0.5013 GB, free: 64.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/1.343, allocations: 96 kB / 0.5014 GB, free: 64.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/1.344, allocations: 160 kB / 0.5015 GB, free: 64.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01072/1.355, allocations: 3.804 MB / 0.5052 GB, free: 60.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/1.369, allocations: 4.952 MB / 0.5101 GB, free: 55.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/1.369, allocations: 15.88 kB / 0.5101 GB, free: 55.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/1.37, allocations: 8 kB / 0.5101 GB, free: 55.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/1.371, allocations: 0.5203 MB / 0.5106 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/1.411, allocations: 20.05 MB / 0.5302 GB, free: 33.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/1.414, allocations: 0.8502 MB / 0.531 GB, free: 33.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.415, allocations: 0.6181 MB / 0.5316 GB, free: 32.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009458/1.424, allocations: 4.564 MB / 0.5361 GB, free: 27.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.425, allocations: 39.12 kB / 0.5361 GB, free: 27.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 4.309e-06/1.425, allocations: 0 / 0.5361 GB, free: 27.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.02821/1.453, allocations: 5.247 MB / 0.5412 GB, free: 22.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.453, allocations: 85.89 kB / 0.5413 GB, free: 22.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.456, allocations: 1.413 MB / 0.5427 GB, free: 20.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.456, allocations: 29.64 kB / 0.5427 GB, free: 20.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.457, allocations: 1.717 MB / 0.5444 GB, free: 18.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/1.457, allocations: 331.6 kB / 0.5447 GB, free: 18.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.458, allocations: 4.031 kB / 0.5447 GB, free: 18.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002798/1.458, allocations: 472.7 kB / 0.5452 GB, free: 18.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.46, allocations: 0.8257 MB / 0.546 GB, free: 17.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/1.463, allocations: 2.457 MB / 0.5484 GB, free: 14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/1.468, allocations: 1.546 MB / 0.5499 GB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/1.469, allocations: 19.94 kB / 0.5499 GB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01065/1.479, allocations: 3.122 MB / 0.553 GB, free: 9.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/1.479, allocations: 28 kB / 0.553 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.02e-05/1.479, allocations: 60 kB / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/1.48, allocations: 84 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/1.485, allocations: 0.7018 MB / 0.5538 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/1.485, allocations: 115.6 kB / 0.5539 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/1.488, allocations: 99.88 kB / 0.554 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/1.489, allocations: 172 kB / 0.5542 GB, free: 8.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (366): * Single equations (assignments): 366 * 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.0006465/1.49, allocations: 262.5 kB / 0.5544 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002707/1.493, allocations: 1.096 MB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.493, allocations: 158.1 kB / 0.5557 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.496, allocations: 1.248 MB / 0.5569 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.496, allocations: 8 kB / 0.5569 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.496, allocations: 0 / 0.5569 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.496, allocations: 7.984 kB / 0.5569 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.508, allocations: 3.792 MB / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.508, allocations: 7.953 kB / 0.5606 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.51, allocations: 212.2 kB / 0.5608 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.507e-05/1.51, allocations: 8 kB / 0.5608 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.51, allocations: 12 kB / 0.5608 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.51, allocations: 8 kB / 0.5608 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.51, allocations: 7.938 kB / 0.5608 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/1.513, allocations: 1.595 MB / 0.5624 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/1.514, allocations: 215.2 kB / 0.5626 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/1.514, allocations: 8 kB / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.516, allocations: 43.92 kB / 0.5626 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.516, allocations: 60.39 kB / 0.5627 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.516, allocations: 24 kB / 0.5627 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002502/1.519, allocations: 0.9484 MB / 0.5637 GB, free: 13.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.519, allocations: 0 / 0.5637 GB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00389/1.523, allocations: 459.9 kB / 0.5641 GB, free: 13.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.004642/1.528, allocations: 3.447 MB / 0.5675 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005559/1.533, allocations: 1.896 MB / 0.5693 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.533, allocations: 0.5 kB / 0.5693 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.535, allocations: 0.5173 MB / 0.5698 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.536, allocations: 150.6 kB / 0.57 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.555, allocations: 4.536 MB / 0.5744 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008182/1.563, allocations: 2.204 MB / 0.5765 GB, free: 480 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006149/1.569, allocations: 0.721 MB / 0.5772 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003202/1.573, allocations: 1.023 MB / 0.5782 GB, free: 14.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/1.573, allocations: 0 / 0.5782 GB, free: 14.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1712/1.744, allocations: 34.84 MB / 0.6123 GB, free: 11.92 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003994/1.744, allocations: 132.2 kB / 0.6124 GB, free: 11.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.041/5.786, allocations: 0 / 0.6124 GB, free: 11.73 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat