Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.951e-05, allocations: 11.88 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 54.86 MB / 354.4 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.6075, allocations: 97.22 MB / 451.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.6079, allocations: 75.97 kB / 451.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6848/1.293, allocations: 89.36 MB / 0.5283 GB, free: 66.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.293, allocations: 0 / 0.5283 GB, free: 66.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002604/1.293, allocations: 84 kB / 0.5284 GB, free: 66.82 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: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.03247/1.326, allocations: 4.298 MB / 0.5326 GB, free: 62.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.326e-05/1.326, allocations: 8.031 kB / 0.5326 GB, free: 62.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03944/1.365, allocations: 3.574 MB / 0.5361 GB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02637/1.392, allocations: 4.694 MB / 0.5407 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/1.392, allocations: 148 kB / 0.5408 GB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004023/1.396, allocations: 255.9 kB / 0.5411 GB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01982/1.416, allocations: 7.929 MB / 0.5488 GB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/1.446, allocations: 10.37 MB / 0.5589 GB, free: 34.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002243/1.446, allocations: 27.8 kB / 0.559 GB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/1.449, allocations: 16 kB / 0.559 GB, free: 34.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/1.452, allocations: 1.247 MB / 0.5602 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07634/1.528, allocations: 35.36 MB / 0.5947 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00878/1.537, allocations: 4.093 MB / 0.5987 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005425/1.543, allocations: 2.174 MB / 0.6009 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002069/1.545, allocations: 1.315 MB / 0.6021 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/1.545, allocations: 48.56 kB / 0.6022 GB, free: 5.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 6.682e-06/1.545, allocations: 4 kB / 0.6022 GB, free: 5.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=258): time 0.0477/1.592, allocations: 10.5 MB / 0.6125 GB, free: 11.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.593, allocations: 73.41 kB / 0.6125 GB, free: 10.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/1.599, allocations: 2.4 MB / 0.6149 GB, free: 8.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006407/1.599, allocations: 25.7 kB / 0.6149 GB, free: 8.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003485/1.603, allocations: 3.041 MB / 0.6179 GB, free: 5.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.605, allocations: 0.9248 MB / 0.6188 GB, free: 4.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007025/1.606, allocations: 0 / 0.6188 GB, free: 4.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006879/1.606, allocations: 0.5742 MB / 0.6193 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006217/1.612, allocations: 2.191 MB / 0.6215 GB, free: 1.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.623, allocations: 5.569 MB / 0.6269 GB, free: 10.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009732/1.633, allocations: 3.548 MB / 0.6304 GB, free: 6.902 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.633, allocations: 32 kB / 0.6304 GB, free: 6.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02882/1.662, allocations: 7.89 MB / 0.6381 GB, free: 14.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.662, allocations: 56 kB / 0.6382 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/1.663, allocations: 120 kB / 0.6383 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00702/1.67, allocations: 1.044 MB / 0.6393 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009421/1.679, allocations: 1.4 MB / 0.6407 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/1.684, allocations: 2.399 MB / 0.643 GB, free: 9.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/1.69, allocations: 207.8 kB / 0.6432 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/1.692, allocations: 363.9 kB / 0.6435 GB, free: 9.262 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 21 (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 (757): * Single equations (assignments): 748 * 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 {(3,100.0%),(2,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 prepare postOptimizeDAE: time 0.00175/1.694, allocations: 412 kB / 0.6439 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01547/1.709, allocations: 4.197 MB / 0.648 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.711, allocations: 280.3 kB / 0.6483 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3722/2.083, allocations: 4.726 MB / 0.6529 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001677/2.083, allocations: 51.14 kB / 0.653 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/2.083, allocations: 1.828 kB / 0.653 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.735e-05/2.083, allocations: 14.44 kB / 0.653 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02949/2.113, allocations: 10.28 MB / 0.663 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/2.113, allocations: 11.22 kB / 0.663 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/2.116, allocations: 424.6 kB / 0.6634 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/2.121, allocations: 0.5941 MB / 0.664 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006405/2.122, allocations: 27.92 kB / 0.664 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/2.125, allocations: 2.009 MB / 0.666 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/2.125, allocations: 14.25 kB / 0.666 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/2.143, allocations: 7.604 MB / 0.6734 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/2.143, allocations: 333.3 kB / 0.6738 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/2.145, allocations: 18.08 kB / 0.6738 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/2.147, allocations: 95.09 kB / 0.6739 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/2.148, allocations: 161.5 kB / 0.674 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/2.148, allocations: 81.11 kB / 0.6741 GB, free: 119.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003316/2.151, allocations: 1.566 MB / 0.6756 GB, free: 119.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.151, allocations: 0 / 0.6756 GB, free: 119.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006793/2.158, allocations: 0.8653 MB / 0.6765 GB, free: 119.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 200 * 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.01831/2.177, allocations: 10.66 MB / 0.6869 GB, free: 114.7 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1955:5-1957:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01447/2.191, allocations: 5.752 MB / 0.6925 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/2.191, allocations: 0 / 0.6925 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006459/2.198, allocations: 2.307 MB / 0.6948 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/2.201, allocations: 293.9 kB / 0.695 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/2.235, allocations: 10.55 MB / 0.7053 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008245/2.243, allocations: 3.605 MB / 0.7089 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009422/2.252, allocations: 2.186 MB / 0.711 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004903/2.257, allocations: 1.952 MB / 0.7129 GB, free: 102.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.472e-06/2.257, allocations: 0 / 0.7129 GB, free: 102.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1762/2.434, allocations: 67.41 MB / 0.7787 GB, free: 42.45 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/2.434, allocations: 143.1 kB / 0.7789 GB, free: 42.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.528/6.962, allocations: 0 / 0.7789 GB, free: 42.26 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat does not exist to compare? outputFormat=mat