Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.628e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5539/0.6888, allocations: 108.6 MB / 0.5068 GB, free: 11.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.6891, allocations: 75.95 kB / 0.5069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044/1.733, allocations: 148.1 MB / 0.6515 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.677e-06/1.733, allocations: 0 / 0.6515 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005596/1.734, allocations: 160 kB / 0.6517 GB, free: 106 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.08436/1.818, allocations: 8.855 MB / 0.6603 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/1.818, allocations: 10.38 kB / 0.6603 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009165/1.828, allocations: 1.351 MB / 0.6616 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07629/1.904, allocations: 7.783 MB / 0.6692 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03894/1.943, allocations: 10.43 MB / 0.6794 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007552/1.944, allocations: 0.5863 MB / 0.68 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004065/1.948, allocations: 0.7897 MB / 0.6808 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05805/2.006, allocations: 18.08 MB / 0.6984 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005603/2.007, allocations: 111.2 kB / 0.6985 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003198/2.01, allocations: 372.7 kB / 0.6989 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/2.014, allocations: 1.688 MB / 0.7005 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04972/2.064, allocations: 14.37 MB / 0.7146 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/2.194, allocations: 81.2 MB / 0.7938 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04091/2.235, allocations: 7.54 MB / 0.8012 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008823/2.244, allocations: 3.388 MB / 0.8045 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.452/2.696, allocations: 17.16 MB / 0.8213 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.481e-05/2.696, allocations: 71.27 kB / 0.8213 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 9.648e-06/2.696, allocations: 3.938 kB / 0.8213 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1295/2.826, allocations: 24.02 MB / 0.8448 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0048/2.831, allocations: 6.252 MB / 0.8509 GB, free: 101 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/2.845, allocations: 5.731 MB / 0.8565 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000934/2.846, allocations: 80.23 kB / 0.8566 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005047/2.851, allocations: 5.341 MB / 0.8618 GB, free: 97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002228/2.853, allocations: 1.325 MB / 0.8631 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/2.855, allocations: 196.3 kB / 0.8633 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008715/2.856, allocations: 0.7325 MB / 0.864 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009829/2.866, allocations: 3.921 MB / 0.8678 GB, free: 94.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/2.879, allocations: 9.693 MB / 0.8773 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/2.892, allocations: 6.074 MB / 0.8832 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/2.893, allocations: 58.12 kB / 0.8833 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.0573/2.95, allocations: 15.87 MB / 0.8988 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.95, allocations: 92.75 kB / 0.8989 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03385/2.984, allocations: 7.908 MB / 0.9066 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04317/3.027, allocations: 3.909 MB / 0.9104 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02074/3.048, allocations: 2.368 MB / 0.9127 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03464/3.083, allocations: 13.54 MB / 0.9259 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02228/3.105, allocations: 0.874 MB / 0.9268 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/3.109, allocations: 0.5971 MB / 0.9274 GB, free: 60.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (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.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 (1240): * Single equations (assignments): 1215 * 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.005213/3.114, allocations: 0.8871 MB / 0.9282 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002815/3.117, allocations: 0.5939 MB / 0.9288 GB, free: 59.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04134/3.158, allocations: 7.796 MB / 0.9364 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02629/3.184, allocations: 6.932 MB / 0.9432 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-05/3.185, allocations: 12 kB / 0.9432 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-05/3.185, allocations: 16.27 kB / 0.9432 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05886/3.243, allocations: 19.54 MB / 0.9623 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/3.244, allocations: 4 kB / 0.9623 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00685/3.25, allocations: 0.6663 MB / 0.963 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01695/3.267, allocations: 3.133 MB / 0.966 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/3.269, allocations: 110.7 kB / 0.9661 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/3.289, allocations: 14.01 MB / 0.9798 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004244/3.293, allocations: 6.028 MB / 0.9857 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/3.328, allocations: 12.73 MB / 0.9981 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/3.331, allocations: 0.6533 MB / 0.9988 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/3.334, allocations: 87.97 kB / 0.9989 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007834/3.342, allocations: 379.4 kB / 0.9992 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/3.343, allocations: 245.5 kB / 0.9995 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004943/3.343, allocations: 99.94 kB / 0.9996 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01222/3.356, allocations: 3.979 MB / 1.003 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.61e-07/3.356, allocations: 0 / 1.003 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01769/3.373, allocations: 2.106 MB / 1.005 GB, free: 3.152 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (269): * Single equations (assignments): 252 * 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.4584/3.832, allocations: 14.22 MB / 1.019 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03338/3.865, allocations: 11.08 MB / 1.03 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/3.865, allocations: 1.031 kB / 1.03 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/3.882, allocations: 5.4 MB / 1.035 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00814/3.891, allocations: 0.8561 MB / 1.036 GB, free: 123.9 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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.06506/3.956, allocations: 19.59 MB / 1.055 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01479/3.971, allocations: 5.521 MB / 1.061 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01562/3.986, allocations: 3.03 MB / 1.064 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009528/3.996, allocations: 3.715 MB / 1.067 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.004e-06/3.996, allocations: 2.297 kB / 1.067 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3273/4.323, allocations: 150 MB / 1.214 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/4.324, allocations: 209.1 kB / 1.214 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/13.24, allocations: 0 / 1.214 GB, free: 3.02 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat