Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.SphericalDoublePendulum,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_SphericalDoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.4 MB / 216.5 MB, free: 6.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.243e-05, allocations: 3.938 kB / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 48.7 MB / 316.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5458, allocations: 88.11 MB / 404.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.5461, allocations: 67.47 kB / 404.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9377/1.484, allocations: 168.6 MB / 0.5597 GB, free: 70.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.484, allocations: 0 / 0.5597 GB, free: 70.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007769/1.485, allocations: 171.4 kB / 0.5598 GB, free: 70.12 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: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.06583/1.551, allocations: 10.02 MB / 0.5696 GB, free: 60.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.551, allocations: 8.031 kB / 0.5696 GB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1485/1.699, allocations: 21.9 MB / 0.591 GB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0638/1.763, allocations: 19.83 MB / 0.6104 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004288/1.763, allocations: 240.7 kB / 0.6106 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003908/1.767, allocations: 479.6 kB / 0.6111 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02625/1.794, allocations: 10.38 MB / 0.6212 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04204/1.836, allocations: 16.23 MB / 0.6371 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006327/1.836, allocations: 134.8 kB / 0.6372 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002662/1.839, allocations: 52 kB / 0.6372 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00445/1.844, allocations: 1.652 MB / 0.6388 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4546/2.298, allocations: 87.66 MB / 0.7245 GB, free: 24.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/2.31, allocations: 6.06 MB / 0.7304 GB, free: 21.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008678/2.319, allocations: 4.716 MB / 0.735 GB, free: 19.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/2.321, allocations: 1.004 MB / 0.736 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/2.321, allocations: 73.59 kB / 0.736 GB, free: 18.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=322): time 6.773e-06/2.321, allocations: 0 / 0.736 GB, free: 18.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=396): time 0.2293/2.55, allocations: 54.84 MB / 0.7896 GB, free: 4.555 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/2.55, allocations: 486.8 kB / 0.79 GB, free: 3.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01891/2.569, allocations: 6.753 MB / 0.7966 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001473/2.571, allocations: 27.67 kB / 0.7967 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008009/2.579, allocations: 6.125 MB / 0.8026 GB, free: 8.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003617/2.583, allocations: 1.5 MB / 0.8041 GB, free: 7.238 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/2.585, allocations: 0 / 0.8041 GB, free: 7.238 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001153/2.586, allocations: 0.7909 MB / 0.8049 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01454/2.601, allocations: 5.488 MB / 0.8102 GB, free: 1.684 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3549/2.956, allocations: 12.81 MB / 0.8228 GB, free: 98.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/2.976, allocations: 7.839 MB / 0.8304 GB, free: 98.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005085/2.977, allocations: 66.75 kB / 0.8305 GB, free: 98.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=1475) (initialization): time 0.1488/3.126, allocations: 34.64 MB / 0.8643 GB, free: 97.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/3.126, allocations: 99.97 kB / 0.8644 GB, free: 97.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1039/3.23, allocations: 23.68 MB / 0.8875 GB, free: 95.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.101/3.331, allocations: 18.3 MB / 0.9054 GB, free: 83.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01842/3.349, allocations: 2.816 MB / 0.9081 GB, free: 80.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07658/3.426, allocations: 35.7 MB / 0.943 GB, free: 44.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01966/3.446, allocations: 0.9422 MB / 0.9439 GB, free: 43.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003521/3.449, allocations: 0.6812 MB / 0.9446 GB, free: 42.49 MB / 458.7 MB 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 (1333): * Single equations (assignments): 1309 * 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 {1,1} * 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.005528/3.455, allocations: 0.6735 MB / 0.9452 GB, free: 41.95 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05011/3.505, allocations: 13.28 MB / 0.9582 GB, free: 29.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0031/3.508, allocations: 0.7532 MB / 0.9589 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05086/3.559, allocations: 13.44 MB / 0.9721 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3736/3.933, allocations: 12.02 MB / 0.9838 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.684e-05/3.933, allocations: 17.06 kB / 0.9838 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/3.933, allocations: 18.98 kB / 0.9839 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09575/4.029, allocations: 28.02 MB / 1.011 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/4.029, allocations: 2.656 kB / 1.011 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008986/4.038, allocations: 0.9022 MB / 1.012 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03263/4.071, allocations: 5.484 MB / 1.017 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001398/4.072, allocations: 56.27 kB / 1.018 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05722/4.129, allocations: 26.83 MB / 1.044 GB, free: 75.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003953/4.133, allocations: 4.496 MB / 1.048 GB, free: 71.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05974/4.193, allocations: 20.11 MB / 1.068 GB, free: 64.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/4.196, allocations: 0.7947 MB / 1.069 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003657/4.2, allocations: 29.61 kB / 1.069 GB, free: 63.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/4.211, allocations: 460.2 kB / 1.069 GB, free: 63.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/4.213, allocations: 301.3 kB / 1.069 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001139/4.214, allocations: 118.3 kB / 1.069 GB, free: 63.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01252/4.227, allocations: 4.67 MB / 1.074 GB, free: 62.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.123e-06/4.227, allocations: 2.188 kB / 1.074 GB, free: 62.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01751/4.244, allocations: 2.615 MB / 1.077 GB, free: 62.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET7457022346.x[3],$STATESET7457022346.x[2],$STATESET7457022346.x[1],$STATESET7457022345.x[6],$STATESET7457022345.x[5],$STATESET7457022345.x[4],$STATESET7457022345.x[3],$STATESET7457022345.x[2],$STATESET7457022345.x[1],$STATESET7457022344.x[3],$STATESET7457022344.x[2],$STATESET7457022344.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.06184/4.306, allocations: 21.13 MB / 1.097 GB, free: 45.24 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical2.phi_d[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:1330:5-1332:19:writable] Warning: Variable Spherical2.phi_d[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.1/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.phi_d[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.1/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.03826/4.345, allocations: 15.17 MB / 1.112 GB, free: 31.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/4.345, allocations: 4 kB / 1.112 GB, free: 31.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02199/4.367, allocations: 7.269 MB / 1.119 GB, free: 24.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/4.377, allocations: 1.074 MB / 1.12 GB, free: 23.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07376/4.451, allocations: 22.98 MB / 1.143 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3483/4.799, allocations: 6.312 MB / 1.149 GB, free: 101 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02017/4.82, allocations: 3.754 MB / 1.152 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01141/4.831, allocations: 4.376 MB / 1.157 GB, free: 100.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/4.831, allocations: 2.375 kB / 1.157 GB, free: 100.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8119/5.643, allocations: 205.4 MB / 1.357 GB, free: 98.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/5.643, allocations: 138.2 kB / 1.357 GB, free: 98.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/14.85, allocations: 0 / 1.357 GB, free: 98.77 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum_res.mat does not exist to compare? outputFormat=mat