Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.868e-05, allocations: 4 kB / 299.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3685, allocations: 54.86 MB / 354.3 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.5492, allocations: 98.61 MB / 453 MB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5496, allocations: 75.95 kB / 453 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8472/1.397, allocations: 139.1 MB / 0.5782 GB, free: 16.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.397, allocations: 0 / 0.5782 GB, free: 16.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005663/1.397, allocations: 156 kB / 0.5784 GB, free: 16.26 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.06175/1.459, allocations: 8.667 MB / 0.5869 GB, free: 7.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.459, allocations: 12.03 kB / 0.5869 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07925/1.538, allocations: 7.748 MB / 0.5944 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06878/1.607, allocations: 10.95 MB / 0.6051 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008344/1.608, allocations: 244 kB / 0.6054 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005203/1.613, allocations: 467.7 kB / 0.6058 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04228/1.656, allocations: 10.03 MB / 0.6156 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05216/1.708, allocations: 15.14 MB / 0.6304 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008669/1.709, allocations: 107 kB / 0.6305 GB, free: 9.215 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004335/1.713, allocations: 52 kB / 0.6305 GB, free: 9.164 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005978/1.719, allocations: 1.601 MB / 0.6321 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9662/2.686, allocations: 77.66 MB / 0.7079 GB, free: 30.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009128/2.695, allocations: 4.361 MB / 0.7122 GB, free: 29.73 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006091/2.701, allocations: 3.053 MB / 0.7152 GB, free: 29.69 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/2.701, allocations: 45.14 kB / 0.7152 GB, free: 29.69 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/2.701, allocations: 65.8 kB / 0.7153 GB, free: 29.65 MB / 458.8 MB Notification: Performance of pre-optimization done (n=265): time 7.404e-06/2.701, allocations: 3.719 kB / 0.7153 GB, free: 29.65 MB / 458.8 MB Notification: Performance of matching and sorting (n=293): time 0.08865/2.79, allocations: 21.66 MB / 0.7364 GB, free: 21.73 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/2.79, allocations: 241.4 kB / 0.7367 GB, free: 21.48 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/2.803, allocations: 5.145 MB / 0.7417 GB, free: 19.61 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008888/2.804, allocations: 25.7 kB / 0.7417 GB, free: 19.58 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004747/2.809, allocations: 5.302 MB / 0.7469 GB, free: 15.66 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002049/2.811, allocations: 1.173 MB / 0.748 GB, free: 14.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/2.812, allocations: 3.031 kB / 0.748 GB, free: 14.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009304/2.813, allocations: 0.726 MB / 0.7488 GB, free: 14.32 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00882/2.822, allocations: 3.715 MB / 0.7524 GB, free: 12.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/2.835, allocations: 9.59 MB / 0.7617 GB, free: 3.711 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/2.849, allocations: 5.957 MB / 0.7676 GB, free: 0 / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007384/2.85, allocations: 90.56 kB / 0.7677 GB, free: 0 / 458.8 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.05992/2.91, allocations: 15.11 MB / 0.7824 GB, free: 3.629 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/2.91, allocations: 96 kB / 0.7825 GB, free: 3.535 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03715/2.948, allocations: 7.719 MB / 0.79 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/2.977, allocations: 3.857 MB / 0.7938 GB, free: 11.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/2.993, allocations: 2.36 MB / 0.7961 GB, free: 9.559 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/3.019, allocations: 13.1 MB / 0.8089 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/3.034, allocations: 0.6877 MB / 0.8096 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/3.037, allocations: 0.6091 MB / 0.8102 GB, free: 12.24 MB / 0.4949 GB 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 (1225): * Single equations (assignments): 1200 * 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.004352/3.041, allocations: 0.6466 MB / 0.8108 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02889/3.07, allocations: 7.456 MB / 0.8181 GB, free: 5.543 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002758/3.073, allocations: 0.5668 MB / 0.8186 GB, free: 4.973 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4304/3.503, allocations: 7.332 MB / 0.8258 GB, free: 111.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02371/3.527, allocations: 6.57 MB / 0.8322 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/3.527, allocations: 9.812 kB / 0.8322 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/3.527, allocations: 17.73 kB / 0.8322 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03233/3.56, allocations: 11.04 MB / 0.843 GB, free: 110.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/3.56, allocations: 0 / 0.843 GB, free: 110.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006413/3.566, allocations: 0.61 MB / 0.8436 GB, free: 110.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/3.583, allocations: 3.073 MB / 0.8466 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009961/3.584, allocations: 65.64 kB / 0.8467 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/3.606, allocations: 13.8 MB / 0.8602 GB, free: 103.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004337/3.61, allocations: 5.782 MB / 0.8658 GB, free: 98.16 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03127/3.642, allocations: 11.53 MB / 0.8771 GB, free: 97.37 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/3.644, allocations: 0.5989 MB / 0.8777 GB, free: 97.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002433/3.646, allocations: 37.78 kB / 0.8777 GB, free: 97.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007033/3.653, allocations: 333.3 kB / 0.878 GB, free: 97.27 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/3.655, allocations: 219 kB / 0.8782 GB, free: 97.27 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004067/3.655, allocations: 91.59 kB / 0.8783 GB, free: 97.27 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01005/3.665, allocations: 3.441 MB / 0.8817 GB, free: 97.06 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.62e-07/3.665, allocations: 3.969 kB / 0.8817 GB, free: 97.06 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01419/3.68, allocations: 1.888 MB / 0.8835 GB, free: 97.06 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140298443633035.x[3],$STATESET140298443633035.x[2],$STATESET140298443633035.x[1],$STATESET140298443633034.x[3],$STATESET140298443633034.x[2],$STATESET140298443633034.x[1],$STATESET140298443633033.x[3],$STATESET140298443633033.x[2],$STATESET140298443633033.x[1],$STATESET140298443633032.x[3],$STATESET140298443633032.x[2],$STATESET140298443633032.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.03478/3.714, allocations: 12.36 MB / 0.8956 GB, free: 92.46 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02833/3.743, allocations: 10.73 MB / 0.9061 GB, free: 88.41 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/3.743, allocations: 0.9844 kB / 0.9061 GB, free: 88.41 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/3.759, allocations: 5.259 MB / 0.9112 GB, free: 85.88 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00735/3.767, allocations: 0.7136 MB / 0.9119 GB, free: 85.61 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2/Mechanics/MultiBody/Parts.mo:1838:5-1840: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.2/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.2/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.2/Mechanics/MultiBody/Parts.mo:1835:5-1837: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.0564/3.823, allocations: 18.71 MB / 0.9302 GB, free: 70.89 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/3.835, allocations: 5.411 MB / 0.9354 GB, free: 66.94 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01448/3.85, allocations: 2.994 MB / 0.9384 GB, free: 65.04 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008265/3.858, allocations: 3.593 MB / 0.9419 GB, free: 61.72 MB / 0.4949 GB Notification: Performance of SimCode: time 2.024e-06/3.858, allocations: 0 / 0.9419 GB, free: 61.72 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7048/4.563, allocations: 139.7 MB / 1.078 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/4.563, allocations: 151.2 kB / 1.078 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/12.47, allocations: 7.969 kB / 1.078 GB, free: 112.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat