Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.203/3.203, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.956e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4475, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/0.6905, allocations: 101.9 MB / 456.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004019/0.691, allocations: 79.95 kB / 456.4 MB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36/2.051, allocations: 145.1 MB / 0.5874 GB, free: 7.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.348e-06/2.051, allocations: 0 / 0.5874 GB, free: 7.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001712/2.053, allocations: 140 kB / 0.5875 GB, free: 7.727 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.1536/2.207, allocations: 8.561 MB / 0.5959 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/2.207, allocations: 11.97 kB / 0.5959 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01052/2.217, allocations: 0.8912 MB / 0.5968 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2774/2.495, allocations: 16.69 MB / 0.6131 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08199/2.577, allocations: 13.29 MB / 0.626 GB, free: 88 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4574/3.034, allocations: 277 kB / 0.6263 GB, free: 70.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005895/3.04, allocations: 404.7 kB / 0.6267 GB, free: 70.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03693/3.077, allocations: 9 MB / 0.6355 GB, free: 70.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04747/3.125, allocations: 14.14 MB / 0.6493 GB, free: 66.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007184/3.126, allocations: 111.3 kB / 0.6494 GB, free: 66.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003658/3.129, allocations: 43.72 kB / 0.6494 GB, free: 66.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005106/3.135, allocations: 1.478 MB / 0.6509 GB, free: 66.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/3.301, allocations: 74.51 MB / 0.7237 GB, free: 19.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/3.316, allocations: 5.337 MB / 0.7289 GB, free: 16.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/3.326, allocations: 4.014 MB / 0.7328 GB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/3.33, allocations: 1.346 MB / 0.7341 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.086e-05/3.331, allocations: 69.73 kB / 0.7342 GB, free: 13.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 1.021e-05/3.331, allocations: 0 / 0.7342 GB, free: 13.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=350): time 0.2974/3.628, allocations: 43.81 MB / 0.777 GB, free: 3.504 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/3.628, allocations: 269.5 kB / 0.7772 GB, free: 3.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01937/3.648, allocations: 5.652 MB / 0.7827 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001338/3.649, allocations: 25.7 kB / 0.7828 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008192/3.657, allocations: 5.257 MB / 0.7879 GB, free: 9.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003436/3.661, allocations: 1.295 MB / 0.7892 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/3.663, allocations: 2.969 kB / 0.7892 GB, free: 8.633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001064/3.664, allocations: 0.717 MB / 0.7899 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01532/3.679, allocations: 4.316 MB / 0.7941 GB, free: 4.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02276/3.702, allocations: 9.681 MB / 0.8035 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/3.723, allocations: 6.356 MB / 0.8097 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002655/3.723, allocations: 52 kB / 0.8098 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.6394/4.363, allocations: 30.22 MB / 0.8393 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003056/4.363, allocations: 90.78 kB / 0.8394 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1101/4.473, allocations: 20.32 MB / 0.8592 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1145/4.588, allocations: 16.53 MB / 0.8754 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01802/4.606, allocations: 2.152 MB / 0.8775 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09842/4.704, allocations: 31.5 MB / 0.9082 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/4.722, allocations: 0.5915 MB / 0.9088 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003143/4.726, allocations: 0.5702 MB / 0.9094 GB, free: 89.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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 (1111): * Single equations (assignments): 1098 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004139/4.73, allocations: 0.5856 MB / 0.9099 GB, free: 89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/4.732, allocations: 0.6286 MB / 0.9105 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04462/4.777, allocations: 9.8 MB / 0.9201 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03852/4.815, allocations: 8.612 MB / 0.9285 GB, free: 70.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.676e-05/4.816, allocations: 20 kB / 0.9285 GB, free: 70.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001387/4.816, allocations: 15.94 kB / 0.9286 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09473/4.91, allocations: 22.27 MB / 0.9503 GB, free: 47.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-05/4.911, allocations: 4 kB / 0.9503 GB, free: 47.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008264/4.919, allocations: 0.5538 MB / 0.9508 GB, free: 47.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.034/4.953, allocations: 3.963 MB / 0.9547 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/4.954, allocations: 51.92 kB / 0.9548 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05943/5.014, allocations: 22.73 MB / 0.977 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003021/5.017, allocations: 2.874 MB / 0.9798 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05455/5.072, allocations: 15.08 MB / 0.9945 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006555/5.078, allocations: 1.313 MB / 0.9958 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002772/5.081, allocations: 35.97 kB / 0.9958 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009959/5.091, allocations: 310.4 kB / 0.9961 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00214/5.093, allocations: 248.8 kB / 0.9963 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001019/5.094, allocations: 97.2 kB / 0.9964 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.468/5.562, allocations: 3.888 MB / 1 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.533e-06/5.562, allocations: 0 / 1 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0172/5.58, allocations: 1.897 MB / 1.002 GB, free: 111.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET7356047753.x[3],$STATESET7356047753.x[2],$STATESET7356047753.x[1],$STATESET7356047752.x[3],$STATESET7356047752.x[2],$STATESET7356047752.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05372/5.633, allocations: 16.03 MB / 1.018 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03301/5.666, allocations: 11.37 MB / 1.029 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/5.666, allocations: 3.281 kB / 1.029 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01526/5.682, allocations: 4.999 MB / 1.034 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/5.692, allocations: 0.8004 MB / 1.035 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/5.77, allocations: 18.21 MB / 1.052 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/5.785, allocations: 5.5 MB / 1.058 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01889/5.804, allocations: 3.172 MB / 1.061 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01139/5.816, allocations: 3.639 MB / 1.064 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.164e-06/5.816, allocations: 0 / 1.064 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9619/6.778, allocations: 168.3 MB / 1.229 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003565/6.778, allocations: 149.4 kB / 1.229 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.14/17.92, allocations: 0 / 1.229 GB, free: 112.1 MB / 0.5105 GB