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.159/2.159, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.548e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5565, allocations: 92.13 MB / 408.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5569, allocations: 83.53 kB / 408.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8567/1.414, allocations: 138.9 MB / 0.5346 GB, free: 80.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.414, allocations: 0 / 0.5346 GB, free: 80.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006039/1.414, allocations: 149.7 kB / 0.5348 GB, free: 80.53 MB / 410.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.06334/1.478, allocations: 8.672 MB / 0.5433 GB, free: 77.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.478, allocations: 13.69 kB / 0.5433 GB, free: 77.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05757/1.535, allocations: 7.697 MB / 0.5508 GB, free: 74.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04098/1.576, allocations: 10.91 MB / 0.5614 GB, free: 67.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005244/1.577, allocations: 244 kB / 0.5617 GB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004412/1.581, allocations: 467.7 kB / 0.5621 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02717/1.609, allocations: 10.04 MB / 0.5719 GB, free: 56.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/1.652, allocations: 15.13 MB / 0.5867 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000693/1.653, allocations: 107 kB / 0.5868 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004108/1.657, allocations: 47.94 kB / 0.5868 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004034/1.661, allocations: 1.608 MB / 0.5884 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5131/2.174, allocations: 77.63 MB / 0.6642 GB, free: 45.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/2.185, allocations: 4.37 MB / 0.6685 GB, free: 44.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006903/2.192, allocations: 3.06 MB / 0.6715 GB, free: 44.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/2.192, allocations: 41.52 kB / 0.6715 GB, free: 44.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/2.192, allocations: 66.55 kB / 0.6716 GB, free: 44.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 7.504e-06/2.192, allocations: 2.906 kB / 0.6716 GB, free: 44.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.08824/2.281, allocations: 21.64 MB / 0.6927 GB, free: 40.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.281, allocations: 233.5 kB / 0.6929 GB, free: 40.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/2.295, allocations: 5.149 MB / 0.698 GB, free: 38.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009884/2.296, allocations: 31.58 kB / 0.698 GB, free: 38.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005815/2.302, allocations: 5.292 MB / 0.7032 GB, free: 34.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/2.304, allocations: 1.174 MB / 0.7043 GB, free: 33.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/2.306, allocations: 6.406 kB / 0.7043 GB, free: 33.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009533/2.307, allocations: 0.7235 MB / 0.705 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009258/2.317, allocations: 3.698 MB / 0.7086 GB, free: 31.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0161/2.333, allocations: 9.559 MB / 0.718 GB, free: 22.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/2.346, allocations: 5.812 MB / 0.7236 GB, free: 20.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002991/2.347, allocations: 60 kB / 0.7237 GB, free: 20.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.04458/2.391, allocations: 14.07 MB / 0.7374 GB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/2.392, allocations: 96.94 kB / 0.7375 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02149/2.413, allocations: 6.594 MB / 0.744 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/2.428, allocations: 2.782 MB / 0.7467 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/2.443, allocations: 2.408 MB / 0.749 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/2.458, allocations: 10.88 MB / 0.7597 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/2.474, allocations: 0.6845 MB / 0.7603 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003096/2.477, allocations: 0.6009 MB / 0.7609 GB, free: 9.555 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 (1234): * Single equations (assignments): 1209 * 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.004109/2.481, allocations: 0.6384 MB / 0.7615 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0277/2.509, allocations: 7.471 MB / 0.7688 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002375/2.511, allocations: 0.5554 MB / 0.7694 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02775/2.539, allocations: 7.351 MB / 0.7766 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02491/2.564, allocations: 6.569 MB / 0.783 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.918e-05/2.564, allocations: 7.656 kB / 0.783 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/2.564, allocations: 18.48 kB / 0.783 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03795/2.602, allocations: 11.06 MB / 0.7938 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/2.602, allocations: 0 / 0.7938 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006723/2.609, allocations: 0.6046 MB / 0.7944 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01824/2.627, allocations: 3.078 MB / 0.7974 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.628, allocations: 63.86 kB / 0.7975 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/2.655, allocations: 13.8 MB / 0.8109 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006004/2.661, allocations: 5.787 MB / 0.8166 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4039/3.065, allocations: 11.52 MB / 0.8278 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005221/3.07, allocations: 1.103 MB / 0.8289 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002836/3.073, allocations: 36.44 kB / 0.829 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00784/3.081, allocations: 333 kB / 0.8293 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001701/3.082, allocations: 222.3 kB / 0.8295 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006892/3.083, allocations: 90.67 kB / 0.8296 GB, free: 134.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01143/3.095, allocations: 3.443 MB / 0.8329 GB, free: 134.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.095, allocations: 0 / 0.8329 GB, free: 134.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01571/3.11, allocations: 1.861 MB / 0.8347 GB, free: 134.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (239): * Single equations (assignments): 222 * 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.03658/3.147, allocations: 12.35 MB / 0.8468 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02878/3.176, allocations: 10.3 MB / 0.8569 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/3.176, allocations: 3.531 kB / 0.8569 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01641/3.192, allocations: 5.257 MB / 0.862 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007929/3.2, allocations: 0.7097 MB / 0.8627 GB, free: 128.2 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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.0618/3.262, allocations: 18.7 MB / 0.881 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/3.276, allocations: 5.406 MB / 0.8862 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01516/3.291, allocations: 2.994 MB / 0.8892 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008986/3.3, allocations: 3.596 MB / 0.8927 GB, free: 116.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.462e-06/3.3, allocations: 2.188 kB / 0.8927 GB, free: 116.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6655/3.965, allocations: 135.9 MB / 1.025 GB, free: 123.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/3.966, allocations: 148 kB / 1.026 GB, free: 123 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/12.19, allocations: 4 kB / 1.026 GB, free: 123 MB / 490.7 MB 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