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.378/2.378, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.689e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.382, allocations: 54.85 MB / 354.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5503, allocations: 89.32 MB / 443.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5507, allocations: 79.95 kB / 443.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.848/1.399, allocations: 136.1 MB / 0.5662 GB, free: 60.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.827e-06/1.399, allocations: 0 / 0.5662 GB, free: 60.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002709/1.399, allocations: 123.9 kB / 0.5663 GB, free: 60.51 MB / 426.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.02369/1.423, allocations: 6.063 MB / 0.5723 GB, free: 54.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.423, allocations: 8.031 kB / 0.5723 GB, free: 54.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04955/1.472, allocations: 6.53 MB / 0.5786 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.487, allocations: 4.269 MB / 0.5828 GB, free: 43.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/1.488, allocations: 216 kB / 0.583 GB, free: 43.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.492, allocations: 384.5 kB / 0.5834 GB, free: 42.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02925/1.521, allocations: 12.75 MB / 0.5958 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04677/1.568, allocations: 16.87 MB / 0.6123 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/1.569, allocations: 35.69 kB / 0.6123 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004059/1.573, allocations: 24 kB / 0.6124 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/1.577, allocations: 2.162 MB / 0.6145 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4672/2.044, allocations: 59.21 MB / 0.6723 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/2.056, allocations: 6.134 MB / 0.6783 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006179/2.062, allocations: 2.05 MB / 0.6803 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003251/2.066, allocations: 2.281 MB / 0.6825 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.949e-05/2.066, allocations: 61.81 kB / 0.6826 GB, free: 100.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=341): time 1.059e-05/2.066, allocations: 0 / 0.6826 GB, free: 100.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=341): time 0.02635/2.092, allocations: 5.098 MB / 0.6876 GB, free: 100.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/2.092, allocations: 102.6 kB / 0.6877 GB, free: 100.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/2.108, allocations: 4.482 MB / 0.692 GB, free: 100.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007406/2.109, allocations: 29.11 kB / 0.6921 GB, free: 100.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005952/2.115, allocations: 5.253 MB / 0.6972 GB, free: 97.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002445/2.117, allocations: 1.25 MB / 0.6984 GB, free: 96.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/2.119, allocations: 0 / 0.6984 GB, free: 96.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001164/2.12, allocations: 0.7504 MB / 0.6991 GB, free: 96.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/2.13, allocations: 3.1 MB / 0.7022 GB, free: 96.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01499/2.145, allocations: 8.919 MB / 0.7109 GB, free: 88.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.157, allocations: 5.437 MB / 0.7162 GB, free: 88.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003063/2.158, allocations: 59.94 kB / 0.7162 GB, free: 88.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02941/2.187, allocations: 10.85 MB / 0.7268 GB, free: 85.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/2.188, allocations: 96.22 kB / 0.7269 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003176/2.188, allocations: 204 kB / 0.7271 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/2.188, allocations: 306.4 kB / 0.7274 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/2.202, allocations: 2.274 MB / 0.7296 GB, free: 85.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000389/2.202, allocations: 415.4 kB / 0.73 GB, free: 85.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.212, allocations: 1.128 MB / 0.7311 GB, free: 84.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/2.215, allocations: 0.5858 MB / 0.7317 GB, free: 84.76 MB / 474.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.003128/2.218, allocations: 0.5935 MB / 0.7323 GB, free: 84.25 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009808/2.228, allocations: 4.085 MB / 0.7363 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/2.23, allocations: 468.8 kB / 0.7367 GB, free: 82.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/2.233, allocations: 0.6219 MB / 0.7373 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002533/2.234, allocations: 64.08 kB / 0.7374 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/2.234, allocations: 0 / 0.7374 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-05/2.234, allocations: 13.64 kB / 0.7374 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04055/2.275, allocations: 12.65 MB / 0.7498 GB, free: 74.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/2.275, allocations: 15.95 kB / 0.7498 GB, free: 74.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005573/2.28, allocations: 454.1 kB / 0.7502 GB, free: 74.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.288e-05/2.28, allocations: 24 kB / 0.7502 GB, free: 74.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/2.281, allocations: 31.84 kB / 0.7503 GB, free: 74.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.724e-05/2.281, allocations: 28.53 kB / 0.7503 GB, free: 74.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-05/2.281, allocations: 19.88 kB / 0.7503 GB, free: 74.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/2.293, allocations: 6.545 MB / 0.7567 GB, free: 67.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/2.295, allocations: 0.55 MB / 0.7572 GB, free: 66.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/2.297, allocations: 23 kB / 0.7573 GB, free: 66.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005147/2.302, allocations: 92.5 kB / 0.7574 GB, free: 66.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/2.304, allocations: 187.8 kB / 0.7575 GB, free: 66.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001122/2.305, allocations: 105.6 kB / 0.7576 GB, free: 66.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01196/2.317, allocations: 2.917 MB / 0.7605 GB, free: 64.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.054e-06/2.317, allocations: 0 / 0.7605 GB, free: 64.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02033/2.337, allocations: 1.828 MB / 0.7623 GB, free: 62.23 MB / 474.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.0181/2.356, allocations: 9.959 MB / 0.772 GB, free: 52.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01463/2.37, allocations: 7.16 MB / 0.779 GB, free: 45.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/2.37, allocations: 5.219 kB / 0.779 GB, free: 45.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/2.375, allocations: 2.116 MB / 0.7811 GB, free: 43.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/2.378, allocations: 375.1 kB / 0.7814 GB, free: 43.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05189/2.43, allocations: 15.23 MB / 0.7963 GB, free: 30.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/2.443, allocations: 5.571 MB / 0.8017 GB, free: 26.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01829/2.461, allocations: 3.999 MB / 0.8056 GB, free: 23.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008032/2.469, allocations: 3.365 MB / 0.8089 GB, free: 20.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/2.469, allocations: 4 kB / 0.8089 GB, free: 20.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.632/3.101, allocations: 105.4 MB / 0.9118 GB, free: 97.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/3.102, allocations: 129 kB / 0.9119 GB, free: 97.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.881/8.983, allocations: 0 / 0.9119 GB, free: 97.78 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