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.415/2.415, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.935e-05/4.954e-05, allocations: 8 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4283, allocations: 54.84 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.6516, allocations: 99.27 MB / 459.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6519, allocations: 76.73 kB / 459.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9242/1.576, allocations: 142.6 MB / 0.5877 GB, free: 95.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.576, allocations: 0 / 0.5877 GB, free: 95.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006178/1.577, allocations: 160.5 kB / 0.5878 GB, free: 95.19 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.0861/1.663, allocations: 8.673 MB / 0.5963 GB, free: 90.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.663, allocations: 11.81 kB / 0.5963 GB, free: 90.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01628/1.679, allocations: 1.303 MB / 0.5976 GB, free: 89.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0719/1.751, allocations: 7.748 MB / 0.6051 GB, free: 83.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04111/1.792, allocations: 10.95 MB / 0.6158 GB, free: 72.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/1.793, allocations: 0.5625 MB / 0.6164 GB, free: 71.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/1.797, allocations: 0.7583 MB / 0.6171 GB, free: 71.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0573/1.855, allocations: 17.45 MB / 0.6342 GB, free: 52.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000675/1.856, allocations: 111 kB / 0.6343 GB, free: 51.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003548/1.859, allocations: 359.8 kB / 0.6346 GB, free: 51.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.863, allocations: 1.597 MB / 0.6362 GB, free: 50 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06108/1.924, allocations: 14.02 MB / 0.6499 GB, free: 35.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5279/2.452, allocations: 79.07 MB / 0.7271 GB, free: 48.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03784/2.49, allocations: 6.908 MB / 0.7338 GB, free: 48.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007836/2.498, allocations: 3.212 MB / 0.737 GB, free: 48.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04282/2.541, allocations: 14.8 MB / 0.7514 GB, free: 45.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.454e-05/2.541, allocations: 60.38 kB / 0.7515 GB, free: 45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 1.09e-05/2.541, allocations: 0 / 0.7515 GB, free: 45 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1288/2.67, allocations: 23.06 MB / 0.774 GB, free: 38.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00481/2.675, allocations: 6.236 MB / 0.7801 GB, free: 32.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/2.69, allocations: 5.757 MB / 0.7857 GB, free: 30.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.691, allocations: 72.03 kB / 0.7858 GB, free: 30.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005478/2.697, allocations: 5.278 MB / 0.7909 GB, free: 26.53 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00237/2.699, allocations: 1.188 MB / 0.7921 GB, free: 25.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/2.701, allocations: 190.4 kB / 0.7923 GB, free: 25.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001062/2.702, allocations: 0.7161 MB / 0.793 GB, free: 25.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/2.712, allocations: 3.844 MB / 0.7967 GB, free: 23.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01513/2.727, allocations: 9.625 MB / 0.8061 GB, free: 14.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/2.742, allocations: 5.959 MB / 0.8119 GB, free: 12.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000278/2.743, allocations: 59.72 kB / 0.812 GB, free: 12.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.06125/2.804, allocations: 16.2 MB / 0.8278 GB, free: 76 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003241/2.804, allocations: 99.67 kB / 0.8279 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03779/2.842, allocations: 7.68 MB / 0.8354 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03089/2.873, allocations: 3.91 MB / 0.8392 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/2.889, allocations: 2.297 MB / 0.8415 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02726/2.916, allocations: 13.58 MB / 0.8547 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/2.932, allocations: 0.858 MB / 0.8556 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003021/2.935, allocations: 0.5929 MB / 0.8561 GB, free: 6.645 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.005131/2.94, allocations: 0.8545 MB / 0.857 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002616/2.943, allocations: 0.5784 MB / 0.8575 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03221/2.975, allocations: 7.57 MB / 0.8649 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02893/3.004, allocations: 6.708 MB / 0.8715 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/3.004, allocations: 8 kB / 0.8715 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/3.004, allocations: 11.95 kB / 0.8715 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/3.031, allocations: 7.456 MB / 0.8788 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.502e-05/3.031, allocations: 4 kB / 0.8788 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006883/3.038, allocations: 0.6045 MB / 0.8794 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01862/3.057, allocations: 3.136 MB / 0.8824 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/3.058, allocations: 95.91 kB / 0.8825 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02725/3.085, allocations: 14.04 MB / 0.8962 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006853/3.092, allocations: 6.015 MB / 0.9021 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4369/3.529, allocations: 11.67 MB / 0.9135 GB, free: 162 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/3.532, allocations: 0.6359 MB / 0.9141 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003424/3.536, allocations: 78.77 kB / 0.9142 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008553/3.544, allocations: 378.6 kB / 0.9146 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/3.546, allocations: 218.8 kB / 0.9148 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001185/3.548, allocations: 90.02 kB / 0.9149 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01546/3.563, allocations: 4.003 MB / 0.9188 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.092e-06/3.563, allocations: 0 / 0.9188 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01744/3.581, allocations: 2.032 MB / 0.9208 GB, free: 161.7 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.04278/3.624, allocations: 12.53 MB / 0.933 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03313/3.657, allocations: 11.15 MB / 0.9439 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/3.657, allocations: 1.438 kB / 0.9439 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01825/3.675, allocations: 5.332 MB / 0.9491 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009296/3.684, allocations: 0.8224 MB / 0.9499 GB, free: 156.2 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.0716/3.756, allocations: 19.06 MB / 0.9685 GB, free: 148.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01584/3.772, allocations: 5.404 MB / 0.9738 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01582/3.788, allocations: 2.924 MB / 0.9767 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01017/3.798, allocations: 3.618 MB / 0.9802 GB, free: 143.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.034e-06/3.798, allocations: 0 / 0.9802 GB, free: 143.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7812/4.579, allocations: 148.2 MB / 1.125 GB, free: 147.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/4.58, allocations: 192.9 kB / 1.125 GB, free: 147.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/13.19, allocations: 0 / 1.125 GB, free: 147.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