Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.085e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 48.69 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4983/0.6055, allocations: 82.97 MB / 399.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.6058, allocations: 74.2 kB / 399.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9051/1.511, allocations: 136.1 MB / 0.5229 GB, free: 85.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.511, allocations: 0 / 0.5229 GB, free: 85.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004142/1.511, allocations: 127 kB / 0.523 GB, free: 85.12 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.03092/1.542, allocations: 6.051 MB / 0.5289 GB, free: 82.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/1.542, allocations: 10.19 kB / 0.5289 GB, free: 82.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05114/1.594, allocations: 6.53 MB / 0.5353 GB, free: 81.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/1.61, allocations: 4.274 MB / 0.5395 GB, free: 80.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/1.611, allocations: 221.4 kB / 0.5397 GB, free: 80.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00498/1.616, allocations: 382.5 kB / 0.5401 GB, free: 80.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03157/1.647, allocations: 12.75 MB / 0.5525 GB, free: 76.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05033/1.698, allocations: 16.87 MB / 0.569 GB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003775/1.698, allocations: 35.62 kB / 0.569 GB, free: 60.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004698/1.703, allocations: 27.95 kB / 0.569 GB, free: 60.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004599/1.707, allocations: 2.166 MB / 0.5712 GB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/1.831, allocations: 59.19 MB / 0.629 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.844, allocations: 6.132 MB / 0.635 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005554/1.85, allocations: 2.046 MB / 0.637 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003401/1.853, allocations: 2.268 MB / 0.6392 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/1.854, allocations: 68.55 kB / 0.6392 GB, free: 2.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=341): time 9.858e-06/1.854, allocations: 0 / 0.6392 GB, free: 2.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=341): time 0.3265/2.18, allocations: 5.095 MB / 0.6442 GB, free: 92.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/2.18, allocations: 103.3 kB / 0.6443 GB, free: 91.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/2.194, allocations: 4.476 MB / 0.6487 GB, free: 91.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007213/2.194, allocations: 26.98 kB / 0.6487 GB, free: 91.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005486/2.2, allocations: 5.258 MB / 0.6538 GB, free: 88.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002344/2.202, allocations: 1.25 MB / 0.6551 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/2.204, allocations: 0 / 0.6551 GB, free: 88.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001322/2.205, allocations: 0.7501 MB / 0.6558 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009528/2.215, allocations: 3.101 MB / 0.6588 GB, free: 87.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01411/2.229, allocations: 8.926 MB / 0.6675 GB, free: 80.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.241, allocations: 5.435 MB / 0.6728 GB, free: 80.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003227/2.242, allocations: 58 kB / 0.6729 GB, free: 80.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02984/2.272, allocations: 10.86 MB / 0.6835 GB, free: 79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/2.272, allocations: 94.22 kB / 0.6836 GB, free: 79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003451/2.272, allocations: 204.6 kB / 0.6838 GB, free: 79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/2.273, allocations: 306.5 kB / 0.6841 GB, free: 79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01404/2.287, allocations: 2.271 MB / 0.6863 GB, free: 78.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/2.287, allocations: 407.6 kB / 0.6867 GB, free: 78.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.297, allocations: 1.137 MB / 0.6878 GB, free: 78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/2.299, allocations: 0.584 MB / 0.6884 GB, free: 77.92 MB / 426.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.001839/2.301, allocations: 0.6068 MB / 0.689 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008621/2.31, allocations: 4.08 MB / 0.693 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008686/2.311, allocations: 465.2 kB / 0.6934 GB, free: 75.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/2.313, allocations: 0.6285 MB / 0.694 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/2.313, allocations: 59.05 kB / 0.6941 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/2.313, allocations: 5.719 kB / 0.6941 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/2.313, allocations: 9.844 kB / 0.6941 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/2.344, allocations: 12.65 MB / 0.7064 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/2.344, allocations: 16.11 kB / 0.7065 GB, free: 70.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/2.348, allocations: 458.5 kB / 0.7069 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/2.349, allocations: 25.22 kB / 0.7069 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/2.349, allocations: 27.59 kB / 0.7069 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-05/2.349, allocations: 28.69 kB / 0.707 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.911e-05/2.349, allocations: 22.31 kB / 0.707 GB, free: 70.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/2.359, allocations: 6.539 MB / 0.7134 GB, free: 66.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/2.361, allocations: 0.5502 MB / 0.7139 GB, free: 66.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.363, allocations: 22.73 kB / 0.7139 GB, free: 66.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/2.366, allocations: 91.14 kB / 0.714 GB, free: 66.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/2.366, allocations: 187.8 kB / 0.7142 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/2.367, allocations: 103 kB / 0.7143 GB, free: 66.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006652/2.373, allocations: 2.918 MB / 0.7171 GB, free: 65.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.262e-06/2.373, allocations: 2.062 kB / 0.7171 GB, free: 65.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0114/2.385, allocations: 1.828 MB / 0.7189 GB, free: 64.73 MB / 426.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.01115/2.396, allocations: 9.967 MB / 0.7287 GB, free: 55.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01495/2.411, allocations: 7.164 MB / 0.7357 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/2.411, allocations: 1.688 kB / 0.7357 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004319/2.415, allocations: 2.121 MB / 0.7377 GB, free: 46.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/2.419, allocations: 364.2 kB / 0.7381 GB, free: 46.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04506/2.464, allocations: 15.22 MB / 0.7529 GB, free: 33.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/2.475, allocations: 5.564 MB / 0.7584 GB, free: 29.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01812/2.493, allocations: 4.004 MB / 0.7623 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008332/2.502, allocations: 3.374 MB / 0.7656 GB, free: 23.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.502, allocations: 0 / 0.7656 GB, free: 23.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6593/3.161, allocations: 105.4 MB / 0.8685 GB, free: 76.81 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/3.161, allocations: 133.5 kB / 0.8686 GB, free: 76.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.291/9.452, allocations: 0 / 0.8686 GB, free: 76.62 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat