Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.261e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4358, allocations: 54.86 MB / 359.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.6077, allocations: 90 MB / 449.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.608, allocations: 71.97 kB / 449.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9117/1.52, allocations: 139 MB / 0.5751 GB, free: 100.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.52, allocations: 0 / 0.5751 GB, free: 100.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002614/1.52, allocations: 119.8 kB / 0.5752 GB, free: 100.4 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02247/1.543, allocations: 6.056 MB / 0.5811 GB, free: 97.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.543, allocations: 10.25 kB / 0.5811 GB, free: 97.28 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006842/1.55, allocations: 1.391 MB / 0.5825 GB, free: 96.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04693/1.596, allocations: 6.528 MB / 0.5888 GB, free: 95.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.612, allocations: 4.273 MB / 0.593 GB, free: 93.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/1.612, allocations: 0.5052 MB / 0.5935 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004631/1.617, allocations: 0.65 MB / 0.5941 GB, free: 92.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05256/1.67, allocations: 18 MB / 0.6117 GB, free: 75.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002699/1.67, allocations: 39.62 kB / 0.6118 GB, free: 75.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004507/1.674, allocations: 308.6 kB / 0.6121 GB, free: 75.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004704/1.679, allocations: 2.156 MB / 0.6142 GB, free: 73.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04786/1.727, allocations: 17.23 MB / 0.631 GB, free: 56.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1558/1.883, allocations: 61.72 MB / 0.6913 GB, free: 9.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02817/1.911, allocations: 8.402 MB / 0.6995 GB, free: 428 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3595/2.271, allocations: 2.54 MB / 0.7019 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04869/2.32, allocations: 11.83 MB / 0.7135 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/2.32, allocations: 59.36 kB / 0.7136 GB, free: 104.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 8.896e-06/2.32, allocations: 0 / 0.7136 GB, free: 104.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.0284/2.348, allocations: 5.787 MB / 0.7192 GB, free: 104.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/2.348, allocations: 105.5 kB / 0.7193 GB, free: 104 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/2.361, allocations: 4.939 MB / 0.7241 GB, free: 103.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006299/2.362, allocations: 62.58 kB / 0.7242 GB, free: 103.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004668/2.367, allocations: 5.086 MB / 0.7292 GB, free: 100.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001956/2.369, allocations: 1.198 MB / 0.7303 GB, free: 100 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/2.37, allocations: 173.9 kB / 0.7305 GB, free: 100 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000782/2.371, allocations: 0.7181 MB / 0.7312 GB, free: 99.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007676/2.379, allocations: 3.026 MB / 0.7341 GB, free: 99.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/2.391, allocations: 8.372 MB / 0.7423 GB, free: 91.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/2.402, allocations: 5.161 MB / 0.7474 GB, free: 89.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002505/2.403, allocations: 55.94 kB / 0.7474 GB, free: 89.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03807/2.441, allocations: 11.2 MB / 0.7584 GB, free: 86.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000228/2.441, allocations: 86.53 kB / 0.7584 GB, free: 86.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004542/2.441, allocations: 189.2 kB / 0.7586 GB, free: 86.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/2.442, allocations: 280.5 kB / 0.7589 GB, free: 86.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01751/2.459, allocations: 2.062 MB / 0.7609 GB, free: 86.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/2.46, allocations: 376.1 kB / 0.7613 GB, free: 86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.471, allocations: 1.298 MB / 0.7625 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.474, allocations: 0.5403 MB / 0.7631 GB, free: 85.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * 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.002338/2.476, allocations: 0.7698 MB / 0.7638 GB, free: 84.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/2.477, allocations: 481.4 kB / 0.7643 GB, free: 84.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/2.479, allocations: 0.6522 MB / 0.7649 GB, free: 83.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001482/2.48, allocations: 59.8 kB / 0.765 GB, free: 83.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/2.48, allocations: 4.75 kB / 0.765 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/2.48, allocations: 10.31 kB / 0.765 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03344/2.513, allocations: 12.61 MB / 0.7773 GB, free: 79.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/2.513, allocations: 11 kB / 0.7773 GB, free: 79.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003423/2.517, allocations: 429.3 kB / 0.7777 GB, free: 79.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.715e-05/2.517, allocations: 28.73 kB / 0.7777 GB, free: 79.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/2.517, allocations: 61.53 kB / 0.7778 GB, free: 79.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.67e-05/2.517, allocations: 39.44 kB / 0.7778 GB, free: 79.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/2.517, allocations: 19.94 kB / 0.7779 GB, free: 79.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008658/2.526, allocations: 6.53 MB / 0.7842 GB, free: 72.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/2.527, allocations: 0.5819 MB / 0.7848 GB, free: 71.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/2.529, allocations: 62.47 kB / 0.7849 GB, free: 71.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/2.532, allocations: 124.2 kB / 0.785 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007399/2.533, allocations: 184.1 kB / 0.7851 GB, free: 71.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/2.533, allocations: 99.22 kB / 0.7852 GB, free: 71.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009863/2.543, allocations: 3.388 MB / 0.7886 GB, free: 68.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.493e-06/2.543, allocations: 0 / 0.7886 GB, free: 68.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0145/2.558, allocations: 1.981 MB / 0.7905 GB, free: 66.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 213 * Array equations: 12 * 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.03417/2.592, allocations: 10.09 MB / 0.8003 GB, free: 56.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03247/2.625, allocations: 7.03 MB / 0.8072 GB, free: 49.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/2.625, allocations: 4 kB / 0.8072 GB, free: 49.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004308/2.629, allocations: 1.98 MB / 0.8091 GB, free: 48.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/2.633, allocations: 0.5687 MB / 0.8097 GB, free: 47.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04976/2.683, allocations: 15.26 MB / 0.8246 GB, free: 34.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01413/2.697, allocations: 5.573 MB / 0.83 GB, free: 29.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01575/2.713, allocations: 3.557 MB / 0.8335 GB, free: 27.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00794/2.721, allocations: 3.318 MB / 0.8368 GB, free: 24.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.853e-06/2.721, allocations: 0 / 0.8368 GB, free: 24.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6224/3.344, allocations: 112.2 MB / 0.9463 GB, free: 93.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/3.344, allocations: 152 kB / 0.9464 GB, free: 93.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/9.867, allocations: 0 / 0.9464 GB, free: 93.09 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat