Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.713/2.713, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.697e-05, allocations: 3.984 kB / 348.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.621, allocations: 108.6 MB / 0.5068 GB, free: 13.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6214, allocations: 71.97 kB / 0.5069 GB, free: 13.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9337/1.555, allocations: 148.1 MB / 0.6515 GB, free: 4.859 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.555, allocations: 0 / 0.6515 GB, free: 4.859 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006503/1.556, allocations: 160 kB / 0.6516 GB, free: 4.703 MB / 458.7 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.0687/1.624, allocations: 8.852 MB / 0.6603 GB, free: 11.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.625, allocations: 8.031 kB / 0.6603 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008036/1.633, allocations: 1.349 MB / 0.6616 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08725/1.72, allocations: 7.782 MB / 0.6692 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04396/1.764, allocations: 10.43 MB / 0.6794 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000974/1.765, allocations: 0.5779 MB / 0.68 GB, free: 7.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004571/1.77, allocations: 0.7925 MB / 0.6807 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06615/1.836, allocations: 18.08 MB / 0.6984 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006558/1.836, allocations: 99.12 kB / 0.6985 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003728/1.84, allocations: 375.8 kB / 0.6988 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004635/1.845, allocations: 1.695 MB / 0.7005 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05519/1.9, allocations: 14.37 MB / 0.7145 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9048/2.805, allocations: 81.21 MB / 0.7938 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04009/2.845, allocations: 7.534 MB / 0.8012 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007724/2.853, allocations: 3.387 MB / 0.8045 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04263/2.896, allocations: 17.18 MB / 0.8213 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/2.896, allocations: 68.56 kB / 0.8213 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.344e-06/2.896, allocations: 0 / 0.8213 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.1335/3.029, allocations: 24.02 MB / 0.8448 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008245/3.038, allocations: 6.262 MB / 0.8509 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02387/3.062, allocations: 5.744 MB / 0.8565 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001278/3.063, allocations: 72.67 kB / 0.8566 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007954/3.071, allocations: 5.344 MB / 0.8618 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003434/3.075, allocations: 1.318 MB / 0.8631 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/3.077, allocations: 203.4 kB / 0.8633 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002001/3.079, allocations: 0.7332 MB / 0.864 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/3.092, allocations: 3.927 MB / 0.8678 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02666/3.119, allocations: 10.21 MB / 0.8778 GB, free: 7.785 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/3.135, allocations: 6.068 MB / 0.8837 GB, free: 2.828 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002708/3.135, allocations: 60 kB / 0.8838 GB, free: 2.77 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.07327/3.209, allocations: 16.32 MB / 0.8997 GB, free: 6.961 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/3.209, allocations: 95 kB / 0.8998 GB, free: 6.871 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03799/3.247, allocations: 7.905 MB / 0.9076 GB, free: 0.6016 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03426/3.281, allocations: 3.965 MB / 0.9114 GB, free: 14.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02234/3.303, allocations: 2.365 MB / 0.9137 GB, free: 12.06 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4632/3.767, allocations: 13.54 MB / 0.927 GB, free: 120.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01552/3.782, allocations: 0.873 MB / 0.9278 GB, free: 120.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002949/3.785, allocations: 0.6113 MB / 0.9284 GB, free: 120.4 MB / 0.5574 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.00441/3.79, allocations: 0.8795 MB / 0.9293 GB, free: 120.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002348/3.792, allocations: 0.5947 MB / 0.9298 GB, free: 120.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03078/3.823, allocations: 7.796 MB / 0.9375 GB, free: 119.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02622/3.849, allocations: 6.932 MB / 0.9442 GB, free: 119.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/3.849, allocations: 6.938 kB / 0.9442 GB, free: 119.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001247/3.85, allocations: 16.83 kB / 0.9443 GB, free: 119.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06558/3.915, allocations: 19.54 MB / 0.9633 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.256e-05/3.915, allocations: 6.969 kB / 0.9633 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007002/3.922, allocations: 0.6503 MB / 0.964 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01756/3.94, allocations: 3.136 MB / 0.967 GB, free: 118.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/3.941, allocations: 108.4 kB / 0.9671 GB, free: 118.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/3.965, allocations: 14.02 MB / 0.9808 GB, free: 110.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005586/3.97, allocations: 6.018 MB / 0.9867 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03884/4.009, allocations: 12.72 MB / 0.9991 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/4.012, allocations: 0.6481 MB / 0.9998 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/4.015, allocations: 94 kB / 0.9999 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008032/4.023, allocations: 387.6 kB / 1 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/4.024, allocations: 246.6 kB / 1 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007215/4.025, allocations: 103.4 kB / 1.001 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01126/4.036, allocations: 3.976 MB / 1.004 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.133e-06/4.037, allocations: 3.844 kB / 1.004 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01506/4.052, allocations: 2.093 MB / 1.006 GB, free: 99.87 MB / 0.5574 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.03715/4.089, allocations: 14.24 MB / 1.02 GB, free: 93.35 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02955/4.118, allocations: 11.08 MB / 1.031 GB, free: 87.49 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/4.118, allocations: 0 / 1.031 GB, free: 87.49 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/4.135, allocations: 5.394 MB / 1.036 GB, free: 82.71 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008052/4.143, allocations: 0.8479 MB / 1.037 GB, free: 82.01 MB / 0.5574 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 4.0.0/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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.06502/4.209, allocations: 19.6 MB / 1.056 GB, free: 65.54 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0151/4.224, allocations: 5.53 MB / 1.062 GB, free: 61.53 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01574/4.24, allocations: 3.031 MB / 1.065 GB, free: 59.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009208/4.249, allocations: 3.719 MB / 1.068 GB, free: 56.16 MB / 0.5574 GB Notification: Performance of SimCode: time 2.094e-06/4.249, allocations: 0 / 1.068 GB, free: 56.16 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.768/5.017, allocations: 150 MB / 1.215 GB, free: 119.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/5.017, allocations: 197.1 kB / 1.215 GB, free: 119.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.051/14.07, allocations: 4 kB / 1.215 GB, free: 119.2 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat