Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.645/2.645, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.486e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3926, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5919, allocations: 98.79 MB / 453.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.5923, allocations: 79.95 kB / 453.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7401/1.332, allocations: 80.24 MB / 0.521 GB, free: 43.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.332, allocations: 7.938 kB / 0.521 GB, free: 43.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002682/1.333, allocations: 83.92 kB / 0.5211 GB, free: 43.67 MB / 394.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.01548/1.348, allocations: 3.909 MB / 0.5249 GB, free: 39.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.348, allocations: 8.031 kB / 0.5249 GB, free: 39.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/1.369, allocations: 2.342 MB / 0.5272 GB, free: 37.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.389, allocations: 5.193 MB / 0.5323 GB, free: 32.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/1.389, allocations: 136 kB / 0.5324 GB, free: 31.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/1.392, allocations: 252 kB / 0.5327 GB, free: 31.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01627/1.408, allocations: 5.998 MB / 0.5385 GB, free: 25.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/1.432, allocations: 9.291 MB / 0.5476 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002781/1.433, allocations: 67.39 kB / 0.5477 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001748/1.434, allocations: 32 kB / 0.5477 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/1.437, allocations: 0.9946 MB / 0.5487 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08163/1.519, allocations: 47.49 MB / 0.595 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/1.525, allocations: 2.5 MB / 0.5975 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/1.528, allocations: 1.433 MB / 0.5989 GB, free: 8.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/1.529, allocations: 348 kB / 0.5992 GB, free: 8.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/1.529, allocations: 51.28 kB / 0.5993 GB, free: 8.535 MB / 442.7 MB Notification: Performance of pre-optimization done (n=145): time 6.833e-06/1.529, allocations: 7.938 kB / 0.5993 GB, free: 8.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=163): time 0.05358/1.583, allocations: 12.96 MB / 0.6119 GB, free: 11.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.583, allocations: 145.8 kB / 0.6121 GB, free: 11.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009025/1.592, allocations: 3.06 MB / 0.6151 GB, free: 8.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004707/1.593, allocations: 25.7 kB / 0.6151 GB, free: 8.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004045/1.597, allocations: 3.195 MB / 0.6182 GB, free: 4.934 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.598, allocations: 0.6441 MB / 0.6188 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/1.599, allocations: 4 kB / 0.6188 GB, free: 4.277 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006826/1.6, allocations: 0.5666 MB / 0.6194 GB, free: 3.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/1.606, allocations: 1.929 MB / 0.6213 GB, free: 1.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3699/1.976, allocations: 5.831 MB / 0.627 GB, free: 105.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009712/1.985, allocations: 3.334 MB / 0.6302 GB, free: 105.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003181/1.986, allocations: 39.97 kB / 0.6303 GB, free: 105.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.02708/2.013, allocations: 7.675 MB / 0.6378 GB, free: 104.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/2.013, allocations: 69.17 kB / 0.6378 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009162/2.022, allocations: 2.496 MB / 0.6403 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006808/2.029, allocations: 1.13 MB / 0.6414 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009696/2.039, allocations: 1.449 MB / 0.6428 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/2.047, allocations: 4.504 MB / 0.6472 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007961/2.055, allocations: 276.5 kB / 0.6474 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/2.056, allocations: 396 kB / 0.6478 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * 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 (782): * Single equations (assignments): 773 * 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.001459/2.058, allocations: 463.6 kB / 0.6483 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01136/2.069, allocations: 3.225 MB / 0.6514 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/2.07, allocations: 322 kB / 0.6517 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/2.082, allocations: 2.872 MB / 0.6545 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009322/2.091, allocations: 2.423 MB / 0.6569 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/2.091, allocations: 3.969 kB / 0.6569 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/2.091, allocations: 6.375 kB / 0.6569 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03081/2.122, allocations: 8.791 MB / 0.6655 GB, free: 99.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/2.122, allocations: 3.281 kB / 0.6655 GB, free: 99.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/2.125, allocations: 262.5 kB / 0.6657 GB, free: 99.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006274/2.131, allocations: 0.9915 MB / 0.6667 GB, free: 98.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005204/2.132, allocations: 25.12 kB / 0.6667 GB, free: 98.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009543/2.141, allocations: 4.73 MB / 0.6713 GB, free: 95.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001211/2.143, allocations: 1.388 MB / 0.6727 GB, free: 94.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/2.158, allocations: 5.603 MB / 0.6782 GB, free: 91.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/2.159, allocations: 372.4 kB / 0.6785 GB, free: 91.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/2.16, allocations: 14.92 kB / 0.6785 GB, free: 91.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/2.164, allocations: 107.6 kB / 0.6786 GB, free: 91.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005552/2.164, allocations: 116.5 kB / 0.6788 GB, free: 91.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/2.164, allocations: 47.03 kB / 0.6788 GB, free: 91.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005513/2.17, allocations: 2.023 MB / 0.6808 GB, free: 90.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.17, allocations: 3.938 kB / 0.6808 GB, free: 90.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008674/2.179, allocations: 0.9049 MB / 0.6817 GB, free: 90.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET4812951944.x[3],$STATESET4812951944.x[2],$STATESET4812951944.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 (132): * Single equations (assignments): 125 * 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.01487/2.194, allocations: 7.08 MB / 0.6886 GB, free: 84.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01498/2.209, allocations: 5.217 MB / 0.6937 GB, free: 79.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.209, allocations: 0 / 0.6937 GB, free: 79.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007406/2.216, allocations: 2.1 MB / 0.6957 GB, free: 78.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/2.22, allocations: 354 kB / 0.6961 GB, free: 77.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/2.252, allocations: 9.019 MB / 0.7049 GB, free: 70.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007524/2.259, allocations: 3.292 MB / 0.7081 GB, free: 67.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01059/2.27, allocations: 1.984 MB / 0.71 GB, free: 66.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004927/2.275, allocations: 1.848 MB / 0.7118 GB, free: 64.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.835e-06/2.275, allocations: 0 / 0.7118 GB, free: 64.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2483/2.523, allocations: 70.38 MB / 0.7806 GB, free: 13.13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004217/2.524, allocations: 132.1 kB / 0.7807 GB, free: 12.94 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.557/8.081, allocations: 3.828 kB / 0.7807 GB, free: 12.94 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat