Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.617e-05, allocations: 4 kB / 347.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4098, allocations: 61.86 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.6102, allocations: 109.5 MB / 0.5063 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6105, allocations: 83.95 kB / 0.5064 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6591/1.27, allocations: 81.99 MB / 0.5865 GB, free: 54.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.27, allocations: 0 / 0.5865 GB, free: 54.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000241/1.27, allocations: 83.94 kB / 0.5866 GB, free: 54.43 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.0241/1.294, allocations: 4.344 MB / 0.5908 GB, free: 50.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.294, allocations: 8.031 kB / 0.5908 GB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003181/1.297, allocations: 0.7294 MB / 0.5915 GB, free: 49.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/1.314, allocations: 2.182 MB / 0.5936 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/1.33, allocations: 4.274 MB / 0.5978 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/1.33, allocations: 304 kB / 0.5981 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/1.333, allocations: 399.8 kB / 0.5985 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/1.362, allocations: 10.17 MB / 0.6084 GB, free: 30.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/1.362, allocations: 59.47 kB / 0.6085 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/1.364, allocations: 195.9 kB / 0.6087 GB, free: 30.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/1.366, allocations: 0.9552 MB / 0.6096 GB, free: 29.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/1.392, allocations: 8.316 MB / 0.6177 GB, free: 21.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07395/1.466, allocations: 45.89 MB / 0.6625 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01956/1.486, allocations: 3.352 MB / 0.6658 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003901/1.49, allocations: 1.627 MB / 0.6674 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/1.502, allocations: 4.446 MB / 0.6717 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.502, allocations: 51.02 kB / 0.6718 GB, free: 12.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 6.592e-06/1.502, allocations: 0 / 0.6718 GB, free: 12.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.03882/1.541, allocations: 9.017 MB / 0.6806 GB, free: 3.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.541, allocations: 141.3 kB / 0.6807 GB, free: 2.852 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00964/1.551, allocations: 3.529 MB / 0.6842 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.551, allocations: 41.7 kB / 0.6842 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003723/1.555, allocations: 2.957 MB / 0.6871 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.556, allocations: 0.5133 MB / 0.6876 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/1.557, allocations: 111.9 kB / 0.6877 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006177/1.558, allocations: 0.5421 MB / 0.6882 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005276/1.563, allocations: 1.729 MB / 0.6899 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008998/1.572, allocations: 5.277 MB / 0.6951 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007865/1.58, allocations: 3.009 MB / 0.698 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/1.58, allocations: 39.95 kB / 0.6981 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02472/1.605, allocations: 7.015 MB / 0.7049 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.605, allocations: 60 kB / 0.705 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000232/1.605, allocations: 132.2 kB / 0.7051 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004663/1.61, allocations: 0.8983 MB / 0.706 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008542/1.619, allocations: 1.283 MB / 0.7072 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.629, allocations: 4.77 MB / 0.7119 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006276/1.636, allocations: 307.8 kB / 0.7122 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.637, allocations: 359.9 kB / 0.7125 GB, free: 308 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (676): * Single equations (assignments): 672 * 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.4682/2.106, allocations: 0.5274 MB / 0.713 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.107, allocations: 327.2 kB / 0.7133 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/2.121, allocations: 2.473 MB / 0.7158 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.332e-05/2.121, allocations: 17.28 kB / 0.7158 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/2.121, allocations: 7.328 kB / 0.7158 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/2.121, allocations: 3.75 kB / 0.7158 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/2.15, allocations: 6.405 MB / 0.722 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/2.15, allocations: 4.406 kB / 0.722 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/2.153, allocations: 205.9 kB / 0.7222 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005474/2.159, allocations: 0.6952 MB / 0.7229 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/2.159, allocations: 26.08 kB / 0.7229 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/2.172, allocations: 4.327 MB / 0.7272 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/2.172, allocations: 0 / 0.7272 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/2.188, allocations: 4.564 MB / 0.7316 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/2.19, allocations: 392.7 kB / 0.732 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/2.192, allocations: 25.3 kB / 0.732 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004044/2.196, allocations: 84.27 kB / 0.7321 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006868/2.196, allocations: 69.69 kB / 0.7322 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/2.197, allocations: 31.88 kB / 0.7322 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00908/2.206, allocations: 2.453 MB / 0.7346 GB, free: 126 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.41e-07/2.206, allocations: 3.094 kB / 0.7346 GB, free: 126 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01151/2.217, allocations: 0.8922 MB / 0.7355 GB, free: 126 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02445/2.242, allocations: 5.366 MB / 0.7407 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.256, allocations: 4.045 MB / 0.7447 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/2.256, allocations: 3.625 kB / 0.7447 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/2.26, allocations: 1.157 MB / 0.7458 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/2.265, allocations: 386.7 kB / 0.7462 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03971/2.305, allocations: 8.45 MB / 0.7544 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006175/2.311, allocations: 3.191 MB / 0.7575 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003858/2.315, allocations: 1.788 MB / 0.7593 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/2.315, allocations: 3.719 kB / 0.7593 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.171/6.486, allocations: 90.56 MB / 0.8477 GB, free: 43.2 MB / 0.5105 GB