Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.62e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.467, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.6691, allocations: 110.4 MB / 0.5071 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.6694, allocations: 79.95 kB / 0.5072 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.949/1.618, allocations: 150.3 MB / 0.654 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.619, allocations: 4 kB / 0.654 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007113/1.619, allocations: 144 kB / 0.6541 GB, free: 0.7539 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.05962/1.679, allocations: 8.552 MB / 0.6625 GB, free: 8.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.679, allocations: 11.97 kB / 0.6625 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006083/1.685, allocations: 1.157 MB / 0.6636 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1226/1.808, allocations: 16.68 MB / 0.6799 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05264/1.86, allocations: 12.68 MB / 0.6923 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007694/1.861, allocations: 497.1 kB / 0.6928 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003924/1.865, allocations: 0.6636 MB / 0.6934 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06166/1.927, allocations: 16.72 MB / 0.7097 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006372/1.928, allocations: 111 kB / 0.7099 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003283/1.931, allocations: 315.8 kB / 0.7102 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004135/1.935, allocations: 1.479 MB / 0.7116 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4592/2.394, allocations: 13.21 MB / 0.7245 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.119/2.513, allocations: 76.73 MB / 0.7994 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04654/2.56, allocations: 8.531 MB / 0.8078 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008073/2.568, allocations: 4.084 MB / 0.8118 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/2.571, allocations: 1.354 MB / 0.8131 GB, free: 40 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.551e-05/2.571, allocations: 61.47 kB / 0.8131 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 6.983e-06/2.571, allocations: 0 / 0.8131 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352): time 0.2436/2.815, allocations: 44.71 MB / 0.8568 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002508/2.817, allocations: 3.224 MB / 0.8599 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.833, allocations: 6.452 MB / 0.8662 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/2.834, allocations: 77.7 kB / 0.8663 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004646/2.839, allocations: 4.873 MB / 0.8711 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/2.841, allocations: 1.341 MB / 0.8724 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/2.843, allocations: 187.6 kB / 0.8726 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007851/2.844, allocations: 0.7168 MB / 0.8733 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01424/2.858, allocations: 4.653 MB / 0.8778 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01898/2.877, allocations: 9.718 MB / 0.8873 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/2.894, allocations: 6.536 MB / 0.8937 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002096/2.895, allocations: 52 kB / 0.8937 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1369/3.031, allocations: 30.61 MB / 0.9236 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/3.032, allocations: 88.25 kB / 0.9237 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5165/3.548, allocations: 20.58 MB / 0.9438 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08834/3.637, allocations: 16.59 MB / 0.96 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/3.65, allocations: 2.115 MB / 0.9621 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07608/3.727, allocations: 33.34 MB / 0.9946 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/3.741, allocations: 0.7775 MB / 0.9954 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/3.743, allocations: 0.5618 MB / 0.9959 GB, free: 119.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1079 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004086/3.748, allocations: 0.8092 MB / 0.9967 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/3.75, allocations: 0.6667 MB / 0.9974 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03517/3.785, allocations: 10.15 MB / 1.007 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03008/3.815, allocations: 8.851 MB / 1.016 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.097e-05/3.815, allocations: 14.97 kB / 1.016 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.663e-05/3.815, allocations: 17.7 kB / 1.016 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07161/3.887, allocations: 23.34 MB / 1.039 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-05/3.887, allocations: 0 / 1.039 GB, free: 98.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/3.893, allocations: 0.5638 MB / 1.039 GB, free: 98.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/3.917, allocations: 4.007 MB / 1.043 GB, free: 94.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/3.918, allocations: 107.9 kB / 1.043 GB, free: 94.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0456/3.964, allocations: 23.98 MB / 1.067 GB, free: 69.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002361/3.966, allocations: 2.995 MB / 1.07 GB, free: 66.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04273/4.009, allocations: 15.46 MB / 1.085 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/4.012, allocations: 0.706 MB / 1.085 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002868/4.014, allocations: 91.97 kB / 1.086 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008136/4.023, allocations: 358.3 kB / 1.086 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001694/4.024, allocations: 244.9 kB / 1.086 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007424/4.025, allocations: 95.95 kB / 1.086 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01209/4.037, allocations: 4.611 MB / 1.091 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.052e-06/4.037, allocations: 3.75 kB / 1.091 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01427/4.052, allocations: 2.128 MB / 1.093 GB, free: 43.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (244): * Single equations (assignments): 233 * 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.04425/4.096, allocations: 16.45 MB / 1.109 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02778/4.124, allocations: 11.5 MB / 1.12 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/4.124, allocations: 0 / 1.12 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/4.137, allocations: 5.094 MB / 1.125 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008408/4.145, allocations: 0.9398 MB / 1.126 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4882/4.633, allocations: 19.53 MB / 1.145 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01397/4.647, allocations: 5.504 MB / 1.15 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/4.657, allocations: 3.727 MB / 1.154 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.064e-06/4.658, allocations: 3.375 kB / 1.154 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.024/11.68, allocations: 358.8 MB / 1.504 GB, free: 37.47 MB / 0.573 GB