Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.183e-05, allocations: 7.938 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4052, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.6051, allocations: 107.2 MB / 489.5 MB, free: 1.164 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6055, allocations: 79.95 kB / 489.6 MB, free: 1.086 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5978/1.203, allocations: 57.02 MB / 0.5338 GB, free: 115 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.974e-06/1.203, allocations: 7.109 kB / 0.5338 GB, free: 115 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001413/1.203, allocations: 53.56 kB / 0.5338 GB, free: 115 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01014/1.214, allocations: 2.577 MB / 0.5364 GB, free: 113.8 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.214, allocations: 15 kB / 0.5364 GB, free: 113.8 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002081/1.216, allocations: 486.1 kB / 0.5368 GB, free: 113.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/1.22, allocations: 487 kB / 0.5373 GB, free: 113.6 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/1.226, allocations: 1.559 MB / 0.5388 GB, free: 113.2 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/1.226, allocations: 212.2 kB / 0.539 GB, free: 113.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/1.228, allocations: 280.6 kB / 0.5393 GB, free: 113.2 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/1.253, allocations: 6.607 MB / 0.5458 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/1.253, allocations: 19.17 kB / 0.5458 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/1.255, allocations: 128.5 kB / 0.5459 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001542/1.256, allocations: 0.5291 MB / 0.5464 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/1.277, allocations: 5.38 MB / 0.5517 GB, free: 111.3 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/1.321, allocations: 21.4 MB / 0.5726 GB, free: 97.15 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/1.339, allocations: 1.776 MB / 0.5743 GB, free: 96.2 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.341, allocations: 0.6543 MB / 0.5749 GB, free: 95.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009936/1.351, allocations: 4.885 MB / 0.5797 GB, free: 90.95 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/1.351, allocations: 47.12 kB / 0.5798 GB, free: 90.89 MB / 458.8 MB Notification: Performance of pre-optimization done (n=70): time 3.978e-06/1.351, allocations: 0 / 0.5798 GB, free: 90.89 MB / 458.8 MB Notification: Performance of matching and sorting (n=110): time 0.05309/1.404, allocations: 7.497 MB / 0.5871 GB, free: 84.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.404, allocations: 94.08 kB / 0.5872 GB, free: 84.86 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/1.408, allocations: 1.731 MB / 0.5889 GB, free: 83.31 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003101/1.408, allocations: 45.7 kB / 0.5889 GB, free: 83.26 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.409, allocations: 1.675 MB / 0.5905 GB, free: 81.76 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/1.41, allocations: 407.8 kB / 0.5909 GB, free: 81.41 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.41, allocations: 60 kB / 0.591 GB, free: 81.35 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002001/1.41, allocations: 431.2 kB / 0.5914 GB, free: 80.96 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/1.413, allocations: 1.002 MB / 0.5924 GB, free: 80.03 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/1.416, allocations: 2.595 MB / 0.5949 GB, free: 76.74 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/1.42, allocations: 1.579 MB / 0.5964 GB, free: 75.25 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-05/1.42, allocations: 18.91 kB / 0.5965 GB, free: 75.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=374) (initialization): time 0.009302/1.43, allocations: 3.45 MB / 0.5998 GB, free: 71.78 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/1.43, allocations: 36.92 kB / 0.5999 GB, free: 71.74 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-05/1.43, allocations: 59.12 kB / 0.5999 GB, free: 71.69 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/1.43, allocations: 84 kB / 0.6 GB, free: 71.61 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/1.435, allocations: 0.733 MB / 0.6007 GB, free: 70.87 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/1.435, allocations: 111.6 kB / 0.6008 GB, free: 70.76 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/1.439, allocations: 159.1 kB / 0.601 GB, free: 70.61 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006863/1.44, allocations: 164 kB / 0.6011 GB, free: 70.45 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 34 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (374): * Single equations (assignments): 374 * 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.0006575/1.44, allocations: 350.1 kB / 0.6015 GB, free: 70.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/1.441, allocations: 177.7 kB / 0.6016 GB, free: 69.93 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/1.445, allocations: 1.707 MB / 0.6033 GB, free: 68.21 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.445, allocations: 16 kB / 0.6033 GB, free: 68.19 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.445, allocations: 0 / 0.6033 GB, free: 68.19 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.445, allocations: 7.969 kB / 0.6033 GB, free: 68.18 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.459, allocations: 5.854 MB / 0.609 GB, free: 62.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.459, allocations: 12 kB / 0.6091 GB, free: 62.07 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.461, allocations: 247.6 kB / 0.6093 GB, free: 61.83 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/1.461, allocations: 20 kB / 0.6093 GB, free: 61.81 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.461, allocations: 36.44 kB / 0.6093 GB, free: 61.78 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/1.461, allocations: 35.88 kB / 0.6094 GB, free: 61.74 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/1.461, allocations: 15.94 kB / 0.6094 GB, free: 61.73 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.464, allocations: 2.621 MB / 0.612 GB, free: 58.52 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/1.465, allocations: 266.7 kB / 0.6122 GB, free: 58.23 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.465, allocations: 39.98 kB / 0.6123 GB, free: 58.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.466, allocations: 59.89 kB / 0.6123 GB, free: 58.14 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.467, allocations: 100.2 kB / 0.6124 GB, free: 58.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/1.467, allocations: 43.98 kB / 0.6124 GB, free: 58 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002631/1.469, allocations: 1.258 MB / 0.6137 GB, free: 56.71 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.82e-07/1.469, allocations: 4 kB / 0.6137 GB, free: 56.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.003682/1.473, allocations: 0.539 MB / 0.6142 GB, free: 56.16 MB / 458.8 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.004376/1.478, allocations: 6.51 MB / 0.6206 GB, free: 49.28 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004816/1.482, allocations: 2.136 MB / 0.6226 GB, free: 47.16 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.483, allocations: 4 kB / 0.6227 GB, free: 47.15 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.484, allocations: 0.5812 MB / 0.6232 GB, free: 46.57 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.486, allocations: 233 kB / 0.6234 GB, free: 46.35 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.502, allocations: 4.974 MB / 0.6283 GB, free: 41.16 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.507, allocations: 2.238 MB / 0.6305 GB, free: 38.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004184/1.511, allocations: 0.778 MB / 0.6312 GB, free: 38.12 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002665/1.513, allocations: 1.054 MB / 0.6323 GB, free: 37.07 MB / 458.8 MB Notification: Performance of SimCode: time 1.502e-06/1.513, allocations: 0 / 0.6323 GB, free: 37.07 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.619, allocations: 40.21 MB / 0.6715 GB, free: 13.29 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/1.619, allocations: 150.5 kB / 0.6717 GB, free: 13.05 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/5.395, allocations: 0 / 0.6717 GB, free: 13.05 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat