Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.106e-05, allocations: 4 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/0.609, allocations: 94.45 MB / 410.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6093, allocations: 74.53 kB / 410.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6919/1.301, allocations: 96.05 MB / 0.495 GB, free: 89.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.301, allocations: 0 / 0.495 GB, free: 89.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002653/1.302, allocations: 95.38 kB / 0.4951 GB, free: 89.71 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.02645/1.328, allocations: 4.65 MB / 0.4997 GB, free: 87.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/1.328, allocations: 13.34 kB / 0.4997 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02927/1.357, allocations: 3.623 MB / 0.5032 GB, free: 87.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/1.377, allocations: 4.896 MB / 0.508 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/1.378, allocations: 159.8 kB / 0.5081 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003499/1.381, allocations: 295 kB / 0.5084 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02518/1.407, allocations: 8.441 MB / 0.5167 GB, free: 86.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03708/1.444, allocations: 11.15 MB / 0.5276 GB, free: 84.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/1.444, allocations: 41.52 kB / 0.5276 GB, free: 84.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003014/1.447, allocations: 17.09 kB / 0.5276 GB, free: 84.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003083/1.45, allocations: 1.314 MB / 0.5289 GB, free: 84.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08188/1.532, allocations: 39.49 MB / 0.5675 GB, free: 58.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/1.54, allocations: 4.308 MB / 0.5717 GB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/1.544, allocations: 2.287 MB / 0.5739 GB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.546, allocations: 1.333 MB / 0.5752 GB, free: 50.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.546, allocations: 56.59 kB / 0.5753 GB, free: 50.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 7.134e-06/1.546, allocations: 7.375 kB / 0.5753 GB, free: 50.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=285): time 0.0579/1.604, allocations: 18.01 MB / 0.5929 GB, free: 34.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/1.604, allocations: 111 kB / 0.593 GB, free: 34.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/1.61, allocations: 2.583 MB / 0.5955 GB, free: 32.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000681/1.61, allocations: 29.73 kB / 0.5955 GB, free: 32.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00259/1.613, allocations: 3.293 MB / 0.5987 GB, free: 28.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.615, allocations: 1.029 MB / 0.5997 GB, free: 27.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007742/1.615, allocations: 0 / 0.5997 GB, free: 27.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005337/1.616, allocations: 0.5872 MB / 0.6003 GB, free: 27.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/1.622, allocations: 2.418 MB / 0.6027 GB, free: 24.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008174/1.63, allocations: 6.029 MB / 0.6086 GB, free: 16.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008171/1.638, allocations: 3.861 MB / 0.6123 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.638, allocations: 40 kB / 0.6124 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.03349/1.672, allocations: 9.6 MB / 0.6217 GB, free: 3.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.672, allocations: 63.59 kB / 0.6218 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/1.672, allocations: 128 kB / 0.6219 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01861/1.691, allocations: 2.341 MB / 0.6242 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/1.704, allocations: 1.474 MB / 0.6256 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04071/1.745, allocations: 9.836 MB / 0.6353 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009935/1.755, allocations: 215.8 kB / 0.6355 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.757, allocations: 384 kB / 0.6358 GB, free: 4.887 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (794): * Single equations (assignments): 786 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.003041/1.76, allocations: 432.7 kB / 0.6362 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0158/1.776, allocations: 4.384 MB / 0.6405 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.328/2.104, allocations: 315 kB / 0.6408 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/2.122, allocations: 4.988 MB / 0.6457 GB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001979/2.122, allocations: 49.69 kB / 0.6457 GB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/2.122, allocations: 2.344 kB / 0.6457 GB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.364e-05/2.123, allocations: 11.67 kB / 0.6457 GB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04566/2.168, allocations: 10.95 MB / 0.6564 GB, free: 92.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/2.168, allocations: 14.19 kB / 0.6565 GB, free: 92.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005942/2.174, allocations: 474.2 kB / 0.6569 GB, free: 92.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004995/2.179, allocations: 0.6902 MB / 0.6576 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007471/2.18, allocations: 43.78 kB / 0.6576 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/2.185, allocations: 2.332 MB / 0.6599 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/2.185, allocations: 16.02 kB / 0.6599 GB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/2.206, allocations: 8.294 MB / 0.668 GB, free: 89.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/2.207, allocations: 343.9 kB / 0.6683 GB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/2.208, allocations: 25.75 kB / 0.6684 GB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/2.211, allocations: 115.4 kB / 0.6685 GB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007096/2.212, allocations: 172.2 kB / 0.6686 GB, free: 89.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/2.212, allocations: 83.92 kB / 0.6687 GB, free: 89.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003526/2.216, allocations: 1.689 MB / 0.6704 GB, free: 89.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.216, allocations: 2.844 kB / 0.6704 GB, free: 89.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007528/2.223, allocations: 0.9987 MB / 0.6714 GB, free: 89.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 227 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01764/2.241, allocations: 11.02 MB / 0.6821 GB, free: 83.88 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1990:5-1992:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1984:5-1986:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1987:5-1989:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01361/2.255, allocations: 6.068 MB / 0.688 GB, free: 82.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/2.255, allocations: 3.25 kB / 0.688 GB, free: 82.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007244/2.262, allocations: 2.64 MB / 0.6906 GB, free: 81.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/2.265, allocations: 313.8 kB / 0.6909 GB, free: 80.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/2.299, allocations: 11.3 MB / 0.702 GB, free: 77.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00815/2.307, allocations: 3.879 MB / 0.7057 GB, free: 75.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0097/2.317, allocations: 2.287 MB / 0.708 GB, free: 75.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005505/2.322, allocations: 2.172 MB / 0.7101 GB, free: 73.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.754e-06/2.322, allocations: 0 / 0.7101 GB, free: 73.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1885/2.511, allocations: 79.27 MB / 0.7875 GB, free: 3.309 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/2.511, allocations: 143.3 kB / 0.7877 GB, free: 3.117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.211/7.723, allocations: 3.938 kB / 0.7877 GB, free: 3.113 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat does not exist to compare? outputFormat=mat