Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.371e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 58.83 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.6309, allocations: 106.5 MB / 488.8 MB, free: 1.98 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6312, allocations: 75.95 kB / 488.9 MB, free: 1.906 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9495/1.581, allocations: 146.3 MB / 0.6203 GB, free: 53.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.215e-06/1.581, allocations: 0 / 0.6203 GB, free: 53.82 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005235/1.581, allocations: 163.9 kB / 0.6205 GB, free: 53.66 MB / 458.8 MB 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.06284/1.644, allocations: 8.88 MB / 0.6292 GB, free: 44.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.644, allocations: 12.03 kB / 0.6292 GB, free: 44.69 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006283/1.651, allocations: 1.345 MB / 0.6305 GB, free: 43.33 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05891/1.71, allocations: 7.782 MB / 0.6381 GB, free: 35.53 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04215/1.752, allocations: 11.04 MB / 0.6489 GB, free: 24.41 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007577/1.753, allocations: 0.5818 MB / 0.6494 GB, free: 23.82 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/1.757, allocations: 0.7939 MB / 0.6502 GB, free: 23.03 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06097/1.818, allocations: 18.08 MB / 0.6679 GB, free: 3.398 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008889/1.819, allocations: 107 kB / 0.668 GB, free: 3.293 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004555/1.823, allocations: 379.8 kB / 0.6683 GB, free: 2.922 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005344/1.829, allocations: 1.679 MB / 0.67 GB, free: 1.242 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06787/1.897, allocations: 14.37 MB / 0.684 GB, free: 2.848 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5129/2.409, allocations: 81.3 MB / 0.7634 GB, free: 50.73 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03708/2.447, allocations: 7.54 MB / 0.7708 GB, free: 50.06 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/2.454, allocations: 3.384 MB / 0.7741 GB, free: 50.01 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03926/2.493, allocations: 17.23 MB / 0.7909 GB, free: 45.04 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/2.493, allocations: 66.88 kB / 0.7909 GB, free: 45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 7.504e-06/2.493, allocations: 0 / 0.7909 GB, free: 45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.1129/2.606, allocations: 24.26 MB / 0.8146 GB, free: 39.43 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004757/2.611, allocations: 6.258 MB / 0.8207 GB, free: 33.32 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/2.626, allocations: 5.804 MB / 0.8264 GB, free: 31.26 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/2.627, allocations: 74.84 kB / 0.8265 GB, free: 31.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006406/2.634, allocations: 5.358 MB / 0.8317 GB, free: 27.07 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002891/2.637, allocations: 1.322 MB / 0.833 GB, free: 26.11 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/2.638, allocations: 202.9 kB / 0.8332 GB, free: 25.96 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000787/2.639, allocations: 0.7337 MB / 0.8339 GB, free: 25.47 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01309/2.652, allocations: 3.923 MB / 0.8378 GB, free: 24.13 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01895/2.671, allocations: 9.689 MB / 0.8472 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/2.689, allocations: 6.072 MB / 0.8531 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/2.69, allocations: 60 kB / 0.8532 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.0736/2.763, allocations: 15.89 MB / 0.8687 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002708/2.764, allocations: 92.22 kB / 0.8688 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05031/2.814, allocations: 7.904 MB / 0.8765 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03043/2.844, allocations: 3.905 MB / 0.8803 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/2.86, allocations: 2.368 MB / 0.8827 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/2.887, allocations: 13.53 MB / 0.8959 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/2.902, allocations: 0.8735 MB / 0.8967 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/2.904, allocations: 0.5967 MB / 0.8973 GB, free: 6.562 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.003909/2.908, allocations: 0.8823 MB / 0.8982 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/2.91, allocations: 0.5978 MB / 0.8988 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03502/2.945, allocations: 7.801 MB / 0.9064 GB, free: 14.89 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0356/2.981, allocations: 6.935 MB / 0.9131 GB, free: 8.371 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-05/2.981, allocations: 8 kB / 0.9131 GB, free: 8.363 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.981, allocations: 15.94 kB / 0.9132 GB, free: 8.348 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.472/3.453, allocations: 19.55 MB / 0.9323 GB, free: 135.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/3.453, allocations: 4.156 kB / 0.9323 GB, free: 135.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009651/3.463, allocations: 0.6572 MB / 0.9329 GB, free: 135.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02362/3.487, allocations: 3.138 MB / 0.936 GB, free: 135.5 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001178/3.488, allocations: 107 kB / 0.9361 GB, free: 135.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03082/3.519, allocations: 14.02 MB / 0.9498 GB, free: 127.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004395/3.523, allocations: 6.019 MB / 0.9556 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03396/3.557, allocations: 12.74 MB / 0.9681 GB, free: 120.7 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/3.56, allocations: 0.6544 MB / 0.9687 GB, free: 120.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/3.563, allocations: 92.58 kB / 0.9688 GB, free: 120.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008024/3.571, allocations: 386.1 kB / 0.9692 GB, free: 120.6 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001481/3.572, allocations: 250.3 kB / 0.9694 GB, free: 120.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006083/3.573, allocations: 100.2 kB / 0.9695 GB, free: 120.6 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01072/3.584, allocations: 4.033 MB / 0.9734 GB, free: 120.4 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.645e-06/3.584, allocations: 0 / 0.9734 GB, free: 120.4 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01386/3.598, allocations: 2.106 MB / 0.9755 GB, free: 120.3 MB / 0.5418 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.03709/3.635, allocations: 14.21 MB / 0.9894 GB, free: 116.2 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02993/3.665, allocations: 11.08 MB / 1 GB, free: 112.1 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/3.665, allocations: 4.969 kB / 1 GB, free: 112.1 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/3.682, allocations: 5.394 MB / 1.005 GB, free: 109.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008243/3.69, allocations: 0.8585 MB / 1.006 GB, free: 109.2 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.06251/3.753, allocations: 19.64 MB / 1.025 GB, free: 94.68 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/3.766, allocations: 5.544 MB / 1.031 GB, free: 90.65 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01479/3.78, allocations: 3.037 MB / 1.034 GB, free: 88.72 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008719/3.789, allocations: 3.729 MB / 1.038 GB, free: 85.27 MB / 0.5418 GB Notification: Performance of SimCode: time 1.764e-06/3.789, allocations: 0 / 1.038 GB, free: 85.27 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7248/4.514, allocations: 150.5 MB / 1.185 GB, free: 121.3 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/4.514, allocations: 202 kB / 1.185 GB, free: 121.1 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/13.26, allocations: 0 / 1.185 GB, free: 121.1 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat