Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.959e-05, allocations: 4 kB / 347 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4368, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.6359, allocations: 96.23 MB / 0.4933 GB, free: 10.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/0.6363, allocations: 79.95 kB / 0.4934 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7233/1.36, allocations: 92.15 MB / 0.5834 GB, free: 56.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.36, allocations: 0 / 0.5834 GB, free: 56.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003567/1.36, allocations: 92 kB / 0.5835 GB, free: 56.75 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.1208/1.481, allocations: 9.674 MB / 0.5929 GB, free: 47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.481, allocations: 8.031 kB / 0.5929 GB, free: 47 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004145/1.485, allocations: 0.8424 MB / 0.5937 GB, free: 46.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/1.5, allocations: 2.083 MB / 0.5958 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.512, allocations: 3.406 MB / 0.5991 GB, free: 40.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/1.512, allocations: 345.1 kB / 0.5994 GB, free: 40.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/1.516, allocations: 479.7 kB / 0.5999 GB, free: 39.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06535/1.581, allocations: 15.28 MB / 0.6148 GB, free: 23.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003329/1.582, allocations: 71.3 kB / 0.6149 GB, free: 23.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002842/1.584, allocations: 219.9 kB / 0.6151 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004299/1.589, allocations: 1.12 MB / 0.6162 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06389/1.653, allocations: 15 MB / 0.6308 GB, free: 7.062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1213/1.774, allocations: 55.63 MB / 0.6852 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09459/1.869, allocations: 7.196 MB / 0.6922 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007356/1.876, allocations: 2.826 MB / 0.6949 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.892, allocations: 6.559 MB / 0.7014 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.275e-05/1.892, allocations: 59.52 kB / 0.7014 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 5.421e-06/1.892, allocations: 0 / 0.7014 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.008265/1.9, allocations: 2.687 MB / 0.704 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.9, allocations: 149.5 kB / 0.7042 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/1.913, allocations: 4.239 MB / 0.7083 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003968/1.914, allocations: 49.7 kB / 0.7084 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00423/1.918, allocations: 3.484 MB / 0.7118 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.919, allocations: 0.7253 MB / 0.7125 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.921, allocations: 136 kB / 0.7126 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00086/1.921, allocations: 0.588 MB / 0.7132 GB, free: 184 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3882/2.31, allocations: 2.159 MB / 0.7153 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008673/2.318, allocations: 6.383 MB / 0.7215 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008425/2.327, allocations: 3.712 MB / 0.7251 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/2.327, allocations: 43.16 kB / 0.7252 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02123/2.348, allocations: 7.817 MB / 0.7328 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/2.348, allocations: 70.22 kB / 0.7329 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/2.349, allocations: 154.2 kB / 0.733 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/2.349, allocations: 222.4 kB / 0.7332 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/2.359, allocations: 1.619 MB / 0.7348 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002901/2.36, allocations: 301.4 kB / 0.7351 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008567/2.368, allocations: 0.9247 MB / 0.736 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/2.37, allocations: 441.4 kB / 0.7364 GB, free: 125.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001659/2.372, allocations: 0.6317 MB / 0.7371 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.373, allocations: 407.4 kB / 0.7374 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00675/2.379, allocations: 2.519 MB / 0.7399 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/2.38, allocations: 19.75 kB / 0.7399 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/2.38, allocations: 3.969 kB / 0.7399 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/2.38, allocations: 10.84 kB / 0.7399 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/2.392, allocations: 4.29 MB / 0.7441 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/2.392, allocations: 0 / 0.7441 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/2.396, allocations: 344.4 kB / 0.7445 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/2.396, allocations: 7.281 kB / 0.7445 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/2.396, allocations: 36.48 kB / 0.7445 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/2.396, allocations: 11.78 kB / 0.7445 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/2.396, allocations: 3.562 kB / 0.7445 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/2.406, allocations: 4.86 MB / 0.7493 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/2.407, allocations: 0.4894 MB / 0.7497 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/2.409, allocations: 36.69 kB / 0.7498 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/2.412, allocations: 63 kB / 0.7498 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/2.412, allocations: 100.1 kB / 0.7499 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/2.412, allocations: 53.66 kB / 0.75 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00767/2.42, allocations: 2.952 MB / 0.7529 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/2.42, allocations: 0 / 0.7529 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008298/2.428, allocations: 1.344 MB / 0.7542 GB, free: 121.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01052/2.439, allocations: 5.676 MB / 0.7597 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01081/2.45, allocations: 4.736 MB / 0.7643 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/2.45, allocations: 320 / 0.7643 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/2.453, allocations: 1.255 MB / 0.7656 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/2.456, allocations: 480.6 kB / 0.766 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/2.489, allocations: 10.83 MB / 0.7766 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007216/2.496, allocations: 3.684 MB / 0.7802 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00546/2.501, allocations: 2.261 MB / 0.7824 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/2.501, allocations: 0 / 0.7824 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.888/6.389, allocations: 92.3 MB / 0.8725 GB, free: 19.73 MB / 0.5105 GB