Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.014/3.014, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.13e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4615, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/0.6758, allocations: 95.27 MB / 449.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.6761, allocations: 75.95 kB / 449.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8204/1.497, allocations: 84.4 MB / 0.5216 GB, free: 42.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.497, allocations: 0 / 0.5216 GB, free: 42.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002105/1.497, allocations: 68 kB / 0.5217 GB, free: 42.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01631/1.513, allocations: 3.655 MB / 0.5253 GB, free: 38.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/1.513, allocations: 8.031 kB / 0.5253 GB, free: 38.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003886/1.517, allocations: 0.6234 MB / 0.5259 GB, free: 38.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03582/1.553, allocations: 3.512 MB / 0.5293 GB, free: 34.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/1.573, allocations: 4.151 MB / 0.5334 GB, free: 30.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/1.573, allocations: 163.8 kB / 0.5335 GB, free: 30.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.576, allocations: 220.5 kB / 0.5337 GB, free: 30.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02083/1.597, allocations: 7.271 MB / 0.5408 GB, free: 22.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/1.627, allocations: 9.477 MB / 0.5501 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/1.628, allocations: 23.81 kB / 0.5501 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/1.63, allocations: 12 kB / 0.5501 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003475/1.633, allocations: 1.211 MB / 0.5513 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09722/1.731, allocations: 32.97 MB / 0.5835 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/1.741, allocations: 4.186 MB / 0.5876 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006592/1.748, allocations: 2.228 MB / 0.5898 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003527/1.751, allocations: 1.884 MB / 0.5916 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.453e-05/1.752, allocations: 52.56 kB / 0.5917 GB, free: 1.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 7.735e-06/1.752, allocations: 0 / 0.5917 GB, free: 1.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=238): time 0.06369/1.815, allocations: 14.07 MB / 0.6054 GB, free: 2.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.815, allocations: 73.41 kB / 0.6055 GB, free: 2.844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007385/1.823, allocations: 2.24 MB / 0.6077 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.823, allocations: 25.7 kB / 0.6077 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003774/1.827, allocations: 2.786 MB / 0.6104 GB, free: 13.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.829, allocations: 0.8439 MB / 0.6112 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000761/1.83, allocations: 0 / 0.6112 GB, free: 12.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008833/1.831, allocations: 0.6012 MB / 0.6118 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007501/1.839, allocations: 2.123 MB / 0.6139 GB, free: 10.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.85, allocations: 5.25 MB / 0.619 GB, free: 3.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4404/2.29, allocations: 3.37 MB / 0.6223 GB, free: 112 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001719/2.291, allocations: 31.44 kB / 0.6223 GB, free: 112 MB / 458.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02967/2.32, allocations: 7.455 MB / 0.6296 GB, free: 111.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/2.32, allocations: 51.28 kB / 0.6297 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/2.321, allocations: 112.5 kB / 0.6298 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/2.326, allocations: 0.8137 MB / 0.6306 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.336, allocations: 1.286 MB / 0.6318 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009992/2.346, allocations: 3.973 MB / 0.6357 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006809/2.353, allocations: 193.2 kB / 0.6359 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/2.355, allocations: 330.7 kB / 0.6362 GB, free: 110.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (684): * Single equations (assignments): 677 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002518/2.357, allocations: 393.7 kB / 0.6366 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008972/2.358, allocations: 261.4 kB / 0.6368 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/2.375, allocations: 4.571 MB / 0.6413 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001415/2.376, allocations: 44.91 kB / 0.6413 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/2.376, allocations: 3.906 kB / 0.6413 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/2.376, allocations: 11.16 kB / 0.6413 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/2.409, allocations: 9.568 MB / 0.6507 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/2.409, allocations: 7.562 kB / 0.6507 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004074/2.413, allocations: 370.8 kB / 0.651 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/2.418, allocations: 0.6425 MB / 0.6517 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007315/2.418, allocations: 24.19 kB / 0.6517 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/2.427, allocations: 3.463 MB / 0.6551 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/2.427, allocations: 15.22 kB / 0.6551 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/2.448, allocations: 7.594 MB / 0.6625 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/2.451, allocations: 0.6381 MB / 0.6631 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009478/2.452, allocations: 11.16 kB / 0.6631 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/2.455, allocations: 110.9 kB / 0.6633 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/2.456, allocations: 135.8 kB / 0.6634 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/2.456, allocations: 65.47 kB / 0.6634 GB, free: 104 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003877/2.46, allocations: 1.473 MB / 0.6649 GB, free: 103.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.262e-06/2.46, allocations: 0 / 0.6649 GB, free: 103.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007897/2.468, allocations: 0.8218 MB / 0.6657 GB, free: 103.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02146/2.489, allocations: 10.12 MB / 0.6756 GB, free: 96.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01331/2.503, allocations: 5.18 MB / 0.6806 GB, free: 91.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/2.503, allocations: 4 kB / 0.6806 GB, free: 91.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/2.508, allocations: 1.958 MB / 0.6825 GB, free: 89.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/2.51, allocations: 214.3 kB / 0.6827 GB, free: 89.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/2.545, allocations: 9.171 MB / 0.6917 GB, free: 81.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008644/2.553, allocations: 3.318 MB / 0.6949 GB, free: 79.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01065/2.564, allocations: 2.064 MB / 0.697 GB, free: 77.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005468/2.57, allocations: 1.801 MB / 0.6987 GB, free: 76.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/2.57, allocations: 0 / 0.6987 GB, free: 76.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2661/2.836, allocations: 62.74 MB / 0.76 GB, free: 17.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002612/2.836, allocations: 136 kB / 0.7601 GB, free: 17.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.997/8.833, allocations: 0 / 0.7601 GB, free: 17.31 MB / 458.7 MB