Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.SphericalDoublePendulum,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_SphericalDoublePendulum",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.28e-05, allocations: 0 / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4648, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.751, allocations: 94.63 MB / 449 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.7513, allocations: 67.97 kB / 449.1 MB, free: 344 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194/1.946, allocations: 169.3 MB / 0.6039 GB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.946, allocations: 0 / 0.6039 GB, free: 6.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001146/1.947, allocations: 179.9 kB / 0.6041 GB, free: 6.293 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.08462/2.032, allocations: 10.03 MB / 0.6139 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/2.032, allocations: 8.031 kB / 0.6139 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007332/2.039, allocations: 0.9998 MB / 0.6149 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5929/2.632, allocations: 21.92 MB / 0.6363 GB, free: 62.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08363/2.716, allocations: 19.85 MB / 0.6557 GB, free: 62.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006257/2.717, allocations: 320.4 kB / 0.656 GB, free: 62.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004352/2.721, allocations: 478 kB / 0.6564 GB, free: 62.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03123/2.752, allocations: 10.38 MB / 0.6666 GB, free: 62.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04679/2.799, allocations: 16.22 MB / 0.6824 GB, free: 57.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00102/2.8, allocations: 137.6 kB / 0.6826 GB, free: 57.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004158/2.804, allocations: 55.06 kB / 0.6826 GB, free: 57.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0049/2.809, allocations: 1.641 MB / 0.6842 GB, free: 57.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/2.98, allocations: 87.68 MB / 0.7698 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/2.998, allocations: 6.061 MB / 0.7757 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06632/3.065, allocations: 5.967 MB / 0.7816 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003953/3.069, allocations: 1.008 MB / 0.7826 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/3.069, allocations: 70.69 kB / 0.7826 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=322): time 1.529e-05/3.069, allocations: 0 / 0.7826 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=396): time 0.7544/3.823, allocations: 54.85 MB / 0.8362 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/3.823, allocations: 479.6 kB / 0.8366 GB, free: 98.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01956/3.843, allocations: 6.754 MB / 0.8432 GB, free: 98.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001607/3.845, allocations: 31.33 kB / 0.8433 GB, free: 98.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007284/3.852, allocations: 6.122 MB / 0.8492 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003505/3.856, allocations: 1.501 MB / 0.8507 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/3.858, allocations: 0 / 0.8507 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001011/3.859, allocations: 0.7887 MB / 0.8515 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01497/3.874, allocations: 5.495 MB / 0.8568 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02012/3.894, allocations: 11.86 MB / 0.8684 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02049/3.915, allocations: 7.852 MB / 0.8761 GB, free: 85.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003022/3.915, allocations: 61.41 kB / 0.8762 GB, free: 85.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1475) (initialization): time 0.1747/4.09, allocations: 34.84 MB / 0.9102 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/4.09, allocations: 100.9 kB / 0.9103 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1284/4.218, allocations: 23.83 MB / 0.9336 GB, free: 72.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1222/4.341, allocations: 18.47 MB / 0.9516 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02151/4.362, allocations: 2.776 MB / 0.9543 GB, free: 53.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1047/4.467, allocations: 36.41 MB / 0.9899 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02585/4.493, allocations: 0.9585 MB / 0.9908 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00415/4.497, allocations: 0.6866 MB / 0.9915 GB, free: 14.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * Number of states: 0 () * Number of discrete variables: 63 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[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 (1327): * Single equations (assignments): 1303 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,54.7%) 13,(8,54.7%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.006734/4.504, allocations: 0.673 MB / 0.9921 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003734/4.508, allocations: 0.7559 MB / 0.9929 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5274/5.035, allocations: 13.45 MB / 1.006 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06082/5.096, allocations: 12.03 MB / 1.018 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.527e-05/5.096, allocations: 17.36 kB / 1.018 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001581/5.096, allocations: 18.14 kB / 1.018 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1197/5.216, allocations: 28.01 MB / 1.045 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.297e-05/5.216, allocations: 3.562 kB / 1.045 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0116/5.228, allocations: 0.8912 MB / 1.046 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04342/5.271, allocations: 5.486 MB / 1.051 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001631/5.273, allocations: 56.17 kB / 1.051 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09868/5.372, allocations: 26.83 MB / 1.078 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006456/5.378, allocations: 4.494 MB / 1.082 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08426/5.462, allocations: 20.14 MB / 1.102 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/5.466, allocations: 0.7852 MB / 1.102 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003548/5.469, allocations: 26.55 kB / 1.102 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01307/5.482, allocations: 455.8 kB / 1.103 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002314/5.485, allocations: 304.2 kB / 1.103 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009763/5.486, allocations: 119.3 kB / 1.103 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01364/5.499, allocations: 4.679 MB / 1.108 GB, free: 62.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.813e-06/5.5, allocations: 0 / 1.108 GB, free: 62.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02066/5.52, allocations: 2.62 MB / 1.11 GB, free: 59.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET11379597706.x[3],$STATESET11379597706.x[2],$STATESET11379597706.x[1],$STATESET11379597705.x[6],$STATESET11379597705.x[5],$STATESET11379597705.x[4],$STATESET11379597705.x[3],$STATESET11379597705.x[2],$STATESET11379597705.x[1],$STATESET11379597704.x[3],$STATESET11379597704.x[2],$STATESET11379597704.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {8,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,54.7%) 13,(8,59.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07665/5.597, allocations: 21.11 MB / 1.131 GB, free: 42.37 MB / 0.4948 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical2.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical2.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical1.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.04771/5.645, allocations: 15.44 MB / 1.146 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/5.645, allocations: 4 kB / 1.146 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02747/5.672, allocations: 7.27 MB / 1.153 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/5.688, allocations: 1.078 MB / 1.154 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08982/5.778, allocations: 22.99 MB / 1.177 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02115/5.799, allocations: 6.32 MB / 1.183 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.4798/6.279, allocations: 3.752 MB / 1.187 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01425/6.293, allocations: 4.374 MB / 1.191 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.214e-06/6.293, allocations: 0.5312 kB / 1.191 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/7.38, allocations: 210.5 MB / 1.396 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003414/7.38, allocations: 146.7 kB / 1.397 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 12.17/19.55, allocations: 3.969 kB / 1.397 GB, free: 79.91 MB / 0.5261 GB