Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.764/2.764, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.03e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3916, allocations: 54.85 MB / 354.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.5822, allocations: 89.33 MB / 443.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/0.5827, allocations: 67.97 kB / 443.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.954/1.537, allocations: 136.1 MB / 0.5663 GB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.537, allocations: 0 / 0.5663 GB, free: 12.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003602/1.537, allocations: 127.9 kB / 0.5664 GB, free: 11.89 MB / 410.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.02633/1.564, allocations: 6.067 MB / 0.5724 GB, free: 5.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.564, allocations: 8.031 kB / 0.5724 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05992/1.624, allocations: 6.533 MB / 0.5788 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/1.642, allocations: 4.268 MB / 0.5829 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006341/1.643, allocations: 220 kB / 0.5831 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005046/1.648, allocations: 384 kB / 0.5835 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03993/1.688, allocations: 12.74 MB / 0.5959 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05789/1.746, allocations: 16.87 MB / 0.6124 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/1.746, allocations: 39.62 kB / 0.6124 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003791/1.75, allocations: 24 kB / 0.6125 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005746/1.756, allocations: 2.159 MB / 0.6146 GB, free: 9.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5195/2.275, allocations: 59.18 MB / 0.6724 GB, free: 68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/2.287, allocations: 6.149 MB / 0.6784 GB, free: 65.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004888/2.292, allocations: 2.046 MB / 0.6804 GB, free: 65.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002839/2.295, allocations: 2.282 MB / 0.6826 GB, free: 63.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.385e-05/2.295, allocations: 55.72 kB / 0.6827 GB, free: 63.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 9.698e-06/2.295, allocations: 0 / 0.6827 GB, free: 63.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.02073/2.316, allocations: 5.101 MB / 0.6876 GB, free: 62.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/2.316, allocations: 106.4 kB / 0.6877 GB, free: 62.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.327, allocations: 4.479 MB / 0.6921 GB, free: 61.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006451/2.327, allocations: 29.3 kB / 0.6921 GB, free: 61.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004625/2.332, allocations: 5.257 MB / 0.6973 GB, free: 57.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002257/2.334, allocations: 1.251 MB / 0.6985 GB, free: 56.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/2.336, allocations: 0 / 0.6985 GB, free: 56.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001026/2.337, allocations: 0.7546 MB / 0.6992 GB, free: 56.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008131/2.345, allocations: 3.098 MB / 0.7023 GB, free: 55.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/2.357, allocations: 8.918 MB / 0.711 GB, free: 46.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/2.37, allocations: 5.435 MB / 0.7163 GB, free: 44.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002663/2.37, allocations: 61.84 kB / 0.7163 GB, free: 44.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03039/2.401, allocations: 10.85 MB / 0.7269 GB, free: 38.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/2.401, allocations: 96 kB / 0.727 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003202/2.401, allocations: 208 kB / 0.7272 GB, free: 37.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/2.401, allocations: 304 kB / 0.7275 GB, free: 37.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01512/2.417, allocations: 2.269 MB / 0.7297 GB, free: 35.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/2.417, allocations: 402 kB / 0.7301 GB, free: 35.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.428, allocations: 1.141 MB / 0.7312 GB, free: 34.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/2.43, allocations: 0.5872 MB / 0.7318 GB, free: 33.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * 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 (1246): * Single equations (assignments): 1234 * 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.433, allocations: 0.6032 MB / 0.7324 GB, free: 32.87 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01007/2.443, allocations: 4.078 MB / 0.7364 GB, free: 29.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.444, allocations: 468.8 kB / 0.7368 GB, free: 28.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/2.447, allocations: 0.6213 MB / 0.7374 GB, free: 28.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001634/2.447, allocations: 54.39 kB / 0.7375 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/2.447, allocations: 10.94 kB / 0.7375 GB, free: 28.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/2.447, allocations: 10.83 kB / 0.7375 GB, free: 28.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03684/2.484, allocations: 12.65 MB / 0.7499 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/2.484, allocations: 12.22 kB / 0.7499 GB, free: 17.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004347/2.488, allocations: 468.5 kB / 0.7503 GB, free: 16.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.65e-05/2.488, allocations: 24 kB / 0.7503 GB, free: 16.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/2.489, allocations: 23.14 kB / 0.7504 GB, free: 16.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-05/2.489, allocations: 31.41 kB / 0.7504 GB, free: 16.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-05/2.489, allocations: 23.88 kB / 0.7504 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/2.499, allocations: 6.544 MB / 0.7568 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/2.501, allocations: 0.5484 MB / 0.7573 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/2.503, allocations: 26.8 kB / 0.7574 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/2.506, allocations: 93.48 kB / 0.7574 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/2.507, allocations: 177.2 kB / 0.7576 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/2.507, allocations: 107.6 kB / 0.7577 GB, free: 9.336 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007227/2.515, allocations: 2.924 MB / 0.7606 GB, free: 6.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.515, allocations: 0 / 0.7606 GB, free: 6.832 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0124/2.527, allocations: 1.825 MB / 0.7624 GB, free: 5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.01481/2.542, allocations: 9.963 MB / 0.7721 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01975/2.562, allocations: 7.165 MB / 0.7791 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/2.562, allocations: 0 / 0.7791 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006403/2.568, allocations: 2.118 MB / 0.7812 GB, free: 2.703 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/2.572, allocations: 369 kB / 0.7815 GB, free: 2.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05689/2.629, allocations: 15.25 MB / 0.7964 GB, free: 5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/2.646, allocations: 5.57 MB / 0.8018 GB, free: 256 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.4123/3.058, allocations: 4.004 MB / 0.8057 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008986/3.067, allocations: 3.366 MB / 0.809 GB, free: 112.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/3.067, allocations: 0 / 0.809 GB, free: 112.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/3.378, allocations: 105.4 MB / 0.912 GB, free: 55.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000262/3.379, allocations: 148.9 kB / 0.9121 GB, free: 55.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.625/10, allocations: 4 kB / 0.9121 GB, free: 55.35 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat