Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.612e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1514, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5762/0.7276, allocations: 97.47 MB / 0.4959 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.728, allocations: 75.95 kB / 0.496 GB, free: 6.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008/1.736, allocations: 141.5 MB / 0.6342 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.005e-06/1.736, allocations: 4.906 kB / 0.6342 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004452/1.736, allocations: 121.7 kB / 0.6343 GB, free: 113.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.02773/1.764, allocations: 6.074 MB / 0.6402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.764, allocations: 9.625 kB / 0.6402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008245/1.772, allocations: 1.388 MB / 0.6416 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04948/1.822, allocations: 6.539 MB / 0.648 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/1.839, allocations: 4.278 MB / 0.6521 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008468/1.84, allocations: 0.5102 MB / 0.6526 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005284/1.845, allocations: 0.6523 MB / 0.6533 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05929/1.905, allocations: 17.92 MB / 0.6708 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/1.905, allocations: 40.78 kB / 0.6708 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004865/1.91, allocations: 312 kB / 0.6711 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004784/1.915, allocations: 2.152 MB / 0.6732 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0507/1.966, allocations: 17.03 MB / 0.6898 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/2.098, allocations: 61.83 MB / 0.7502 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02303/2.121, allocations: 8.367 MB / 0.7584 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00598/2.127, allocations: 2.543 MB / 0.7609 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03711/2.164, allocations: 11.84 MB / 0.7724 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/2.165, allocations: 52.56 kB / 0.7725 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 1.212e-05/2.165, allocations: 4 kB / 0.7725 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.02637/2.191, allocations: 5.782 MB / 0.7781 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/2.191, allocations: 103.1 kB / 0.7782 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/2.203, allocations: 4.973 MB / 0.7831 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005754/2.203, allocations: 61.7 kB / 0.7832 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/2.208, allocations: 5.095 MB / 0.7881 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001893/2.21, allocations: 1.195 MB / 0.7893 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/2.211, allocations: 179 kB / 0.7895 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008239/2.212, allocations: 0.7185 MB / 0.7902 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007603/2.219, allocations: 3.029 MB / 0.7931 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/2.232, allocations: 8.347 MB / 0.8013 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/2.245, allocations: 5.171 MB / 0.8063 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/2.245, allocations: 52 kB / 0.8064 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.4195/2.664, allocations: 10.69 MB / 0.8168 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/2.665, allocations: 86.38 kB / 0.8169 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004452/2.665, allocations: 188.6 kB / 0.8171 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/2.666, allocations: 279.1 kB / 0.8173 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.68, allocations: 2.072 MB / 0.8194 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/2.681, allocations: 381.2 kB / 0.8197 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.692, allocations: 1.294 MB / 0.821 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/2.695, allocations: 0.5412 MB / 0.8215 GB, free: 109.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * Number of states: 0 () * Number of discrete variables: 33 (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.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],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 (1135): * Single equations (assignments): 1123 * 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.003822/2.699, allocations: 0.7754 MB / 0.8223 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/2.7, allocations: 485.9 kB / 0.8227 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/2.703, allocations: 0.6549 MB / 0.8234 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001911/2.704, allocations: 62.69 kB / 0.8234 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/2.704, allocations: 1.438 kB / 0.8234 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-05/2.704, allocations: 14.64 kB / 0.8235 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04014/2.744, allocations: 12.6 MB / 0.8358 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/2.744, allocations: 12.5 kB / 0.8358 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/2.748, allocations: 421 kB / 0.8362 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.032e-05/2.748, allocations: 24.56 kB / 0.8362 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/2.748, allocations: 58.89 kB / 0.8363 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.438e-05/2.748, allocations: 31.11 kB / 0.8363 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/2.748, allocations: 21.53 kB / 0.8363 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/2.759, allocations: 6.545 MB / 0.8427 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/2.761, allocations: 0.5867 MB / 0.8433 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/2.763, allocations: 53.67 kB / 0.8433 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/2.767, allocations: 128.2 kB / 0.8434 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007352/2.768, allocations: 177 kB / 0.8436 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.768, allocations: 105.7 kB / 0.8437 GB, free: 104 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00849/2.776, allocations: 3.402 MB / 0.847 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.282e-06/2.776, allocations: 0 / 0.847 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01168/2.788, allocations: 2 MB / 0.849 GB, free: 103.6 MB / 0.5261 GB 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.01186/2.8, allocations: 10.1 MB / 0.8589 GB, free: 97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01531/2.815, allocations: 6.761 MB / 0.8655 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/2.815, allocations: 7.625 kB / 0.8655 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/2.82, allocations: 1.958 MB / 0.8674 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/2.824, allocations: 0.5673 MB / 0.8679 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04958/2.874, allocations: 15.27 MB / 0.8828 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01379/2.888, allocations: 5.575 MB / 0.8883 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01633/2.904, allocations: 3.662 MB / 0.8919 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008751/2.913, allocations: 3.326 MB / 0.8951 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.315e-06/2.913, allocations: 0 / 0.8951 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2812/3.194, allocations: 111.8 MB / 1.004 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/3.195, allocations: 147.1 kB / 1.004 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/9.744, allocations: 0 / 1.004 GB, free: 7.34 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat