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.057/2.057, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.743e-05/4.76e-05, allocations: 7.375 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.6109, allocations: 92.56 MB / 414.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.6113, allocations: 79.94 kB / 414.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9172/1.529, allocations: 142.4 MB / 0.5438 GB, free: 86.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.529, allocations: 0 / 0.5438 GB, free: 86.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006049/1.529, allocations: 157.8 kB / 0.544 GB, free: 86.93 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.06458/1.594, allocations: 8.675 MB / 0.5524 GB, free: 84.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.594, allocations: 6.688 kB / 0.5525 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007103/1.601, allocations: 1.299 MB / 0.5537 GB, free: 84.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05996/1.661, allocations: 7.698 MB / 0.5612 GB, free: 83.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04327/1.704, allocations: 10.93 MB / 0.5719 GB, free: 79.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008148/1.705, allocations: 0.5574 MB / 0.5725 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004289/1.71, allocations: 0.7587 MB / 0.5732 GB, free: 79.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05832/1.768, allocations: 17.46 MB / 0.5902 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007169/1.769, allocations: 103.1 kB / 0.5903 GB, free: 62.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/1.773, allocations: 356.1 kB / 0.5907 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/1.777, allocations: 1.606 MB / 0.5922 GB, free: 60.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04872/1.825, allocations: 14.03 MB / 0.606 GB, free: 46.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5066/2.332, allocations: 79.05 MB / 0.6831 GB, free: 42.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03704/2.369, allocations: 6.922 MB / 0.6899 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007837/2.377, allocations: 3.225 MB / 0.6931 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03896/2.416, allocations: 14.75 MB / 0.7075 GB, free: 39.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.158e-05/2.416, allocations: 65.92 kB / 0.7075 GB, free: 39.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 6.983e-06/2.416, allocations: 3.875 kB / 0.7075 GB, free: 39.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1098/2.526, allocations: 23.05 MB / 0.73 GB, free: 34.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004884/2.531, allocations: 6.246 MB / 0.7361 GB, free: 28.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/2.546, allocations: 5.761 MB / 0.7418 GB, free: 26.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009841/2.547, allocations: 67.95 kB / 0.7418 GB, free: 26.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005072/2.552, allocations: 5.28 MB / 0.747 GB, free: 21.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.555, allocations: 1.183 MB / 0.7481 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/2.556, allocations: 192.6 kB / 0.7483 GB, free: 20.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007874/2.557, allocations: 0.7208 MB / 0.749 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00983/2.567, allocations: 3.813 MB / 0.7527 GB, free: 19.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/2.581, allocations: 9.601 MB / 0.7621 GB, free: 10.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/2.595, allocations: 5.93 MB / 0.7679 GB, free: 8.309 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002802/2.596, allocations: 59.09 kB / 0.768 GB, free: 8.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04638/2.642, allocations: 15.2 MB / 0.7828 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/2.642, allocations: 95.95 kB / 0.7829 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03271/2.675, allocations: 7.225 MB / 0.79 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/2.691, allocations: 2.841 MB / 0.7927 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/2.707, allocations: 2.355 MB / 0.795 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/2.724, allocations: 11.27 MB / 0.806 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/2.745, allocations: 0.8628 MB / 0.8069 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003192/2.748, allocations: 0.5909 MB / 0.8075 GB, free: 12.02 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.004273/2.752, allocations: 0.8663 MB / 0.8083 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/2.755, allocations: 0.5823 MB / 0.8089 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03929/2.794, allocations: 7.553 MB / 0.8162 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02845/2.823, allocations: 6.716 MB / 0.8228 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.64e-05/2.823, allocations: 8 kB / 0.8228 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-05/2.823, allocations: 11.95 kB / 0.8228 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/2.845, allocations: 7.468 MB / 0.8301 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.429e-05/2.845, allocations: 0 / 0.8301 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006751/2.851, allocations: 0.6006 MB / 0.8307 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01848/2.87, allocations: 3.133 MB / 0.8338 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/2.871, allocations: 99.91 kB / 0.8339 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/2.898, allocations: 14.05 MB / 0.8476 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3346/3.232, allocations: 6.008 MB / 0.8534 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03885/3.271, allocations: 11.67 MB / 0.8648 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007844/3.279, allocations: 1.131 MB / 0.8659 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003537/3.283, allocations: 84.27 kB / 0.866 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008266/3.291, allocations: 374.7 kB / 0.8664 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001462/3.293, allocations: 221.6 kB / 0.8666 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004467/3.293, allocations: 90.12 kB / 0.8667 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01218/3.305, allocations: 4.001 MB / 0.8706 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.243e-06/3.305, allocations: 0 / 0.8706 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01352/3.319, allocations: 2.009 MB / 0.8726 GB, free: 138.6 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.03554/3.355, allocations: 12.53 MB / 0.8848 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02999/3.385, allocations: 10.71 MB / 0.8952 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/3.385, allocations: 0 / 0.8952 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/3.402, allocations: 5.324 MB / 0.9004 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008133/3.41, allocations: 0.821 MB / 0.9012 GB, free: 131.2 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.06336/3.473, allocations: 19.07 MB / 0.9199 GB, free: 124 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/3.487, allocations: 5.393 MB / 0.9251 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01459/3.501, allocations: 2.923 MB / 0.928 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008938/3.51, allocations: 3.623 MB / 0.9315 GB, free: 119 MB / 0.4948 GB Notification: Performance of SimCode: time 2.154e-06/3.51, allocations: 0 / 0.9315 GB, free: 119 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6921/4.203, allocations: 144.4 MB / 1.073 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/4.203, allocations: 194 kB / 1.073 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/12.29, allocations: 4 kB / 1.073 GB, free: 117.2 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