Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.687e-05, allocations: 7.938 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3675, allocations: 54.86 MB / 354.4 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.5449, allocations: 98.6 MB / 453 MB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5452, allocations: 71.97 kB / 453 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8943/1.44, allocations: 139.1 MB / 0.5782 GB, free: 16.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.44, allocations: 0 / 0.5782 GB, free: 16.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007689/1.44, allocations: 152 kB / 0.5784 GB, free: 16.27 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.07353/1.514, allocations: 8.679 MB / 0.5869 GB, free: 7.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.514, allocations: 8.031 kB / 0.5869 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05886/1.573, allocations: 7.752 MB / 0.5944 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04564/1.619, allocations: 10.95 MB / 0.6051 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/1.619, allocations: 244 kB / 0.6054 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00418/1.623, allocations: 447.8 kB / 0.6058 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03045/1.654, allocations: 10.04 MB / 0.6156 GB, free: 9.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/1.701, allocations: 15.14 MB / 0.6304 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007243/1.701, allocations: 103.1 kB / 0.6305 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003645/1.705, allocations: 44 kB / 0.6305 GB, free: 9.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/1.71, allocations: 1.601 MB / 0.6321 GB, free: 7.586 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4819/2.192, allocations: 77.62 MB / 0.7079 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008711/2.2, allocations: 4.348 MB / 0.7121 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/2.206, allocations: 3.043 MB / 0.7151 GB, free: 31.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/2.207, allocations: 46.97 kB / 0.7151 GB, free: 31.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/2.207, allocations: 66.22 kB / 0.7152 GB, free: 31.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 6.813e-06/2.207, allocations: 0 / 0.7152 GB, free: 31.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.08148/2.288, allocations: 21.6 MB / 0.7363 GB, free: 23.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.288, allocations: 244.4 kB / 0.7365 GB, free: 23.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/2.299, allocations: 5.138 MB / 0.7415 GB, free: 21.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009679/2.3, allocations: 25.7 kB / 0.7416 GB, free: 21.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004721/2.305, allocations: 5.304 MB / 0.7467 GB, free: 17.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002067/2.307, allocations: 1.164 MB / 0.7479 GB, free: 16.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/2.308, allocations: 3.656 kB / 0.7479 GB, free: 16.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007095/2.309, allocations: 0.7248 MB / 0.7486 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008633/2.318, allocations: 3.7 MB / 0.7522 GB, free: 14.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.33, allocations: 9.578 MB / 0.7616 GB, free: 5.387 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/2.343, allocations: 5.8 MB / 0.7672 GB, free: 1.535 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002298/2.343, allocations: 60 kB / 0.7673 GB, free: 1.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.062/2.405, allocations: 15.21 MB / 0.7821 GB, free: 5.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/2.405, allocations: 96 kB / 0.7822 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03568/2.441, allocations: 7.508 MB / 0.7896 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0296/2.471, allocations: 3.857 MB / 0.7933 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/2.486, allocations: 2.355 MB / 0.7956 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02592/2.512, allocations: 13.13 MB / 0.8084 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01443/2.526, allocations: 0.6827 MB / 0.8091 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/2.529, allocations: 0.6019 MB / 0.8097 GB, free: 13.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1225): * Single equations (assignments): 1200 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003528/2.533, allocations: 0.6429 MB / 0.8103 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02732/2.56, allocations: 7.453 MB / 0.8176 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002546/2.563, allocations: 0.5515 MB / 0.8181 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02826/2.591, allocations: 7.322 MB / 0.8253 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4406/3.032, allocations: 6.549 MB / 0.8317 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-05/3.032, allocations: 8.844 kB / 0.8317 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/3.032, allocations: 17.78 kB / 0.8317 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0438/3.076, allocations: 10.99 MB / 0.8425 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/3.076, allocations: 0 / 0.8425 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008338/3.084, allocations: 0.6094 MB / 0.843 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02174/3.106, allocations: 3.069 MB / 0.846 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/3.107, allocations: 65.58 kB / 0.8461 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/3.13, allocations: 13.75 MB / 0.8595 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004395/3.134, allocations: 5.783 MB / 0.8652 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/3.166, allocations: 11.52 MB / 0.8764 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/3.168, allocations: 0.5998 MB / 0.877 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002656/3.171, allocations: 37.36 kB / 0.877 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007281/3.178, allocations: 334.5 kB / 0.8774 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00153/3.18, allocations: 221.4 kB / 0.8776 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006994/3.181, allocations: 93.16 kB / 0.8777 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009291/3.19, allocations: 3.441 MB / 0.881 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.31e-07/3.19, allocations: 0 / 0.881 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01366/3.204, allocations: 1.885 MB / 0.8829 GB, free: 100.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140003823329675.x[3],$STATESET140003823329675.x[2],$STATESET140003823329675.x[1],$STATESET140003823329674.x[3],$STATESET140003823329674.x[2],$STATESET140003823329674.x[1],$STATESET140003823329673.x[3],$STATESET140003823329673.x[2],$STATESET140003823329673.x[1],$STATESET140003823329672.x[3],$STATESET140003823329672.x[2],$STATESET140003823329672.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03345/3.237, allocations: 12.33 MB / 0.8949 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0266/3.264, allocations: 10.7 MB / 0.9054 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/3.264, allocations: 0 / 0.9054 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01532/3.279, allocations: 5.223 MB / 0.9105 GB, free: 89.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/3.286, allocations: 0.7018 MB / 0.9111 GB, free: 89.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05658/3.343, allocations: 18.68 MB / 0.9294 GB, free: 74.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01312/3.356, allocations: 5.405 MB / 0.9347 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01479/3.371, allocations: 2.994 MB / 0.9376 GB, free: 68.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01091/3.382, allocations: 3.575 MB / 0.9411 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/3.382, allocations: 0 / 0.9411 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7123/4.094, allocations: 139.5 MB / 1.077 GB, free: 113 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/4.094, allocations: 136.9 kB / 1.077 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/11.92, allocations: 0 / 1.077 GB, free: 112.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat