Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.674/2.674, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.728e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.385, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.5816, allocations: 98.61 MB / 453 MB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.582, allocations: 75.95 kB / 453.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9975/1.58, allocations: 139.1 MB / 0.5783 GB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.58, allocations: 0 / 0.5783 GB, free: 1.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006634/1.58, allocations: 159.9 kB / 0.5785 GB, free: 1.012 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.0721/1.652, allocations: 8.676 MB / 0.587 GB, free: 8.262 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/1.652, allocations: 8.031 kB / 0.587 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07657/1.729, allocations: 7.751 MB / 0.5945 GB, free: 492 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04987/1.779, allocations: 10.94 MB / 0.6052 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/1.78, allocations: 244 kB / 0.6054 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/1.784, allocations: 463.7 kB / 0.6059 GB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03255/1.816, allocations: 10.04 MB / 0.6157 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4608/2.277, allocations: 15.14 MB / 0.6305 GB, free: 62.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007962/2.278, allocations: 102.9 kB / 0.6306 GB, free: 62.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003719/2.282, allocations: 45.84 kB / 0.6306 GB, free: 62.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/2.287, allocations: 1.6 MB / 0.6322 GB, free: 62.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1603/2.447, allocations: 77.67 MB / 0.708 GB, free: 17.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/2.458, allocations: 4.364 MB / 0.7123 GB, free: 17.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007337/2.466, allocations: 3.053 MB / 0.7153 GB, free: 16.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/2.466, allocations: 49.16 kB / 0.7153 GB, free: 16.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/2.466, allocations: 67.06 kB / 0.7154 GB, free: 15.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 8.726e-06/2.466, allocations: 2.312 kB / 0.7154 GB, free: 15.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1065/2.573, allocations: 21.65 MB / 0.7365 GB, free: 7.797 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/2.573, allocations: 236.2 kB / 0.7368 GB, free: 7.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/2.588, allocations: 5.146 MB / 0.7418 GB, free: 5.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/2.589, allocations: 25.7 kB / 0.7418 GB, free: 5.641 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005792/2.595, allocations: 5.3 MB / 0.747 GB, free: 1.555 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002659/2.598, allocations: 1.174 MB / 0.7481 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/2.6, allocations: 2.469 kB / 0.7481 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009931/2.601, allocations: 0.7307 MB / 0.7488 GB, free: 216 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01642/2.617, allocations: 3.99 MB / 0.7527 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0184/2.636, allocations: 9.597 MB / 0.7621 GB, free: 6.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/2.651, allocations: 5.832 MB / 0.7678 GB, free: 4.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002525/2.651, allocations: 59.25 kB / 0.7679 GB, free: 4.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.07396/2.725, allocations: 15.34 MB / 0.7829 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/2.726, allocations: 96.94 kB / 0.7829 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04174/2.767, allocations: 7.527 MB / 0.7903 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03582/2.803, allocations: 3.854 MB / 0.7941 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/2.821, allocations: 2.357 MB / 0.7964 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03027/2.852, allocations: 13.14 MB / 0.8092 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0167/2.869, allocations: 0.6773 MB / 0.8098 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003094/2.872, allocations: 0.6125 MB / 0.8104 GB, free: 4.031 MB / 0.4948 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.0045/2.876, allocations: 0.6431 MB / 0.8111 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4875/3.364, allocations: 7.648 MB / 0.8185 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002663/3.366, allocations: 0.5534 MB / 0.8191 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03119/3.398, allocations: 7.336 MB / 0.8262 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02709/3.425, allocations: 6.57 MB / 0.8327 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-05/3.425, allocations: 7.438 kB / 0.8327 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/3.425, allocations: 16.38 kB / 0.8327 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03886/3.464, allocations: 11.06 MB / 0.8435 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/3.464, allocations: 3.953 kB / 0.8435 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00757/3.472, allocations: 0.6022 MB / 0.8441 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02025/3.492, allocations: 3.082 MB / 0.8471 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/3.493, allocations: 61.36 kB / 0.8472 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03017/3.523, allocations: 13.8 MB / 0.8606 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007245/3.531, allocations: 5.782 MB / 0.8663 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05653/3.587, allocations: 11.54 MB / 0.8775 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/3.59, allocations: 0.6016 MB / 0.8781 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003314/3.594, allocations: 37.44 kB / 0.8782 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009553/3.603, allocations: 331.4 kB / 0.8785 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001841/3.605, allocations: 220.2 kB / 0.8787 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001118/3.606, allocations: 87.41 kB / 0.8788 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0131/3.619, allocations: 3.454 MB / 0.8821 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/3.62, allocations: 0 / 0.8821 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01701/3.637, allocations: 1.886 MB / 0.884 GB, free: 90.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140439618257291.x[3],$STATESET140439618257291.x[2],$STATESET140439618257291.x[1],$STATESET140439618257290.x[3],$STATESET140439618257290.x[2],$STATESET140439618257290.x[1],$STATESET140439618257289.x[3],$STATESET140439618257289.x[2],$STATESET140439618257289.x[1],$STATESET140439618257288.x[3],$STATESET140439618257288.x[2],$STATESET140439618257288.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.04311/3.68, allocations: 12.35 MB / 0.896 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03286/3.713, allocations: 10.73 MB / 0.9065 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/3.713, allocations: 8.5 kB / 0.9065 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01935/3.732, allocations: 5.265 MB / 0.9117 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008364/3.741, allocations: 0.7022 MB / 0.9124 GB, free: 77.77 MB / 0.4948 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.06912/3.81, allocations: 18.7 MB / 0.9306 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01514/3.825, allocations: 5.404 MB / 0.9359 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01784/3.843, allocations: 2.994 MB / 0.9388 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/3.853, allocations: 3.594 MB / 0.9423 GB, free: 53 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/3.853, allocations: 8 kB / 0.9423 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8024/4.655, allocations: 139.7 MB / 1.079 GB, free: 100 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002522/4.656, allocations: 158.4 kB / 1.079 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.879/13.54, allocations: 0 / 1.079 GB, free: 99.81 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat does not exist to compare? outputFormat=mat