Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270 MB / 282.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.609e-05, allocations: 4 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3842, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.5675, allocations: 106.8 MB / 0.5036 GB, free: 15.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5678, allocations: 79.95 kB / 0.5037 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6674/1.235, allocations: 91.11 MB / 0.5927 GB, free: 47.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.235, allocations: 0 / 0.5927 GB, free: 47.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001816/1.236, allocations: 76 kB / 0.5928 GB, free: 47.13 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01324/1.249, allocations: 3.895 MB / 0.5966 GB, free: 43.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.249, allocations: 8.031 kB / 0.5966 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002843/1.252, allocations: 0.8282 MB / 0.5974 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/1.277, allocations: 3.532 MB / 0.6008 GB, free: 38.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.293, allocations: 4.256 MB / 0.605 GB, free: 34.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/1.293, allocations: 320.3 kB / 0.6053 GB, free: 34.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/1.296, allocations: 419.8 kB / 0.6057 GB, free: 33.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.323, allocations: 10.61 MB / 0.616 GB, free: 22.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/1.323, allocations: 27.81 kB / 0.6161 GB, free: 22.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.324, allocations: 183.9 kB / 0.6162 GB, free: 22.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/1.326, allocations: 1.223 MB / 0.6174 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/1.353, allocations: 10.13 MB / 0.6273 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07777/1.431, allocations: 36.98 MB / 0.6634 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.446, allocations: 4.546 MB / 0.6679 GB, free: 428 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005342/1.451, allocations: 2.379 MB / 0.6702 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/1.453, allocations: 1.323 MB / 0.6715 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.453, allocations: 48.56 kB / 0.6715 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 5.881e-06/1.453, allocations: 4 kB / 0.6716 GB, free: 12.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.05723/1.51, allocations: 14.51 MB / 0.6857 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.511, allocations: 73.41 kB / 0.6858 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/1.516, allocations: 2.417 MB / 0.6882 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005384/1.517, allocations: 53.7 kB / 0.6882 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002793/1.52, allocations: 2.766 MB / 0.6909 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.521, allocations: 0.9172 MB / 0.6918 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006278/1.522, allocations: 108 kB / 0.6919 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004969/1.522, allocations: 0.5382 MB / 0.6924 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00581/1.528, allocations: 2.24 MB / 0.6946 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/1.537, allocations: 5.095 MB / 0.6996 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/1.545, allocations: 3.429 MB / 0.7029 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.285e-05/1.545, allocations: 28 kB / 0.703 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02412/1.57, allocations: 7.783 MB / 0.7106 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.57, allocations: 48.19 kB / 0.7106 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/1.57, allocations: 108 kB / 0.7107 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.575, allocations: 0.945 MB / 0.7116 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008322/1.583, allocations: 1.216 MB / 0.7128 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3624/1.946, allocations: 4.729 MB / 0.7175 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/1.951, allocations: 294.2 kB / 0.7177 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009662/1.952, allocations: 308.5 kB / 0.718 GB, free: 131.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (652): * Single equations (assignments): 645 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.953, allocations: 0.4958 MB / 0.7185 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/1.954, allocations: 277.8 kB / 0.7188 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.967, allocations: 5.071 MB / 0.7237 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/1.968, allocations: 48.28 kB / 0.7238 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.968, allocations: 7.484 kB / 0.7238 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/1.968, allocations: 6.516 kB / 0.7238 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02968/1.997, allocations: 11.84 MB / 0.7353 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.997, allocations: 11.62 kB / 0.7354 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/2.001, allocations: 405.4 kB / 0.7357 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/2.005, allocations: 0.7775 MB / 0.7365 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004251/2.005, allocations: 47.3 kB / 0.7365 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00798/2.013, allocations: 4.015 MB / 0.7405 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/2.013, allocations: 15.91 kB / 0.7405 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/2.03, allocations: 8.366 MB / 0.7487 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/2.031, allocations: 332.3 kB / 0.749 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007823/2.032, allocations: 47.5 kB / 0.749 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/2.034, allocations: 142.1 kB / 0.7491 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/2.035, allocations: 159.4 kB / 0.7493 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/2.035, allocations: 72.81 kB / 0.7494 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003266/2.038, allocations: 1.645 MB / 0.751 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/2.038, allocations: 0 / 0.751 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005997/2.044, allocations: 0.993 MB / 0.7519 GB, free: 124.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01784/2.062, allocations: 11.59 MB / 0.7633 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01117/2.073, allocations: 5.339 MB / 0.7685 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/2.073, allocations: 3.812 kB / 0.7685 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004312/2.078, allocations: 2.092 MB / 0.7705 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/2.08, allocations: 354.3 kB / 0.7709 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/2.107, allocations: 10.4 MB / 0.781 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005881/2.113, allocations: 3.475 MB / 0.7844 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004263/2.117, allocations: 1.869 MB / 0.7862 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.462e-06/2.118, allocations: 4 kB / 0.7862 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.608/5.726, allocations: 96.67 MB / 0.8807 GB, free: 12.47 MB / 0.5105 GB