Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.355e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4154, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6037, allocations: 99.28 MB / 459.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.604, allocations: 77.42 kB / 459.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9414/1.545, allocations: 142.6 MB / 0.5877 GB, free: 95.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.546, allocations: 0 / 0.5877 GB, free: 95.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005371/1.546, allocations: 157.4 kB / 0.5878 GB, free: 95.17 MB / 458.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.06165/1.608, allocations: 8.671 MB / 0.5963 GB, free: 90.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.608, allocations: 9.312 kB / 0.5963 GB, free: 90.09 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007043/1.615, allocations: 1.301 MB / 0.5976 GB, free: 89.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05963/1.675, allocations: 7.748 MB / 0.6052 GB, free: 83.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04039/1.715, allocations: 10.96 MB / 0.6159 GB, free: 72.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006971/1.716, allocations: 0.5596 MB / 0.6164 GB, free: 71.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004035/1.72, allocations: 0.7582 MB / 0.6171 GB, free: 71.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05473/1.775, allocations: 17.36 MB / 0.6341 GB, free: 52.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006139/1.775, allocations: 111 kB / 0.6342 GB, free: 52.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003591/1.779, allocations: 359.8 kB / 0.6346 GB, free: 51.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003816/1.783, allocations: 1.6 MB / 0.6361 GB, free: 50.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04623/1.829, allocations: 13.74 MB / 0.6495 GB, free: 36.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5418/2.371, allocations: 79.06 MB / 0.7267 GB, free: 49.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03815/2.409, allocations: 6.895 MB / 0.7335 GB, free: 48.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008065/2.417, allocations: 3.217 MB / 0.7366 GB, free: 48.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03896/2.456, allocations: 14.79 MB / 0.7511 GB, free: 45.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/2.456, allocations: 67.88 kB / 0.7511 GB, free: 45.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.284e-06/2.456, allocations: 2.844 kB / 0.7511 GB, free: 45.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.112/2.568, allocations: 23.04 MB / 0.7736 GB, free: 39.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00522/2.574, allocations: 6.251 MB / 0.7797 GB, free: 33.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01653/2.59, allocations: 5.754 MB / 0.7853 GB, free: 30.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009561/2.591, allocations: 72.8 kB / 0.7854 GB, free: 30.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005563/2.597, allocations: 5.279 MB / 0.7906 GB, free: 26.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002569/2.599, allocations: 1.181 MB / 0.7917 GB, free: 26.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/2.602, allocations: 194.1 kB / 0.7919 GB, free: 25.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001258/2.603, allocations: 0.7192 MB / 0.7926 GB, free: 25.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01042/2.613, allocations: 3.838 MB / 0.7964 GB, free: 24.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01466/2.628, allocations: 9.573 MB / 0.8057 GB, free: 15.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/2.643, allocations: 5.96 MB / 0.8115 GB, free: 13.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/2.643, allocations: 57.84 kB / 0.8116 GB, free: 13.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05916/2.702, allocations: 15.63 MB / 0.8268 GB, free: 1.008 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/2.702, allocations: 92 kB / 0.8269 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0446/2.747, allocations: 8.091 MB / 0.8348 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04033/2.787, allocations: 3.905 MB / 0.8386 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02075/2.808, allocations: 2.303 MB / 0.8409 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03516/2.843, allocations: 13.56 MB / 0.8541 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01562/2.859, allocations: 0.8658 MB / 0.855 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002926/2.862, allocations: 0.5858 MB / 0.8556 GB, free: 7.719 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * 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 (1195): * Single equations (assignments): 1170 * 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.003732/2.866, allocations: 0.8638 MB / 0.8564 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/2.868, allocations: 0.5823 MB / 0.857 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/2.898, allocations: 7.549 MB / 0.8643 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02654/2.925, allocations: 6.716 MB / 0.8709 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/2.925, allocations: 8 kB / 0.8709 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/2.925, allocations: 14.11 kB / 0.8709 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/2.949, allocations: 7.459 MB / 0.8782 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.862e-05/2.949, allocations: 4 kB / 0.8782 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006975/2.956, allocations: 0.6006 MB / 0.8788 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01912/2.975, allocations: 3.128 MB / 0.8818 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00133/2.977, allocations: 99.91 kB / 0.8819 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/3.004, allocations: 14.04 MB / 0.8956 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006288/3.011, allocations: 6.007 MB / 0.9015 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4397/3.45, allocations: 11.66 MB / 0.9129 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/3.453, allocations: 0.6403 MB / 0.9135 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003149/3.456, allocations: 82.11 kB / 0.9136 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00853/3.465, allocations: 368.9 kB / 0.914 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/3.467, allocations: 224.6 kB / 0.9142 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008728/3.468, allocations: 87.38 kB / 0.9143 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0142/3.482, allocations: 4.001 MB / 0.9182 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.092e-06/3.482, allocations: 0 / 0.9182 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01634/3.498, allocations: 2.032 MB / 0.9201 GB, free: 160.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_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 (233): * Single equations (assignments): 216 * 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.04051/3.539, allocations: 12.54 MB / 0.9324 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03184/3.571, allocations: 10.84 MB / 0.943 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/3.571, allocations: 1.031 kB / 0.943 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01778/3.589, allocations: 5.276 MB / 0.9481 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008918/3.598, allocations: 0.8275 MB / 0.9489 GB, free: 155.8 MB / 0.5417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06692/3.665, allocations: 19.02 MB / 0.9675 GB, free: 148.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/3.679, allocations: 5.409 MB / 0.9728 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01571/3.695, allocations: 2.922 MB / 0.9756 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009422/3.704, allocations: 3.617 MB / 0.9792 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.394e-06/3.704, allocations: 3.094 kB / 0.9792 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7231/4.427, allocations: 147.3 MB / 1.123 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/4.428, allocations: 196 kB / 1.123 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/13, allocations: 0 / 1.123 GB, free: 145.3 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat