Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.808e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5499, allocations: 92.71 MB / 414.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5502, allocations: 75.95 kB / 414.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3492/0.8994, allocations: 81.89 MB / 496.5 MB, free: 10.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8995, allocations: 0 / 496.5 MB, free: 10.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002847/0.8998, allocations: 84 kB / 496.6 MB, free: 10.23 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.0157/0.9155, allocations: 3.92 MB / 0.4888 GB, free: 6.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.9156, allocations: 8.031 kB / 0.4888 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003289/0.9189, allocations: 0.7541 MB / 0.4896 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.9378, allocations: 2.319 MB / 0.4918 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.301/1.239, allocations: 5.177 MB / 0.4969 GB, free: 95.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005829/1.239, allocations: 317.2 kB / 0.4972 GB, free: 95.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/1.242, allocations: 430 kB / 0.4976 GB, free: 95.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03312/1.275, allocations: 10.32 MB / 0.5077 GB, free: 92.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000411/1.276, allocations: 62.84 kB / 0.5077 GB, free: 92.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002138/1.278, allocations: 211 kB / 0.5079 GB, free: 92.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002867/1.281, allocations: 0.9929 MB / 0.5089 GB, free: 92.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/1.309, allocations: 8.319 MB / 0.517 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06876/1.378, allocations: 48.29 MB / 0.5642 GB, free: 58.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.392, allocations: 3.555 MB / 0.5676 GB, free: 56.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/1.395, allocations: 1.518 MB / 0.5691 GB, free: 55.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.411, allocations: 6.987 MB / 0.576 GB, free: 52.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/1.411, allocations: 54.75 kB / 0.576 GB, free: 52.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.551e-06/1.411, allocations: 0 / 0.576 GB, free: 52.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.04947/1.46, allocations: 11.88 MB / 0.5876 GB, free: 47.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001279/1.462, allocations: 1.595 MB / 0.5892 GB, free: 45.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/1.469, allocations: 3.445 MB / 0.5925 GB, free: 44.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004296/1.469, allocations: 49.81 kB / 0.5926 GB, free: 44.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.471, allocations: 3.141 MB / 0.5956 GB, free: 42.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/1.472, allocations: 0.6335 MB / 0.5963 GB, free: 41.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/1.473, allocations: 121.1 kB / 0.5964 GB, free: 41.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000342/1.473, allocations: 0.5565 MB / 0.5969 GB, free: 41.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/1.477, allocations: 1.952 MB / 0.5988 GB, free: 40.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/1.484, allocations: 5.738 MB / 0.6044 GB, free: 34.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/1.491, allocations: 3.323 MB / 0.6077 GB, free: 31.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/1.491, allocations: 36 kB / 0.6077 GB, free: 31.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02271/1.514, allocations: 8.14 MB / 0.6157 GB, free: 24.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.514, allocations: 64 kB / 0.6157 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007537/1.522, allocations: 2.414 MB / 0.6181 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00511/1.527, allocations: 1.054 MB / 0.6191 GB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/1.535, allocations: 1.398 MB / 0.6205 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/1.541, allocations: 4.332 MB / 0.6247 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006916/1.548, allocations: 386.3 kB / 0.6251 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.55, allocations: 377.4 kB / 0.6254 GB, free: 15.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00217/1.552, allocations: 0.5712 MB / 0.626 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009313/1.553, allocations: 335.6 kB / 0.6263 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.564, allocations: 2.921 MB / 0.6292 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01332/1.577, allocations: 2.44 MB / 0.6315 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.204e-05/1.577, allocations: 4 kB / 0.6315 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.854e-05/1.577, allocations: 6.891 kB / 0.6316 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0399/1.617, allocations: 9.187 MB / 0.6405 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/1.617, allocations: 4.375 kB / 0.6405 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.621, allocations: 259.4 kB / 0.6408 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007684/1.628, allocations: 1.012 MB / 0.6418 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000539/1.629, allocations: 35.8 kB / 0.6418 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.642, allocations: 4.845 MB / 0.6465 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002031/1.644, allocations: 1.45 MB / 0.6479 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.666, allocations: 5.557 MB / 0.6534 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.667, allocations: 396.6 kB / 0.6538 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.669, allocations: 35.83 kB / 0.6538 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/1.673, allocations: 129 kB / 0.6539 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006518/1.674, allocations: 108.5 kB / 0.654 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.674, allocations: 44.8 kB / 0.6541 GB, free: 5.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009303/1.683, allocations: 2.373 MB / 0.6564 GB, free: 3.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.683, allocations: 4 kB / 0.6564 GB, free: 3.328 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01151/1.695, allocations: 1.005 MB / 0.6574 GB, free: 2.328 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3515/2.046, allocations: 7.034 MB / 0.6642 GB, free: 99.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01979/2.066, allocations: 5.24 MB / 0.6693 GB, free: 99.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/2.066, allocations: 1 kB / 0.6693 GB, free: 99.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0073/2.074, allocations: 2.091 MB / 0.6714 GB, free: 99.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/2.077, allocations: 416.8 kB / 0.6718 GB, free: 99.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/2.11, allocations: 9.146 MB / 0.6807 GB, free: 97.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007562/2.117, allocations: 3.286 MB / 0.6839 GB, free: 96.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008666/2.126, allocations: 1.893 MB / 0.6858 GB, free: 96.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004393/2.13, allocations: 1.854 MB / 0.6876 GB, free: 96.36 MB / 442.7 MB Notification: Performance of SimCode: time 3.036e-06/2.13, allocations: 0 / 0.6876 GB, free: 96.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/2.299, allocations: 73.94 MB / 0.7598 GB, free: 60.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/2.3, allocations: 181.8 kB / 0.76 GB, free: 60.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.264/7.563, allocations: 0 / 0.76 GB, free: 60.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat