Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.08e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4003, allocations: 61.86 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.6003, allocations: 108.4 MB / 0.5066 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6006, allocations: 71.97 kB / 0.5067 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6691/1.27, allocations: 82.87 MB / 0.5876 GB, free: 54.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.27, allocations: 0 / 0.5876 GB, free: 54.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002516/1.27, allocations: 84 kB / 0.5877 GB, free: 54.51 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01535/1.285, allocations: 3.9 MB / 0.5915 GB, free: 50.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.285, allocations: 8.031 kB / 0.5915 GB, free: 50.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003256/1.289, allocations: 0.746 MB / 0.5923 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/1.307, allocations: 2.334 MB / 0.5945 GB, free: 47.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/1.325, allocations: 5.023 MB / 0.5994 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/1.325, allocations: 320.2 kB / 0.5997 GB, free: 42.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/1.328, allocations: 419.8 kB / 0.6001 GB, free: 41.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.358, allocations: 10.24 MB / 0.6101 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/1.358, allocations: 63.41 kB / 0.6102 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/1.36, allocations: 207.9 kB / 0.6104 GB, free: 30.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/1.362, allocations: 0.9907 MB / 0.6114 GB, free: 29.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/1.387, allocations: 8.086 MB / 0.6193 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07439/1.462, allocations: 48.12 MB / 0.6663 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.478, allocations: 3.657 MB / 0.6698 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003881/1.482, allocations: 1.537 MB / 0.6713 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01936/1.502, allocations: 7.628 MB / 0.6788 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.502, allocations: 55.33 kB / 0.6788 GB, free: 5.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 7.725e-06/1.502, allocations: 0 / 0.6788 GB, free: 5.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.05608/1.558, allocations: 12.01 MB / 0.6906 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001668/1.56, allocations: 1.596 MB / 0.6921 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008727/1.569, allocations: 3.405 MB / 0.6954 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004468/1.569, allocations: 49.7 kB / 0.6955 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003588/1.573, allocations: 3.094 MB / 0.6985 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.574, allocations: 0.6443 MB / 0.6991 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/1.575, allocations: 116 kB / 0.6993 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005798/1.575, allocations: 0.5658 MB / 0.6998 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/1.581, allocations: 1.929 MB / 0.7017 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009018/1.59, allocations: 5.62 MB / 0.7072 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/1.598, allocations: 3.287 MB / 0.7104 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.598, allocations: 40 kB / 0.7104 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.4147/2.013, allocations: 7.768 MB / 0.718 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/2.013, allocations: 66.02 kB / 0.7181 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008262/2.022, allocations: 2.487 MB / 0.7205 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/2.028, allocations: 1.127 MB / 0.7216 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008086/2.036, allocations: 1.366 MB / 0.7229 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/2.043, allocations: 4.68 MB / 0.7275 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006872/2.05, allocations: 384.2 kB / 0.7279 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/2.052, allocations: 375.7 kB / 0.7282 GB, free: 125.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (742): * Single equations (assignments): 733 * 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 {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 prepare postOptimizeDAE: time 0.001808/2.054, allocations: 0.5691 MB / 0.7288 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/2.055, allocations: 338.7 kB / 0.7291 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009738/2.064, allocations: 2.894 MB / 0.7319 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007951/2.072, allocations: 2.42 MB / 0.7343 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/2.072, allocations: 5.5 kB / 0.7343 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/2.072, allocations: 10.61 kB / 0.7343 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/2.1, allocations: 9.189 MB / 0.7433 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/2.1, allocations: 7.281 kB / 0.7433 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/2.102, allocations: 251.5 kB / 0.7435 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005317/2.108, allocations: 1.014 MB / 0.7445 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004069/2.108, allocations: 43.36 kB / 0.7446 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/2.116, allocations: 4.83 MB / 0.7493 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001145/2.117, allocations: 1.459 MB / 0.7507 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/2.13, allocations: 5.626 MB / 0.7562 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/2.132, allocations: 398.5 kB / 0.7566 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/2.133, allocations: 32.94 kB / 0.7566 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/2.136, allocations: 126.5 kB / 0.7567 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/2.137, allocations: 108.1 kB / 0.7568 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/2.137, allocations: 51.8 kB / 0.7569 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006357/2.143, allocations: 2.338 MB / 0.7592 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.012e-06/2.144, allocations: 3.656 kB / 0.7592 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007445/2.151, allocations: 1.015 MB / 0.7602 GB, free: 116.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (126): * Single equations (assignments): 119 * 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.01453/2.166, allocations: 7.271 MB / 0.7673 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.18, allocations: 5.146 MB / 0.7723 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.18, allocations: 0 / 0.7723 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006726/2.186, allocations: 2.065 MB / 0.7743 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/2.19, allocations: 427.4 kB / 0.7747 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/2.218, allocations: 9.04 MB / 0.7835 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007072/2.226, allocations: 3.27 MB / 0.7867 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008628/2.234, allocations: 1.863 MB / 0.7886 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004504/2.239, allocations: 1.829 MB / 0.7903 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of SimCode: time 2.435e-06/2.239, allocations: 3.938 kB / 0.7903 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/2.412, allocations: 73.71 MB / 0.8623 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/2.412, allocations: 180.8 kB / 0.8625 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.463/7.875, allocations: 0 / 0.8625 GB, free: 28.03 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat