Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.042/2.042, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.576e-05, allocations: 5.547 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6043, allocations: 92.58 MB / 414.5 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.6046, allocations: 71.97 kB / 414.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9714/1.576, allocations: 142.4 MB / 0.5439 GB, free: 87.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.576, allocations: 0 / 0.5439 GB, free: 87.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005757/1.577, allocations: 154 kB / 0.544 GB, free: 87.6 MB / 426.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.06341/1.64, allocations: 8.671 MB / 0.5525 GB, free: 84.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.64, allocations: 8.656 kB / 0.5525 GB, free: 84.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006552/1.647, allocations: 1.303 MB / 0.5538 GB, free: 84.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05927/1.706, allocations: 7.7 MB / 0.5613 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04151/1.748, allocations: 10.92 MB / 0.5719 GB, free: 80.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007972/1.748, allocations: 0.5602 MB / 0.5725 GB, free: 80 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/1.753, allocations: 0.7568 MB / 0.5732 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0581/1.811, allocations: 17.36 MB / 0.5902 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007554/1.812, allocations: 103.1 kB / 0.5903 GB, free: 62.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003988/1.816, allocations: 360.8 kB / 0.5906 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003909/1.82, allocations: 1.599 MB / 0.5922 GB, free: 61.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04707/1.867, allocations: 13.75 MB / 0.6056 GB, free: 47.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5302/2.397, allocations: 79.05 MB / 0.6828 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03704/2.434, allocations: 6.896 MB / 0.6895 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007702/2.442, allocations: 3.228 MB / 0.6927 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03793/2.48, allocations: 14.75 MB / 0.7071 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/2.48, allocations: 63.94 kB / 0.7072 GB, free: 40.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 7.313e-06/2.48, allocations: 0 / 0.7072 GB, free: 40.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.11/2.59, allocations: 23.05 MB / 0.7297 GB, free: 35.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004811/2.595, allocations: 6.242 MB / 0.7358 GB, free: 28.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/2.61, allocations: 5.76 MB / 0.7414 GB, free: 26.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009486/2.611, allocations: 63.47 kB / 0.7415 GB, free: 26.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005034/2.616, allocations: 5.282 MB / 0.7466 GB, free: 22.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002177/2.619, allocations: 1.192 MB / 0.7478 GB, free: 21.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/2.62, allocations: 190 kB / 0.748 GB, free: 21.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007427/2.621, allocations: 0.7154 MB / 0.7487 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009756/2.631, allocations: 3.816 MB / 0.7524 GB, free: 19.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/2.645, allocations: 9.547 MB / 0.7617 GB, free: 10.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/2.658, allocations: 5.928 MB / 0.7675 GB, free: 9.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002351/2.658, allocations: 55.28 kB / 0.7676 GB, free: 9.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04555/2.704, allocations: 14.63 MB / 0.7818 GB, free: 2.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000159/2.704, allocations: 92 kB / 0.7819 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02424/2.728, allocations: 6.768 MB / 0.7885 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/2.745, allocations: 2.838 MB / 0.7913 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02039/2.765, allocations: 2.348 MB / 0.7936 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04439/2.81, allocations: 11.27 MB / 0.8046 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03256/2.842, allocations: 0.8562 MB / 0.8054 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003702/2.846, allocations: 0.5885 MB / 0.806 GB, free: 12.03 MB / 474.7 MB 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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0056/2.852, allocations: 0.8604 MB / 0.8069 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/2.854, allocations: 0.5862 MB / 0.8074 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03925/2.894, allocations: 7.555 MB / 0.8148 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02663/2.92, allocations: 6.735 MB / 0.8214 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-05/2.921, allocations: 7.953 kB / 0.8214 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/2.921, allocations: 15.95 kB / 0.8214 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/2.946, allocations: 7.466 MB / 0.8287 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-05/2.946, allocations: 2.906 kB / 0.8287 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006896/2.953, allocations: 0.6007 MB / 0.8293 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0185/2.972, allocations: 3.136 MB / 0.8324 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/2.973, allocations: 95.91 kB / 0.8324 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/3, allocations: 14.03 MB / 0.8461 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3411/3.341, allocations: 6.004 MB / 0.852 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03854/3.379, allocations: 11.68 MB / 0.8634 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0054/3.385, allocations: 1.13 MB / 0.8645 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/3.387, allocations: 78.95 kB / 0.8646 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00804/3.395, allocations: 378.5 kB / 0.8649 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/3.397, allocations: 221.3 kB / 0.8652 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005403/3.398, allocations: 85.56 kB / 0.8652 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01272/3.41, allocations: 4.002 MB / 0.8691 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.41e-07/3.41, allocations: 5.312 kB / 0.8692 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01515/3.426, allocations: 2.009 MB / 0.8711 GB, free: 139.4 MB / 0.4948 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.03622/3.462, allocations: 12.52 MB / 0.8833 GB, free: 138 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03018/3.492, allocations: 10.4 MB / 0.8935 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/3.492, allocations: 0 / 0.8935 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01733/3.51, allocations: 5.273 MB / 0.8987 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008738/3.518, allocations: 0.828 MB / 0.8995 GB, free: 132.1 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1845:5-1847: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.1/Mechanics/MultiBody/Parts.mo:1845:5-1847: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.1/Mechanics/MultiBody/Parts.mo:1845:5-1847: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.1/Mechanics/MultiBody/Parts.mo:1842:5-1844: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.1/Mechanics/MultiBody/Parts.mo:1842:5-1844: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.1/Mechanics/MultiBody/Parts.mo:1842:5-1844: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.06557/3.584, allocations: 19.03 MB / 0.918 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/3.597, allocations: 5.395 MB / 0.9233 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01551/3.613, allocations: 2.927 MB / 0.9262 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009282/3.622, allocations: 3.618 MB / 0.9297 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.866e-06/3.622, allocations: 0 / 0.9297 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6988/4.321, allocations: 143.6 MB / 1.07 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/4.321, allocations: 196.7 kB / 1.07 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/12.84, allocations: 0 / 1.07 GB, free: 117.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat