Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.878e-05, allocations: 7.938 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4147, allocations: 61.86 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.6227, allocations: 110.3 MB / 0.5071 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.6231, allocations: 83.95 kB / 0.5072 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7232/1.346, allocations: 95.53 MB / 0.6004 GB, free: 40.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.346, allocations: 0 / 0.6004 GB, free: 40.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000377/1.347, allocations: 100 kB / 0.6005 GB, free: 40.01 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03267/1.379, allocations: 5.361 MB / 0.6058 GB, free: 34.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.38, allocations: 12.03 kB / 0.6058 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00335/1.383, allocations: 0.8899 MB / 0.6067 GB, free: 33.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.4, allocations: 2.282 MB / 0.6089 GB, free: 31.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.417, allocations: 4.734 MB / 0.6135 GB, free: 26.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003986/1.417, allocations: 381.8 kB / 0.6139 GB, free: 26.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/1.42, allocations: 0.4919 MB / 0.6144 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/1.455, allocations: 12.35 MB / 0.6264 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/1.456, allocations: 63.36 kB / 0.6265 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001512/1.457, allocations: 239.9 kB / 0.6267 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/1.459, allocations: 1.153 MB / 0.6278 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03228/1.492, allocations: 10.47 MB / 0.6381 GB, free: 380 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/1.593, allocations: 54.26 MB / 0.691 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0285/1.621, allocations: 5.037 MB / 0.696 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007146/1.629, allocations: 3.124 MB / 0.699 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002646/1.631, allocations: 0.9988 MB / 0.7 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.037e-05/1.631, allocations: 63.8 kB / 0.7 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 6.733e-06/1.631, allocations: 0 / 0.7 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.4823/2.114, allocations: 20.95 MB / 0.7205 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/2.114, allocations: 157.8 kB / 0.7207 GB, free: 122 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009891/2.124, allocations: 3.894 MB / 0.7245 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007184/2.125, allocations: 57.98 kB / 0.7245 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003109/2.128, allocations: 3.333 MB / 0.7278 GB, free: 120 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/2.129, allocations: 0.8887 MB / 0.7286 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/2.13, allocations: 129.3 kB / 0.7288 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005595/2.131, allocations: 0.5886 MB / 0.7293 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/2.138, allocations: 2.81 MB / 0.7321 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.148, allocations: 6.586 MB / 0.7385 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009706/2.158, allocations: 4.272 MB / 0.7427 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/2.158, allocations: 38.09 kB / 0.7427 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02826/2.186, allocations: 9.771 MB / 0.7523 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/2.187, allocations: 62.84 kB / 0.7523 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/2.187, allocations: 137.5 kB / 0.7524 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/2.192, allocations: 1.133 MB / 0.7536 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.203, allocations: 1.632 MB / 0.7551 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/2.215, allocations: 5.916 MB / 0.7609 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00884/2.224, allocations: 406 kB / 0.7613 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/2.226, allocations: 411.1 kB / 0.7617 GB, free: 110.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 813 * Array equations: 3 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002812/2.229, allocations: 0.6131 MB / 0.7623 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.23, allocations: 395.4 kB / 0.7627 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/2.246, allocations: 5.222 MB / 0.7678 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/2.246, allocations: 23.81 kB / 0.7678 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/2.246, allocations: 6.312 kB / 0.7678 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.129e-05/2.246, allocations: 15.23 kB / 0.7678 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03488/2.281, allocations: 11.57 MB / 0.7791 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/2.281, allocations: 3.938 kB / 0.7791 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/2.286, allocations: 475.5 kB / 0.7796 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/2.291, allocations: 0.9365 MB / 0.7805 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007635/2.292, allocations: 45.92 kB / 0.7805 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/2.303, allocations: 5.645 MB / 0.7861 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.303, allocations: 10.62 kB / 0.7861 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/2.325, allocations: 9.251 MB / 0.7951 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003358/2.328, allocations: 0.8686 MB / 0.7959 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.33, allocations: 42.06 kB / 0.796 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004867/2.335, allocations: 177.6 kB / 0.7962 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/2.336, allocations: 143.7 kB / 0.7963 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004953/2.336, allocations: 63.42 kB / 0.7964 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007273/2.344, allocations: 2.726 MB / 0.799 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/2.344, allocations: 0 / 0.799 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009092/2.353, allocations: 1.198 MB / 0.8002 GB, free: 87.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * Array equations: 3 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02341/2.376, allocations: 10.62 MB / 0.8106 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01621/2.393, allocations: 6.575 MB / 0.817 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/2.393, allocations: 3.562 kB / 0.817 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006423/2.399, allocations: 2.535 MB / 0.8195 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/2.404, allocations: 457.7 kB / 0.8199 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04055/2.444, allocations: 11.78 MB / 0.8314 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008337/2.453, allocations: 3.768 MB / 0.8351 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00642/2.459, allocations: 2.283 MB / 0.8373 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/2.459, allocations: 0 / 0.8373 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.993/7.452, allocations: 115.3 MB / 0.9499 GB, free: 144.2 MB / 0.5417 GB