Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.647/2.647, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.15e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4522, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.6747, allocations: 106.4 MB / 488.7 MB, free: 2 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.675, allocations: 79.95 kB / 488.8 MB, free: 1.922 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5917/1.267, allocations: 55.15 MB / 0.5312 GB, free: 115.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.404e-06/1.267, allocations: 0 / 0.5312 GB, free: 115.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000163/1.267, allocations: 53.5 kB / 0.5312 GB, free: 115.2 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.008769/1.276, allocations: 2.377 MB / 0.5335 GB, free: 114.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/1.276, allocations: 9.062 kB / 0.5335 GB, free: 114.1 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00167/1.278, allocations: 481.8 kB / 0.534 GB, free: 114 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/1.282, allocations: 480.6 kB / 0.5345 GB, free: 113.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/1.287, allocations: 1.533 MB / 0.536 GB, free: 113.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/1.287, allocations: 218.3 kB / 0.5362 GB, free: 113.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/1.289, allocations: 283.1 kB / 0.5364 GB, free: 113.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/1.308, allocations: 5.906 MB / 0.5422 GB, free: 112.6 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.308, allocations: 15.44 kB / 0.5422 GB, free: 112.6 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/1.308, allocations: 129.2 kB / 0.5423 GB, free: 112.6 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001239/1.309, allocations: 479.8 kB / 0.5428 GB, free: 112.6 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.325, allocations: 4.422 MB / 0.5471 GB, free: 112.5 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0321/1.358, allocations: 19.96 MB / 0.5666 GB, free: 99.02 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006428/1.364, allocations: 1.238 MB / 0.5678 GB, free: 98.67 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/1.365, allocations: 374.8 kB / 0.5682 GB, free: 98.52 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/1.367, allocations: 2.068 MB / 0.5702 GB, free: 96.74 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.367, allocations: 48.77 kB / 0.5702 GB, free: 96.69 MB / 458.8 MB Notification: Performance of pre-optimization done (n=66): time 3.687e-06/1.367, allocations: 0 / 0.5702 GB, free: 96.69 MB / 458.8 MB Notification: Performance of matching and sorting (n=110): time 0.03131/1.398, allocations: 5.372 MB / 0.5755 GB, free: 94.33 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/1.399, allocations: 98.05 kB / 0.5756 GB, free: 94.22 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.401, allocations: 1.604 MB / 0.5771 GB, free: 92.79 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/1.402, allocations: 45.7 kB / 0.5772 GB, free: 92.73 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.403, allocations: 1.66 MB / 0.5788 GB, free: 91.25 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/1.403, allocations: 408.5 kB / 0.5792 GB, free: 90.89 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/1.403, allocations: 56 kB / 0.5793 GB, free: 90.84 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001795/1.404, allocations: 425.2 kB / 0.5797 GB, free: 90.46 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.405, allocations: 0.7672 MB / 0.5804 GB, free: 89.75 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/1.408, allocations: 2.301 MB / 0.5827 GB, free: 86.79 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/1.41, allocations: 1.323 MB / 0.5839 GB, free: 85.64 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/1.41, allocations: 16 kB / 0.584 GB, free: 85.62 MB / 458.8 MB Notification: Performance of matching and sorting (n=362) (initialization): time 0.006305/1.417, allocations: 2.939 MB / 0.5868 GB, free: 83 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/1.417, allocations: 28 kB / 0.5869 GB, free: 82.97 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/1.417, allocations: 59.53 kB / 0.5869 GB, free: 82.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/1.417, allocations: 80 kB / 0.587 GB, free: 82.84 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/1.421, allocations: 0.6576 MB / 0.5876 GB, free: 82.25 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.733e-05/1.421, allocations: 106 kB / 0.5877 GB, free: 82.16 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.423, allocations: 122.9 kB / 0.5879 GB, free: 82.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/1.424, allocations: 160 kB / 0.588 GB, free: 81.89 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (362): * Single equations (assignments): 362 * 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.0004711/1.424, allocations: 337.4 kB / 0.5883 GB, free: 81.55 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/1.424, allocations: 173.7 kB / 0.5885 GB, free: 81.38 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.427, allocations: 1.24 MB / 0.5897 GB, free: 80.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.427, allocations: 16.03 kB / 0.5897 GB, free: 80.29 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.427, allocations: 0 / 0.5897 GB, free: 80.29 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.427, allocations: 3.375 kB / 0.5897 GB, free: 80.29 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.44, allocations: 6.381 MB / 0.596 GB, free: 74.54 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/1.44, allocations: 20 kB / 0.596 GB, free: 74.52 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.441, allocations: 200.5 kB / 0.5962 GB, free: 74.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.414e-05/1.441, allocations: 28 kB / 0.5962 GB, free: 74.32 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/1.441, allocations: 44 kB / 0.5962 GB, free: 74.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.05e-05/1.441, allocations: 42.72 kB / 0.5963 GB, free: 74.24 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-05/1.441, allocations: 35.81 kB / 0.5963 GB, free: 74.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/1.444, allocations: 3.175 MB / 0.5994 GB, free: 70.07 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/1.445, allocations: 280 kB / 0.5997 GB, free: 69.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.445, allocations: 54.22 kB / 0.5997 GB, free: 69.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.446, allocations: 35.28 kB / 0.5998 GB, free: 69.72 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.446, allocations: 139.5 kB / 0.5999 GB, free: 69.61 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/1.446, allocations: 48 kB / 0.5999 GB, free: 69.56 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002373/1.449, allocations: 1.2 MB / 0.6011 GB, free: 68.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.32e-07/1.449, allocations: 3.938 kB / 0.6011 GB, free: 68.49 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.003444/1.452, allocations: 0.5 MB / 0.6016 GB, free: 67.99 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.004551/1.457, allocations: 9.438 MB / 0.6108 GB, free: 58.03 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003888/1.461, allocations: 1.694 MB / 0.6125 GB, free: 56.47 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/1.461, allocations: 8.062 kB / 0.6125 GB, free: 56.46 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009272/1.462, allocations: 449.5 kB / 0.6129 GB, free: 56.06 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.464, allocations: 247.3 kB / 0.6131 GB, free: 55.85 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.477, allocations: 5.035 MB / 0.6181 GB, free: 50.67 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.48, allocations: 2.246 MB / 0.6203 GB, free: 48.41 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00332/1.483, allocations: 0.7109 MB / 0.621 GB, free: 47.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/1.485, allocations: 1.046 MB / 0.622 GB, free: 46.65 MB / 458.8 MB Notification: Performance of SimCode: time 1.463e-06/1.485, allocations: 0 / 0.622 GB, free: 46.65 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.6, allocations: 37.18 MB / 0.6583 GB, free: 9.98 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.6, allocations: 146.6 kB / 0.6584 GB, free: 9.754 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/5.034, allocations: 0 / 0.6584 GB, free: 9.754 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat